@papyrus-sdk/engine-native 0.2.22-beta.9.epub.1 → 0.2.22-beta.9.epub.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +0 -1
- package/android/src/main/cpp/CMakeLists.txt +0 -137
- package/android/src/main/java/com/papyrus/engine/PapyrusNativeEngineModule.java +35 -305
- package/android/src/main/java/com/papyrus/engine/PapyrusPackage.java +1 -3
- package/android/src/main/java/com/papyrus/engine/PapyrusPdfViewerView.java +5 -195
- package/android/src/main/java/com/papyrus/engine/PapyrusPdfViewerViewManager.java +1 -20
- package/dist/index.d.mts +4 -614
- package/dist/index.d.ts +4 -614
- package/dist/index.js +8 -484
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -477
- package/dist/index.mjs.map +1 -1
- package/ios/PapyrusEngineStore.h +0 -3
- package/ios/PapyrusEngineStore.m +6 -32
- package/ios/PapyrusNativeEngine.m +5 -684
- package/ios/PapyrusNativeEngine.podspec +15 -0
- package/ios/PapyrusPageView.m +11 -38
- package/package.json +8 -10
- package/react-native.config.js +1 -1
- package/PapyrusNativeEngine.podspec +0 -45
- package/android/src/main/cpp/PapyrusComicArchiveJni.cpp +0 -68
- package/android/src/main/cpp/PapyrusComicArchiveTest.cpp +0 -55
- package/android/src/main/cpp/papyrus_outline_loader_test.cpp +0 -240
- package/android/src/main/cpp/papyrus_text_word_test.cpp +0 -72
- package/android/src/main/java/com/papyrus/engine/PapyrusComicArchiveNative.java +0 -14
- package/android/src/main/java/com/papyrus/engine/PapyrusComicDocumentView.java +0 -491
- package/android/src/main/java/com/papyrus/engine/PapyrusComicDocumentViewManager.java +0 -32
- package/android/src/main/java/com/papyrus/engine/PapyrusComicPageLayout.java +0 -38
- package/android/src/main/java/com/papyrus/engine/PapyrusNativeTextModel.java +0 -195
- package/android/src/main/java/com/papyrus/engine/PapyrusSelectionMenuIcon.java +0 -48
- package/android/src/main/java/com/papyrus/engine/PapyrusTextAnnotationModel.java +0 -22
- package/android/src/main/java/com/papyrus/engine/PapyrusTextDocumentView.java +0 -661
- package/android/src/main/java/com/papyrus/engine/PapyrusTextDocumentViewManager.java +0 -49
- package/android/src/main/java/com/papyrus/engine/PapyrusTextStore.java +0 -43
- package/ios/PapyrusComicDocumentView.h +0 -21
- package/ios/PapyrusComicDocumentView.m +0 -554
- package/ios/PapyrusComicDocumentViewManager.m +0 -23
- package/ios/PapyrusPageRotationRegistry.h +0 -29
- package/ios/PapyrusPageRotationRegistry.m +0 -179
- package/ios/PapyrusPdfDocumentView.h +0 -55
- package/ios/PapyrusPdfDocumentView.m +0 -2339
- package/ios/PapyrusPdfDocumentViewManager.m +0 -61
- package/ios/PapyrusPdfPageTheme.h +0 -15
- package/ios/PapyrusPdfPageTheme.m +0 -218
- package/ios/PapyrusSelectionMenu.h +0 -27
- package/ios/PapyrusTextAnnotationRange.h +0 -2
- package/ios/PapyrusTextAnnotationRange.m +0 -29
- package/ios/PapyrusTextDocumentView.h +0 -32
- package/ios/PapyrusTextDocumentView.m +0 -518
- package/ios/PapyrusTextDocumentViewManager.m +0 -34
- package/ios/PapyrusTextStore.h +0 -13
- package/ios/PapyrusTextStore.m +0 -73
- package/third_party_licenses/BLAKE2-NOTICE.txt +0 -11
- package/third_party_licenses/libarchive-COPYING +0 -65
- package/vendor/libarchive/PapyrusComicArchive.cpp +0 -376
- package/vendor/libarchive/PapyrusComicArchive.h +0 -30
- package/vendor/libarchive/README.papyrus.md +0 -15
- package/vendor/libarchive/android.h +0 -192
- package/vendor/libarchive/config/PapyrusArchiveConfig.h +0 -71
- package/vendor/libarchive/libarchive/CMakeLists.txt +0 -293
- package/vendor/libarchive/libarchive/android_lf.h +0 -36
- package/vendor/libarchive/libarchive/archive.h +0 -1266
- package/vendor/libarchive/libarchive/archive_acl.c +0 -2025
- package/vendor/libarchive/libarchive/archive_acl_private.h +0 -85
- package/vendor/libarchive/libarchive/archive_blake2.h +0 -197
- package/vendor/libarchive/libarchive/archive_blake2_impl.h +0 -161
- package/vendor/libarchive/libarchive/archive_blake2s_ref.c +0 -369
- package/vendor/libarchive/libarchive/archive_blake2sp_ref.c +0 -361
- package/vendor/libarchive/libarchive/archive_check_magic.c +0 -183
- package/vendor/libarchive/libarchive/archive_cmdline.c +0 -211
- package/vendor/libarchive/libarchive/archive_cmdline_private.h +0 -45
- package/vendor/libarchive/libarchive/archive_crc32.h +0 -123
- package/vendor/libarchive/libarchive/archive_cryptor.c +0 -534
- package/vendor/libarchive/libarchive/archive_cryptor_private.h +0 -199
- package/vendor/libarchive/libarchive/archive_digest.c +0 -1584
- package/vendor/libarchive/libarchive/archive_digest_private.h +0 -431
- package/vendor/libarchive/libarchive/archive_disk_acl_darwin.c +0 -558
- package/vendor/libarchive/libarchive/archive_disk_acl_freebsd.c +0 -712
- package/vendor/libarchive/libarchive/archive_disk_acl_linux.c +0 -760
- package/vendor/libarchive/libarchive/archive_disk_acl_sunos.c +0 -824
- package/vendor/libarchive/libarchive/archive_endian.h +0 -234
- package/vendor/libarchive/libarchive/archive_entry.3 +0 -147
- package/vendor/libarchive/libarchive/archive_entry.c +0 -2297
- package/vendor/libarchive/libarchive/archive_entry.h +0 -763
- package/vendor/libarchive/libarchive/archive_entry_acl.3 +0 -458
- package/vendor/libarchive/libarchive/archive_entry_copy_bhfi.c +0 -55
- package/vendor/libarchive/libarchive/archive_entry_copy_stat.c +0 -82
- package/vendor/libarchive/libarchive/archive_entry_link_resolver.c +0 -472
- package/vendor/libarchive/libarchive/archive_entry_linkify.3 +0 -224
- package/vendor/libarchive/libarchive/archive_entry_locale.h +0 -90
- package/vendor/libarchive/libarchive/archive_entry_misc.3 +0 -63
- package/vendor/libarchive/libarchive/archive_entry_paths.3 +0 -153
- package/vendor/libarchive/libarchive/archive_entry_perms.3 +0 -210
- package/vendor/libarchive/libarchive/archive_entry_private.h +0 -205
- package/vendor/libarchive/libarchive/archive_entry_sparse.c +0 -156
- package/vendor/libarchive/libarchive/archive_entry_stat.3 +0 -274
- package/vendor/libarchive/libarchive/archive_entry_stat.c +0 -121
- package/vendor/libarchive/libarchive/archive_entry_strmode.c +0 -69
- package/vendor/libarchive/libarchive/archive_entry_time.3 +0 -127
- package/vendor/libarchive/libarchive/archive_entry_xattr.c +0 -155
- package/vendor/libarchive/libarchive/archive_hmac.c +0 -345
- package/vendor/libarchive/libarchive/archive_hmac_private.h +0 -119
- package/vendor/libarchive/libarchive/archive_integer.h +0 -267
- package/vendor/libarchive/libarchive/archive_match.c +0 -1869
- package/vendor/libarchive/libarchive/archive_openssl_evp_private.h +0 -54
- package/vendor/libarchive/libarchive/archive_openssl_hmac_private.h +0 -54
- package/vendor/libarchive/libarchive/archive_options.c +0 -219
- package/vendor/libarchive/libarchive/archive_options_private.h +0 -49
- package/vendor/libarchive/libarchive/archive_pack_dev.c +0 -330
- package/vendor/libarchive/libarchive/archive_pack_dev.h +0 -49
- package/vendor/libarchive/libarchive/archive_parse_date.c +0 -1173
- package/vendor/libarchive/libarchive/archive_pathmatch.c +0 -480
- package/vendor/libarchive/libarchive/archive_pathmatch.h +0 -50
- package/vendor/libarchive/libarchive/archive_platform.h +0 -213
- package/vendor/libarchive/libarchive/archive_platform_acl.h +0 -53
- package/vendor/libarchive/libarchive/archive_platform_stat.h +0 -45
- package/vendor/libarchive/libarchive/archive_platform_xattr.h +0 -45
- package/vendor/libarchive/libarchive/archive_ppmd7.c +0 -1173
- package/vendor/libarchive/libarchive/archive_ppmd7_private.h +0 -119
- package/vendor/libarchive/libarchive/archive_ppmd8.c +0 -1293
- package/vendor/libarchive/libarchive/archive_ppmd8_private.h +0 -123
- package/vendor/libarchive/libarchive/archive_ppmd_private.h +0 -159
- package/vendor/libarchive/libarchive/archive_private.h +0 -209
- package/vendor/libarchive/libarchive/archive_random.c +0 -274
- package/vendor/libarchive/libarchive/archive_random_private.h +0 -36
- package/vendor/libarchive/libarchive/archive_rb.c +0 -709
- package/vendor/libarchive/libarchive/archive_rb.h +0 -113
- package/vendor/libarchive/libarchive/archive_read.3 +0 -250
- package/vendor/libarchive/libarchive/archive_read.c +0 -1814
- package/vendor/libarchive/libarchive/archive_read_add_passphrase.3 +0 -72
- package/vendor/libarchive/libarchive/archive_read_add_passphrase.c +0 -189
- package/vendor/libarchive/libarchive/archive_read_append_filter.c +0 -209
- package/vendor/libarchive/libarchive/archive_read_data.3 +0 -128
- package/vendor/libarchive/libarchive/archive_read_data_into_fd.c +0 -207
- package/vendor/libarchive/libarchive/archive_read_disk.3 +0 -422
- package/vendor/libarchive/libarchive/archive_read_disk_entry_from_file.c +0 -1086
- package/vendor/libarchive/libarchive/archive_read_disk_posix.c +0 -2639
- package/vendor/libarchive/libarchive/archive_read_disk_private.h +0 -97
- package/vendor/libarchive/libarchive/archive_read_disk_set_standard_lookup.c +0 -315
- package/vendor/libarchive/libarchive/archive_read_disk_windows.c +0 -2603
- package/vendor/libarchive/libarchive/archive_read_extract.3 +0 -135
- package/vendor/libarchive/libarchive/archive_read_extract.c +0 -59
- package/vendor/libarchive/libarchive/archive_read_extract2.c +0 -154
- package/vendor/libarchive/libarchive/archive_read_filter.3 +0 -163
- package/vendor/libarchive/libarchive/archive_read_format.3 +0 -190
- package/vendor/libarchive/libarchive/archive_read_free.3 +0 -91
- package/vendor/libarchive/libarchive/archive_read_header.3 +0 -89
- package/vendor/libarchive/libarchive/archive_read_new.3 +0 -57
- package/vendor/libarchive/libarchive/archive_read_open.3 +0 -247
- package/vendor/libarchive/libarchive/archive_read_open_fd.c +0 -236
- package/vendor/libarchive/libarchive/archive_read_open_file.c +0 -257
- package/vendor/libarchive/libarchive/archive_read_open_filename.c +0 -652
- package/vendor/libarchive/libarchive/archive_read_open_memory.c +0 -188
- package/vendor/libarchive/libarchive/archive_read_private.h +0 -274
- package/vendor/libarchive/libarchive/archive_read_set_format.c +0 -116
- package/vendor/libarchive/libarchive/archive_read_set_options.3 +0 -290
- package/vendor/libarchive/libarchive/archive_read_set_options.c +0 -132
- package/vendor/libarchive/libarchive/archive_read_support_filter_all.c +0 -84
- package/vendor/libarchive/libarchive/archive_read_support_filter_by_code.c +0 -68
- package/vendor/libarchive/libarchive/archive_read_support_filter_bzip2.c +0 -360
- package/vendor/libarchive/libarchive/archive_read_support_filter_compress.c +0 -457
- package/vendor/libarchive/libarchive/archive_read_support_filter_grzip.c +0 -108
- package/vendor/libarchive/libarchive/archive_read_support_filter_gzip.c +0 -538
- package/vendor/libarchive/libarchive/archive_read_support_filter_lrzip.c +0 -119
- package/vendor/libarchive/libarchive/archive_read_support_filter_lz4.c +0 -829
- package/vendor/libarchive/libarchive/archive_read_support_filter_lzop.c +0 -493
- package/vendor/libarchive/libarchive/archive_read_support_filter_none.c +0 -51
- package/vendor/libarchive/libarchive/archive_read_support_filter_program.c +0 -497
- package/vendor/libarchive/libarchive/archive_read_support_filter_rpm.c +0 -249
- package/vendor/libarchive/libarchive/archive_read_support_filter_uu.c +0 -739
- package/vendor/libarchive/libarchive/archive_read_support_filter_xz.c +0 -792
- package/vendor/libarchive/libarchive/archive_read_support_filter_zstd.c +0 -356
- package/vendor/libarchive/libarchive/archive_read_support_format_7zip.c +0 -4650
- package/vendor/libarchive/libarchive/archive_read_support_format_all.c +0 -88
- package/vendor/libarchive/libarchive/archive_read_support_format_ar.c +0 -597
- package/vendor/libarchive/libarchive/archive_read_support_format_by_code.c +0 -76
- package/vendor/libarchive/libarchive/archive_read_support_format_cab.c +0 -3410
- package/vendor/libarchive/libarchive/archive_read_support_format_cpio.c +0 -1152
- package/vendor/libarchive/libarchive/archive_read_support_format_empty.c +0 -95
- package/vendor/libarchive/libarchive/archive_read_support_format_iso9660.c +0 -3516
- package/vendor/libarchive/libarchive/archive_read_support_format_lha.c +0 -2931
- package/vendor/libarchive/libarchive/archive_read_support_format_mtree.c +0 -2113
- package/vendor/libarchive/libarchive/archive_read_support_format_rar.c +0 -3932
- package/vendor/libarchive/libarchive/archive_read_support_format_rar5.c +0 -4501
- package/vendor/libarchive/libarchive/archive_read_support_format_raw.c +0 -194
- package/vendor/libarchive/libarchive/archive_read_support_format_tar.c +0 -3785
- package/vendor/libarchive/libarchive/archive_read_support_format_warc.c +0 -875
- package/vendor/libarchive/libarchive/archive_read_support_format_xar.c +0 -3770
- package/vendor/libarchive/libarchive/archive_read_support_format_zip.c +0 -4710
- package/vendor/libarchive/libarchive/archive_string.c +0 -4391
- package/vendor/libarchive/libarchive/archive_string.h +0 -244
- package/vendor/libarchive/libarchive/archive_string_composition.h +0 -2289
- package/vendor/libarchive/libarchive/archive_string_sprintf.c +0 -200
- package/vendor/libarchive/libarchive/archive_time.c +0 -168
- package/vendor/libarchive/libarchive/archive_time_private.h +0 -47
- package/vendor/libarchive/libarchive/archive_util.3 +0 -239
- package/vendor/libarchive/libarchive/archive_util.c +0 -668
- package/vendor/libarchive/libarchive/archive_version_details.c +0 -516
- package/vendor/libarchive/libarchive/archive_virtual.c +0 -162
- package/vendor/libarchive/libarchive/archive_windows.c +0 -1035
- package/vendor/libarchive/libarchive/archive_windows.h +0 -332
- package/vendor/libarchive/libarchive/archive_write.3 +0 -266
- package/vendor/libarchive/libarchive/archive_write.c +0 -896
- package/vendor/libarchive/libarchive/archive_write_add_filter.c +0 -71
- package/vendor/libarchive/libarchive/archive_write_add_filter_b64encode.c +0 -329
- package/vendor/libarchive/libarchive/archive_write_add_filter_by_name.c +0 -76
- package/vendor/libarchive/libarchive/archive_write_add_filter_bzip2.c +0 -411
- package/vendor/libarchive/libarchive/archive_write_add_filter_compress.c +0 -459
- package/vendor/libarchive/libarchive/archive_write_add_filter_grzip.c +0 -143
- package/vendor/libarchive/libarchive/archive_write_add_filter_gzip.c +0 -493
- package/vendor/libarchive/libarchive/archive_write_add_filter_lrzip.c +0 -214
- package/vendor/libarchive/libarchive/archive_write_add_filter_lz4.c +0 -710
- package/vendor/libarchive/libarchive/archive_write_add_filter_lzop.c +0 -500
- package/vendor/libarchive/libarchive/archive_write_add_filter_none.c +0 -42
- package/vendor/libarchive/libarchive/archive_write_add_filter_program.c +0 -398
- package/vendor/libarchive/libarchive/archive_write_add_filter_uuencode.c +0 -320
- package/vendor/libarchive/libarchive/archive_write_add_filter_xz.c +0 -547
- package/vendor/libarchive/libarchive/archive_write_add_filter_zstd.c +0 -608
- package/vendor/libarchive/libarchive/archive_write_blocksize.3 +0 -112
- package/vendor/libarchive/libarchive/archive_write_data.3 +0 -88
- package/vendor/libarchive/libarchive/archive_write_disk.3 +0 -360
- package/vendor/libarchive/libarchive/archive_write_disk_posix.c +0 -4789
- package/vendor/libarchive/libarchive/archive_write_disk_private.h +0 -43
- package/vendor/libarchive/libarchive/archive_write_disk_set_standard_lookup.c +0 -265
- package/vendor/libarchive/libarchive/archive_write_disk_windows.c +0 -2952
- package/vendor/libarchive/libarchive/archive_write_filter.3 +0 -140
- package/vendor/libarchive/libarchive/archive_write_finish_entry.3 +0 -77
- package/vendor/libarchive/libarchive/archive_write_format.3 +0 -187
- package/vendor/libarchive/libarchive/archive_write_free.3 +0 -94
- package/vendor/libarchive/libarchive/archive_write_header.3 +0 -71
- package/vendor/libarchive/libarchive/archive_write_new.3 +0 -56
- package/vendor/libarchive/libarchive/archive_write_open.3 +0 -270
- package/vendor/libarchive/libarchive/archive_write_open_fd.c +0 -141
- package/vendor/libarchive/libarchive/archive_write_open_file.c +0 -102
- package/vendor/libarchive/libarchive/archive_write_open_filename.c +0 -272
- package/vendor/libarchive/libarchive/archive_write_open_memory.c +0 -110
- package/vendor/libarchive/libarchive/archive_write_private.h +0 -166
- package/vendor/libarchive/libarchive/archive_write_set_format.c +0 -124
- package/vendor/libarchive/libarchive/archive_write_set_format_7zip.c +0 -2571
- package/vendor/libarchive/libarchive/archive_write_set_format_ar.c +0 -540
- package/vendor/libarchive/libarchive/archive_write_set_format_by_name.c +0 -93
- package/vendor/libarchive/libarchive/archive_write_set_format_cpio.c +0 -11
- package/vendor/libarchive/libarchive/archive_write_set_format_cpio_binary.c +0 -618
- package/vendor/libarchive/libarchive/archive_write_set_format_cpio_newc.c +0 -457
- package/vendor/libarchive/libarchive/archive_write_set_format_cpio_odc.c +0 -508
- package/vendor/libarchive/libarchive/archive_write_set_format_filter_by_ext.c +0 -141
- package/vendor/libarchive/libarchive/archive_write_set_format_gnutar.c +0 -790
- package/vendor/libarchive/libarchive/archive_write_set_format_iso9660.c +0 -8216
- package/vendor/libarchive/libarchive/archive_write_set_format_mtree.c +0 -2307
- package/vendor/libarchive/libarchive/archive_write_set_format_pax.c +0 -2249
- package/vendor/libarchive/libarchive/archive_write_set_format_private.h +0 -40
- package/vendor/libarchive/libarchive/archive_write_set_format_raw.c +0 -123
- package/vendor/libarchive/libarchive/archive_write_set_format_shar.c +0 -650
- package/vendor/libarchive/libarchive/archive_write_set_format_ustar.c +0 -768
- package/vendor/libarchive/libarchive/archive_write_set_format_v7tar.c +0 -648
- package/vendor/libarchive/libarchive/archive_write_set_format_warc.c +0 -491
- package/vendor/libarchive/libarchive/archive_write_set_format_xar.c +0 -3799
- package/vendor/libarchive/libarchive/archive_write_set_format_zip.c +0 -2548
- package/vendor/libarchive/libarchive/archive_write_set_options.3 +0 -779
- package/vendor/libarchive/libarchive/archive_write_set_options.c +0 -129
- package/vendor/libarchive/libarchive/archive_write_set_passphrase.3 +0 -72
- package/vendor/libarchive/libarchive/archive_write_set_passphrase.c +0 -95
- package/vendor/libarchive/libarchive/archive_xxhash.h +0 -48
- package/vendor/libarchive/libarchive/config_freebsd.h +0 -275
- package/vendor/libarchive/libarchive/cpio.5 +0 -389
- package/vendor/libarchive/libarchive/filter_fork.h +0 -44
- package/vendor/libarchive/libarchive/filter_fork_posix.c +0 -269
- package/vendor/libarchive/libarchive/filter_fork_windows.c +0 -270
- package/vendor/libarchive/libarchive/libarchive-formats.5 +0 -478
- package/vendor/libarchive/libarchive/libarchive.3 +0 -297
- package/vendor/libarchive/libarchive/libarchive_changes.3 +0 -339
- package/vendor/libarchive/libarchive/libarchive_internals.3 +0 -363
- package/vendor/libarchive/libarchive/module.modulemap +0 -34
- package/vendor/libarchive/libarchive/mtree.5 +0 -323
- package/vendor/libarchive/libarchive/tar.5 +0 -947
- package/vendor/libarchive/libarchive/xxhash.c +0 -531
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
.\" Copyright (c) 2003-2011 Tim Kientzle
|
|
2
|
-
.\" All rights reserved.
|
|
3
|
-
.\"
|
|
4
|
-
.\" Redistribution and use in source and binary forms, with or without
|
|
5
|
-
.\" modification, are permitted provided that the following conditions
|
|
6
|
-
.\" are met:
|
|
7
|
-
.\" 1. Redistributions of source code must retain the above copyright
|
|
8
|
-
.\" notice, this list of conditions and the following disclaimer.
|
|
9
|
-
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
10
|
-
.\" notice, this list of conditions and the following disclaimer in the
|
|
11
|
-
.\" documentation and/or other materials provided with the distribution.
|
|
12
|
-
.\"
|
|
13
|
-
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
14
|
-
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
15
|
-
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
16
|
-
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
17
|
-
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
18
|
-
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
19
|
-
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
20
|
-
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
21
|
-
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
22
|
-
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
23
|
-
.\" SUCH DAMAGE.
|
|
24
|
-
.\"
|
|
25
|
-
.Dd August 14, 2014
|
|
26
|
-
.Dt ARCHIVE_WRITE_FILTER 3
|
|
27
|
-
.Os
|
|
28
|
-
.Sh NAME
|
|
29
|
-
.Nm archive_write_add_filter_b64encode ,
|
|
30
|
-
.Nm archive_write_add_filter_by_name ,
|
|
31
|
-
.Nm archive_write_add_filter_bzip2 ,
|
|
32
|
-
.Nm archive_write_add_filter_compress ,
|
|
33
|
-
.Nm archive_write_add_filter_grzip ,
|
|
34
|
-
.Nm archive_write_add_filter_gzip ,
|
|
35
|
-
.Nm archive_write_add_filter_lrzip ,
|
|
36
|
-
.Nm archive_write_add_filter_lz4 ,
|
|
37
|
-
.Nm archive_write_add_filter_lzip ,
|
|
38
|
-
.Nm archive_write_add_filter_lzma ,
|
|
39
|
-
.Nm archive_write_add_filter_lzop ,
|
|
40
|
-
.Nm archive_write_add_filter_none ,
|
|
41
|
-
.Nm archive_write_add_filter_program ,
|
|
42
|
-
.Nm archive_write_add_filter_uuencode ,
|
|
43
|
-
.Nm archive_write_add_filter_xz ,
|
|
44
|
-
.Nm archive_write_add_filter_zstd
|
|
45
|
-
.Nd functions enabling output filters
|
|
46
|
-
.Sh LIBRARY
|
|
47
|
-
Streaming Archive Library (libarchive, -larchive)
|
|
48
|
-
.Sh SYNOPSIS
|
|
49
|
-
.In archive.h
|
|
50
|
-
.Ft int
|
|
51
|
-
.Fn archive_write_add_filter_b64encode "struct archive *"
|
|
52
|
-
.Ft int
|
|
53
|
-
.Fn archive_write_add_filter_by_name "struct archive *" "const char *name"
|
|
54
|
-
.Ft int
|
|
55
|
-
.Fn archive_write_add_filter_bzip2 "struct archive *"
|
|
56
|
-
.Ft int
|
|
57
|
-
.Fn archive_write_add_filter_compress "struct archive *"
|
|
58
|
-
.Ft int
|
|
59
|
-
.Fn archive_write_add_filter_grzip "struct archive *"
|
|
60
|
-
.Ft int
|
|
61
|
-
.Fn archive_write_add_filter_gzip "struct archive *"
|
|
62
|
-
.Ft int
|
|
63
|
-
.Fn archive_write_add_filter_lrzip "struct archive *"
|
|
64
|
-
.Ft int
|
|
65
|
-
.Fn archive_write_add_filter_lz4 "struct archive *"
|
|
66
|
-
.Ft int
|
|
67
|
-
.Fn archive_write_add_filter_lzip "struct archive *"
|
|
68
|
-
.Ft int
|
|
69
|
-
.Fn archive_write_add_filter_lzma "struct archive *"
|
|
70
|
-
.Ft int
|
|
71
|
-
.Fn archive_write_add_filter_lzop "struct archive *"
|
|
72
|
-
.Ft int
|
|
73
|
-
.Fn archive_write_add_filter_none "struct archive *"
|
|
74
|
-
.Ft int
|
|
75
|
-
.Fn archive_write_add_filter_program "struct archive *" "const char * cmd"
|
|
76
|
-
.Ft int
|
|
77
|
-
.Fn archive_write_add_filter_uuencode "struct archive *"
|
|
78
|
-
.Ft int
|
|
79
|
-
.Fn archive_write_add_filter_xz "struct archive *"
|
|
80
|
-
.Ft int
|
|
81
|
-
.Fn archive_write_add_filter_zstd "struct archive *"
|
|
82
|
-
.Sh DESCRIPTION
|
|
83
|
-
.Bl -tag -width indent
|
|
84
|
-
.It Xo
|
|
85
|
-
.Fn archive_write_add_filter_bzip2 ,
|
|
86
|
-
.Fn archive_write_add_filter_compress ,
|
|
87
|
-
.Fn archive_write_add_filter_grzip ,
|
|
88
|
-
.Fn archive_write_add_filter_gzip ,
|
|
89
|
-
.Fn archive_write_add_filter_lrzip ,
|
|
90
|
-
.Fn archive_write_add_filter_lz4 ,
|
|
91
|
-
.Fn archive_write_add_filter_lzip ,
|
|
92
|
-
.Fn archive_write_add_filter_lzma ,
|
|
93
|
-
.Fn archive_write_add_filter_lzop ,
|
|
94
|
-
.Fn archive_write_add_filter_xz ,
|
|
95
|
-
.Fn archive_write_add_filter_zstd ,
|
|
96
|
-
.Xc
|
|
97
|
-
The resulting archive will be compressed as specified.
|
|
98
|
-
Note that the compressed output is always properly blocked.
|
|
99
|
-
.It Xo
|
|
100
|
-
.Fn archive_write_add_filter_b64encode ,
|
|
101
|
-
.Fn archive_write_add_filter_uuencode ,
|
|
102
|
-
.Xc
|
|
103
|
-
The output will be encoded as specified.
|
|
104
|
-
The encoded output is always properly blocked.
|
|
105
|
-
.It Fn archive_write_add_filter_by_name
|
|
106
|
-
Sets the corresponding filter based on the common name.
|
|
107
|
-
.It Fn archive_write_add_filter_none
|
|
108
|
-
This is never necessary.
|
|
109
|
-
It is provided only for backwards compatibility.
|
|
110
|
-
.It Fn archive_write_add_filter_program
|
|
111
|
-
The archive will be fed into the specified compression program.
|
|
112
|
-
The output of that program is blocked and written to the client
|
|
113
|
-
write callbacks.
|
|
114
|
-
.El
|
|
115
|
-
.Sh RETURN VALUES
|
|
116
|
-
These functions return
|
|
117
|
-
.Cm ARCHIVE_OK
|
|
118
|
-
.Po or
|
|
119
|
-
.Cm ARCHIVE_WARN
|
|
120
|
-
if an external program had to be executed to handle the filter
|
|
121
|
-
.Pc
|
|
122
|
-
on success, or
|
|
123
|
-
.Cm ARCHIVE_FATAL .
|
|
124
|
-
.\"
|
|
125
|
-
.Sh ERRORS
|
|
126
|
-
Detailed error codes and textual descriptions are available from the
|
|
127
|
-
.Fn archive_errno
|
|
128
|
-
and
|
|
129
|
-
.Fn archive_error_string
|
|
130
|
-
functions.
|
|
131
|
-
.\"
|
|
132
|
-
.Sh SEE ALSO
|
|
133
|
-
.Xr tar 1 ,
|
|
134
|
-
.Xr archive_write 3 ,
|
|
135
|
-
.Xr archive_write_format 3 ,
|
|
136
|
-
.Xr archive_write_set_options 3 ,
|
|
137
|
-
.Xr libarchive 3 ,
|
|
138
|
-
.Xr cpio 5 ,
|
|
139
|
-
.Xr mtree 5 ,
|
|
140
|
-
.Xr tar 5
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
.\" Copyright (c) 2003-2011 Tim Kientzle
|
|
2
|
-
.\" All rights reserved.
|
|
3
|
-
.\"
|
|
4
|
-
.\" Redistribution and use in source and binary forms, with or without
|
|
5
|
-
.\" modification, are permitted provided that the following conditions
|
|
6
|
-
.\" are met:
|
|
7
|
-
.\" 1. Redistributions of source code must retain the above copyright
|
|
8
|
-
.\" notice, this list of conditions and the following disclaimer.
|
|
9
|
-
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
10
|
-
.\" notice, this list of conditions and the following disclaimer in the
|
|
11
|
-
.\" documentation and/or other materials provided with the distribution.
|
|
12
|
-
.\"
|
|
13
|
-
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
14
|
-
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
15
|
-
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
16
|
-
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
17
|
-
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
18
|
-
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
19
|
-
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
20
|
-
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
21
|
-
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
22
|
-
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
23
|
-
.\" SUCH DAMAGE.
|
|
24
|
-
.\"
|
|
25
|
-
.Dd February 28, 2017
|
|
26
|
-
.Dt ARCHIVE_WRITE_FINISH_ENTRY 3
|
|
27
|
-
.Os
|
|
28
|
-
.Sh NAME
|
|
29
|
-
.Nm archive_write_finish_entry
|
|
30
|
-
.Nd functions for creating archives
|
|
31
|
-
.Sh LIBRARY
|
|
32
|
-
Streaming Archive Library (libarchive, -larchive)
|
|
33
|
-
.Sh SYNOPSIS
|
|
34
|
-
.In archive.h
|
|
35
|
-
.Ft int
|
|
36
|
-
.Fn archive_write_finish_entry "struct archive *"
|
|
37
|
-
.Sh DESCRIPTION
|
|
38
|
-
Close out the entry just written.
|
|
39
|
-
In particular, this writes out the final padding required by some formats.
|
|
40
|
-
Ordinarily, clients never need to call this, as it
|
|
41
|
-
is called automatically by
|
|
42
|
-
.Fn archive_write_header
|
|
43
|
-
and
|
|
44
|
-
.Fn archive_write_close
|
|
45
|
-
as needed.
|
|
46
|
-
For
|
|
47
|
-
.Tn archive_write_disk
|
|
48
|
-
handles, this flushes pending file attribute changes like modification time.
|
|
49
|
-
.\" .Sh EXAMPLE
|
|
50
|
-
.Sh RETURN VALUES
|
|
51
|
-
This function returns
|
|
52
|
-
.Cm ARCHIVE_OK
|
|
53
|
-
on success, or one of several non-zero
|
|
54
|
-
error codes for errors.
|
|
55
|
-
Specific error codes include:
|
|
56
|
-
.Cm ARCHIVE_RETRY
|
|
57
|
-
for operations that might succeed if retried,
|
|
58
|
-
.Cm ARCHIVE_WARN
|
|
59
|
-
for unusual conditions that do not prevent further operations, and
|
|
60
|
-
.Cm ARCHIVE_FATAL
|
|
61
|
-
for serious errors that make remaining operations impossible.
|
|
62
|
-
.\"
|
|
63
|
-
.Sh ERRORS
|
|
64
|
-
Detailed error codes and textual descriptions are available from the
|
|
65
|
-
.Fn archive_errno
|
|
66
|
-
and
|
|
67
|
-
.Fn archive_error_string
|
|
68
|
-
functions.
|
|
69
|
-
.\"
|
|
70
|
-
.Sh SEE ALSO
|
|
71
|
-
.Xr tar 1 ,
|
|
72
|
-
.Xr archive_write_data 3 ,
|
|
73
|
-
.Xr archive_write_set_options 3 ,
|
|
74
|
-
.Xr libarchive 3 ,
|
|
75
|
-
.Xr cpio 5 ,
|
|
76
|
-
.Xr mtree 5 ,
|
|
77
|
-
.Xr tar 5
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
.\" Copyright (c) 2003-2011 Tim Kientzle
|
|
2
|
-
.\" All rights reserved.
|
|
3
|
-
.\"
|
|
4
|
-
.\" Redistribution and use in source and binary forms, with or without
|
|
5
|
-
.\" modification, are permitted provided that the following conditions
|
|
6
|
-
.\" are met:
|
|
7
|
-
.\" 1. Redistributions of source code must retain the above copyright
|
|
8
|
-
.\" notice, this list of conditions and the following disclaimer.
|
|
9
|
-
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
10
|
-
.\" notice, this list of conditions and the following disclaimer in the
|
|
11
|
-
.\" documentation and/or other materials provided with the distribution.
|
|
12
|
-
.\"
|
|
13
|
-
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
14
|
-
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
15
|
-
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
16
|
-
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
17
|
-
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
18
|
-
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
19
|
-
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
20
|
-
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
21
|
-
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
22
|
-
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
23
|
-
.\" SUCH DAMAGE.
|
|
24
|
-
.\"
|
|
25
|
-
.Dd February 14, 2013
|
|
26
|
-
.Dt ARCHIVE_WRITE_FORMAT 3
|
|
27
|
-
.Os
|
|
28
|
-
.Sh NAME
|
|
29
|
-
.Nm archive_write_set_format ,
|
|
30
|
-
.Nm archive_write_set_format_7zip ,
|
|
31
|
-
.Nm archive_write_set_format_ar ,
|
|
32
|
-
.Nm archive_write_set_format_ar_bsd ,
|
|
33
|
-
.Nm archive_write_set_format_ar_svr4 ,
|
|
34
|
-
.Nm archive_write_set_format_by_name ,
|
|
35
|
-
.Nm archive_write_set_format_cpio ,
|
|
36
|
-
.Nm archive_write_set_format_cpio_bin ,
|
|
37
|
-
.Nm archive_write_set_format_cpio_newc ,
|
|
38
|
-
.Nm archive_write_set_format_cpio_odc ,
|
|
39
|
-
.Nm archive_write_set_format_cpio_pwb ,
|
|
40
|
-
.Nm archive_write_set_format_filter_by_ext ,
|
|
41
|
-
.Nm archive_write_set_format_filter_by_ext_def ,
|
|
42
|
-
.Nm archive_write_set_format_gnutar ,
|
|
43
|
-
.Nm archive_write_set_format_iso9660 ,
|
|
44
|
-
.Nm archive_write_set_format_mtree ,
|
|
45
|
-
.Nm archive_write_set_format_mtree_classic ,
|
|
46
|
-
.Nm archive_write_set_format_mtree_default ,
|
|
47
|
-
.Nm archive_write_set_format_pax ,
|
|
48
|
-
.Nm archive_write_set_format_pax_restricted ,
|
|
49
|
-
.Nm archive_write_set_format_raw ,
|
|
50
|
-
.Nm archive_write_set_format_shar ,
|
|
51
|
-
.Nm archive_write_set_format_shar_dump ,
|
|
52
|
-
.Nm archive_write_set_format_ustar ,
|
|
53
|
-
.Nm archive_write_set_format_v7tar ,
|
|
54
|
-
.Nm archive_write_set_format_warc ,
|
|
55
|
-
.Nm archive_write_set_format_xar ,
|
|
56
|
-
.Nm archive_write_set_format_zip
|
|
57
|
-
.Nd functions for creating archives
|
|
58
|
-
.Sh LIBRARY
|
|
59
|
-
Streaming Archive Library (libarchive, -larchive)
|
|
60
|
-
.Sh SYNOPSIS
|
|
61
|
-
.In archive.h
|
|
62
|
-
.Ft int
|
|
63
|
-
.Fn archive_write_set_format "struct archive *" "int code"
|
|
64
|
-
.Ft int
|
|
65
|
-
.Fn archive_write_set_format_7zip "struct archive *"
|
|
66
|
-
.Ft int
|
|
67
|
-
.Fn archive_write_set_format_ar "struct archive *"
|
|
68
|
-
.Ft int
|
|
69
|
-
.Fn archive_write_set_format_ar_bsd "struct archive *"
|
|
70
|
-
.Ft int
|
|
71
|
-
.Fn archive_write_set_format_ar_svr4 "struct archive *"
|
|
72
|
-
.Ft int
|
|
73
|
-
.Fn archive_write_set_format_by_name "struct archive *" "const char *name"
|
|
74
|
-
.Ft int
|
|
75
|
-
.Fn archive_write_set_format_cpio "struct archive *"
|
|
76
|
-
.Ft int
|
|
77
|
-
.Fn archive_write_set_format_cpio_bin "struct archive *"
|
|
78
|
-
.Ft int
|
|
79
|
-
.Fn archive_write_set_format_cpio_newc "struct archive *"
|
|
80
|
-
.Ft int
|
|
81
|
-
.Fn archive_write_set_format_cpio_odc "struct archive *"
|
|
82
|
-
.Ft int
|
|
83
|
-
.Fn archive_write_set_format_cpio_pwb "struct archive *"
|
|
84
|
-
.Ft int
|
|
85
|
-
.Fn archive_write_set_format_filter_by_ext "struct archive *" "const char *filename"
|
|
86
|
-
.Ft int
|
|
87
|
-
.Fn archive_write_set_format_filter_by_ext_def "struct archive *" "const char *filename" "const char *def_ext"
|
|
88
|
-
.Ft int
|
|
89
|
-
.Fn archive_write_set_format_gnutar "struct archive *"
|
|
90
|
-
.Ft int
|
|
91
|
-
.Fn archive_write_set_format_iso9660 "struct archive *"
|
|
92
|
-
.Ft int
|
|
93
|
-
.Fn archive_write_set_format_mtree "struct archive *"
|
|
94
|
-
.Ft int
|
|
95
|
-
.Fn archive_write_set_format_pax "struct archive *"
|
|
96
|
-
.Ft int
|
|
97
|
-
.Fn archive_write_set_format_pax_restricted "struct archive *"
|
|
98
|
-
.Ft int
|
|
99
|
-
.Fn archive_write_set_format_raw "struct archive *"
|
|
100
|
-
.Ft int
|
|
101
|
-
.Fn archive_write_set_format_shar "struct archive *"
|
|
102
|
-
.Ft int
|
|
103
|
-
.Fn archive_write_set_format_shar_dump "struct archive *"
|
|
104
|
-
.Ft int
|
|
105
|
-
.Fn archive_write_set_format_ustar "struct archive *"
|
|
106
|
-
.Ft int
|
|
107
|
-
.Fn archive_write_set_format_v7tar "struct archive *"
|
|
108
|
-
.Ft int
|
|
109
|
-
.Fn archive_write_set_format_warc "struct archive *"
|
|
110
|
-
.Ft int
|
|
111
|
-
.Fn archive_write_set_format_xar "struct archive *"
|
|
112
|
-
.Ft int
|
|
113
|
-
.Fn archive_write_set_format_zip "struct archive *"
|
|
114
|
-
.Sh DESCRIPTION
|
|
115
|
-
These functions set the format that will be used for the archive.
|
|
116
|
-
.Pp
|
|
117
|
-
The library can write a variety of common archive formats.
|
|
118
|
-
.Bl -tag -width indent
|
|
119
|
-
.It Fn archive_write_set_format
|
|
120
|
-
Sets the format based on the format code (see
|
|
121
|
-
.Pa archive.h
|
|
122
|
-
for the full list of format codes).
|
|
123
|
-
In particular, this can be used in conjunction with
|
|
124
|
-
.Fn archive_format
|
|
125
|
-
to create a new archive with the same format as an existing archive.
|
|
126
|
-
.It Fn archive_write_set_format_by_name
|
|
127
|
-
Sets the corresponding format based on the common name.
|
|
128
|
-
.It Xo
|
|
129
|
-
.Fn archive_write_set_format_filter_by_ext
|
|
130
|
-
.Fn archive_write_set_format_filter_by_ext_def
|
|
131
|
-
.Xc
|
|
132
|
-
Sets both filters and format based on the output filename, optionally
|
|
133
|
-
referring to a default extension if the supplied filename does not have a
|
|
134
|
-
known one.
|
|
135
|
-
Supported extensions: .7z, .zip, .jar, .cpio, .iso, .a, .ar, .tar, .tgz, .tar.gz, .tar.bz2, .tar.xz
|
|
136
|
-
.It Xo
|
|
137
|
-
.Fn archive_write_set_format_7zip
|
|
138
|
-
.Fn archive_write_set_format_ar_bsd
|
|
139
|
-
.Fn archive_write_set_format_ar_svr4
|
|
140
|
-
.Fn archive_write_set_format_cpio
|
|
141
|
-
.Fn archive_write_set_format_cpio_bin
|
|
142
|
-
.Fn archive_write_set_format_cpio_newc
|
|
143
|
-
.Fn archive_write_set_format_cpio_odc
|
|
144
|
-
.Fn archive_write_set_format_cpio_pwb
|
|
145
|
-
.Fn archive_write_set_format_gnutar
|
|
146
|
-
.Fn archive_write_set_format_iso9660
|
|
147
|
-
.Fn archive_write_set_format_mtree
|
|
148
|
-
.Fn archive_write_set_format_mtree_classic
|
|
149
|
-
.Fn archive_write_set_format_pax
|
|
150
|
-
.Fn archive_write_set_format_pax_restricted
|
|
151
|
-
.Fn archive_write_set_format_raw
|
|
152
|
-
.Fn archive_write_set_format_shar
|
|
153
|
-
.Fn archive_write_set_format_shar_dump
|
|
154
|
-
.Fn archive_write_set_format_ustar
|
|
155
|
-
.Fn archive_write_set_format_v7tar
|
|
156
|
-
.Fn archive_write_set_format_warc
|
|
157
|
-
.Fn archive_write_set_format_xar
|
|
158
|
-
.Fn archive_write_set_format_zip
|
|
159
|
-
.Xc
|
|
160
|
-
Set the format as specified.
|
|
161
|
-
More details on the formats supported by libarchive can be found in the
|
|
162
|
-
.Xr libarchive-formats 5
|
|
163
|
-
manual page.
|
|
164
|
-
.El
|
|
165
|
-
.\"
|
|
166
|
-
.Sh RETURN VALUES
|
|
167
|
-
These functions return
|
|
168
|
-
.Cm ARCHIVE_OK
|
|
169
|
-
on success, or
|
|
170
|
-
.Cm ARCHIVE_FATAL .
|
|
171
|
-
.\"
|
|
172
|
-
.Sh ERRORS
|
|
173
|
-
Detailed error codes and textual descriptions are available from the
|
|
174
|
-
.Fn archive_errno
|
|
175
|
-
and
|
|
176
|
-
.Fn archive_error_string
|
|
177
|
-
functions.
|
|
178
|
-
.\"
|
|
179
|
-
.Sh SEE ALSO
|
|
180
|
-
.Xr tar 1 ,
|
|
181
|
-
.Xr archive_write 3 ,
|
|
182
|
-
.Xr archive_write_set_options 3 ,
|
|
183
|
-
.Xr libarchive 3 ,
|
|
184
|
-
.Xr cpio 5 ,
|
|
185
|
-
.Xr libarchive-formats 5 ,
|
|
186
|
-
.Xr mtree 5 ,
|
|
187
|
-
.Xr tar 5
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
.\" Copyright (c) 2003-2011 Tim Kientzle
|
|
2
|
-
.\" All rights reserved.
|
|
3
|
-
.\"
|
|
4
|
-
.\" Redistribution and use in source and binary forms, with or without
|
|
5
|
-
.\" modification, are permitted provided that the following conditions
|
|
6
|
-
.\" are met:
|
|
7
|
-
.\" 1. Redistributions of source code must retain the above copyright
|
|
8
|
-
.\" notice, this list of conditions and the following disclaimer.
|
|
9
|
-
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
10
|
-
.\" notice, this list of conditions and the following disclaimer in the
|
|
11
|
-
.\" documentation and/or other materials provided with the distribution.
|
|
12
|
-
.\"
|
|
13
|
-
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
14
|
-
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
15
|
-
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
16
|
-
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
17
|
-
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
18
|
-
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
19
|
-
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
20
|
-
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
21
|
-
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
22
|
-
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
23
|
-
.\" SUCH DAMAGE.
|
|
24
|
-
.\"
|
|
25
|
-
.Dd February 2, 2012
|
|
26
|
-
.Dt ARCHIVE_WRITE_FREE 3
|
|
27
|
-
.Os
|
|
28
|
-
.Sh NAME
|
|
29
|
-
.Nm archive_write_fail ,
|
|
30
|
-
.Nm archive_write_close ,
|
|
31
|
-
.Nm archive_write_finish ,
|
|
32
|
-
.Nm archive_write_free
|
|
33
|
-
.Nd functions for creating archives
|
|
34
|
-
.Sh LIBRARY
|
|
35
|
-
Streaming Archive Library (libarchive, -larchive)
|
|
36
|
-
.Sh SYNOPSIS
|
|
37
|
-
.In archive.h
|
|
38
|
-
.Ft int
|
|
39
|
-
.Fn archive_write_fail "struct archive *"
|
|
40
|
-
.Ft int
|
|
41
|
-
.Fn archive_write_close "struct archive *"
|
|
42
|
-
.Ft int
|
|
43
|
-
.Fn archive_write_finish "struct archive *"
|
|
44
|
-
.Ft int
|
|
45
|
-
.Fn archive_write_free "struct archive *"
|
|
46
|
-
.Sh DESCRIPTION
|
|
47
|
-
.Bl -tag -width indent
|
|
48
|
-
.It Fn archive_write_fail
|
|
49
|
-
Always returns
|
|
50
|
-
.Cm ARCHIVE_FATAL .
|
|
51
|
-
This marks the archive object as being unusable;
|
|
52
|
-
after calling this function, the only call that can succeed is
|
|
53
|
-
.Fn archive_write_free
|
|
54
|
-
to release the resources.
|
|
55
|
-
This can be used to speed recovery when the archive creation
|
|
56
|
-
must be aborted.
|
|
57
|
-
Note that the created archive is likely to be malformed in this case;
|
|
58
|
-
.It Fn archive_write_close
|
|
59
|
-
Complete the archive and invoke the close callback.
|
|
60
|
-
.It Fn archive_write_finish
|
|
61
|
-
This is a deprecated synonym for
|
|
62
|
-
.Fn archive_write_free .
|
|
63
|
-
.It Fn archive_write_free
|
|
64
|
-
Invokes
|
|
65
|
-
.Fn archive_write_close
|
|
66
|
-
if necessary, then releases all resources.
|
|
67
|
-
If you need detailed information about
|
|
68
|
-
.Fn archive_write_close
|
|
69
|
-
failures, you should be careful to call it separately, as
|
|
70
|
-
you cannot obtain error information after
|
|
71
|
-
.Fn archive_write_free
|
|
72
|
-
returns.
|
|
73
|
-
.El
|
|
74
|
-
.\" .Sh EXAMPLE
|
|
75
|
-
.Sh RETURN VALUES
|
|
76
|
-
These functions return
|
|
77
|
-
.Cm ARCHIVE_OK
|
|
78
|
-
on success, or
|
|
79
|
-
.Cm ARCHIVE_FATAL .
|
|
80
|
-
.\"
|
|
81
|
-
.Sh ERRORS
|
|
82
|
-
Detailed error codes and textual descriptions are available from the
|
|
83
|
-
.Fn archive_errno
|
|
84
|
-
and
|
|
85
|
-
.Fn archive_error_string
|
|
86
|
-
functions.
|
|
87
|
-
.\"
|
|
88
|
-
.Sh SEE ALSO
|
|
89
|
-
.Xr tar 1 ,
|
|
90
|
-
.Xr archive_write_set_options 3 ,
|
|
91
|
-
.Xr libarchive 3 ,
|
|
92
|
-
.Xr cpio 5 ,
|
|
93
|
-
.Xr mtree 5 ,
|
|
94
|
-
.Xr tar 5
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
.\" Copyright (c) 2003-2011 Tim Kientzle
|
|
2
|
-
.\" All rights reserved.
|
|
3
|
-
.\"
|
|
4
|
-
.\" Redistribution and use in source and binary forms, with or without
|
|
5
|
-
.\" modification, are permitted provided that the following conditions
|
|
6
|
-
.\" are met:
|
|
7
|
-
.\" 1. Redistributions of source code must retain the above copyright
|
|
8
|
-
.\" notice, this list of conditions and the following disclaimer.
|
|
9
|
-
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
10
|
-
.\" notice, this list of conditions and the following disclaimer in the
|
|
11
|
-
.\" documentation and/or other materials provided with the distribution.
|
|
12
|
-
.\"
|
|
13
|
-
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
14
|
-
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
15
|
-
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
16
|
-
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
17
|
-
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
18
|
-
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
19
|
-
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
20
|
-
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
21
|
-
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
22
|
-
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
23
|
-
.\" SUCH DAMAGE.
|
|
24
|
-
.\"
|
|
25
|
-
.Dd February 2, 2012
|
|
26
|
-
.Dt ARCHIVE_WRITE_HEADER 3
|
|
27
|
-
.Os
|
|
28
|
-
.Sh NAME
|
|
29
|
-
.Nm archive_write_header
|
|
30
|
-
.Nd functions for creating archives
|
|
31
|
-
.Sh LIBRARY
|
|
32
|
-
Streaming Archive Library (libarchive, -larchive)
|
|
33
|
-
.Sh SYNOPSIS
|
|
34
|
-
.In archive.h
|
|
35
|
-
.Ft int
|
|
36
|
-
.Fn archive_write_header "struct archive *" "struct archive_entry *"
|
|
37
|
-
.Sh DESCRIPTION
|
|
38
|
-
Build and write a header using the data in the provided
|
|
39
|
-
.Tn struct archive_entry
|
|
40
|
-
structure.
|
|
41
|
-
See
|
|
42
|
-
.Xr archive_entry 3
|
|
43
|
-
for information on creating and populating
|
|
44
|
-
.Tn struct archive_entry
|
|
45
|
-
objects.
|
|
46
|
-
.\" .Sh EXAMPLE
|
|
47
|
-
.Sh RETURN VALUES
|
|
48
|
-
This function returns
|
|
49
|
-
.Cm ARCHIVE_OK
|
|
50
|
-
on success, or one of the following on error:
|
|
51
|
-
.Cm ARCHIVE_RETRY
|
|
52
|
-
for operations that might succeed if retried,
|
|
53
|
-
.Cm ARCHIVE_WARN
|
|
54
|
-
for unusual conditions that do not prevent further operations, and
|
|
55
|
-
.Cm ARCHIVE_FATAL
|
|
56
|
-
for serious errors that make remaining operations impossible.
|
|
57
|
-
.\"
|
|
58
|
-
.Sh ERRORS
|
|
59
|
-
Detailed error codes and textual descriptions are available from the
|
|
60
|
-
.Fn archive_errno
|
|
61
|
-
and
|
|
62
|
-
.Fn archive_error_string
|
|
63
|
-
functions.
|
|
64
|
-
.\"
|
|
65
|
-
.Sh SEE ALSO
|
|
66
|
-
.Xr tar 1 ,
|
|
67
|
-
.Xr archive_write_set_options 3 ,
|
|
68
|
-
.Xr libarchive 3 ,
|
|
69
|
-
.Xr cpio 5 ,
|
|
70
|
-
.Xr mtree 5 ,
|
|
71
|
-
.Xr tar 5
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
.\" Copyright (c) 2003-2011 Tim Kientzle
|
|
2
|
-
.\" All rights reserved.
|
|
3
|
-
.\"
|
|
4
|
-
.\" Redistribution and use in source and binary forms, with or without
|
|
5
|
-
.\" modification, are permitted provided that the following conditions
|
|
6
|
-
.\" are met:
|
|
7
|
-
.\" 1. Redistributions of source code must retain the above copyright
|
|
8
|
-
.\" notice, this list of conditions and the following disclaimer.
|
|
9
|
-
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
10
|
-
.\" notice, this list of conditions and the following disclaimer in the
|
|
11
|
-
.\" documentation and/or other materials provided with the distribution.
|
|
12
|
-
.\"
|
|
13
|
-
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
14
|
-
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
15
|
-
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
16
|
-
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
17
|
-
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
18
|
-
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
19
|
-
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
20
|
-
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
21
|
-
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
22
|
-
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
23
|
-
.\" SUCH DAMAGE.
|
|
24
|
-
.\"
|
|
25
|
-
.Dd February 2, 2012
|
|
26
|
-
.Dt ARCHIVE_WRITE_NEW 3
|
|
27
|
-
.Os
|
|
28
|
-
.Sh NAME
|
|
29
|
-
.Nm archive_write_new
|
|
30
|
-
.Nd functions for creating archives
|
|
31
|
-
.Sh LIBRARY
|
|
32
|
-
Streaming Archive Library (libarchive, -larchive)
|
|
33
|
-
.Sh SYNOPSIS
|
|
34
|
-
.In archive.h
|
|
35
|
-
.Ft struct archive *
|
|
36
|
-
.Fn archive_write_new "void"
|
|
37
|
-
.Sh DESCRIPTION
|
|
38
|
-
Allocates and initializes a
|
|
39
|
-
.Tn struct archive
|
|
40
|
-
object suitable for writing a tar archive.
|
|
41
|
-
.Dv NULL
|
|
42
|
-
is returned on error.
|
|
43
|
-
.Pp
|
|
44
|
-
A complete description of the
|
|
45
|
-
.Tn struct archive
|
|
46
|
-
object can be found in the overview manual page for
|
|
47
|
-
.Xr libarchive 3 .
|
|
48
|
-
.\" .Sh ERRORS
|
|
49
|
-
.Sh SEE ALSO
|
|
50
|
-
.Xr tar 1 ,
|
|
51
|
-
.Xr archive_write 3 ,
|
|
52
|
-
.Xr archive_write_set_options 3 ,
|
|
53
|
-
.Xr libarchive 3 ,
|
|
54
|
-
.Xr cpio 5 ,
|
|
55
|
-
.Xr mtree 5 ,
|
|
56
|
-
.Xr tar 5
|