@papyrus-sdk/engine-native 0.2.22-beta.2 → 0.2.22-beta.4

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.
Files changed (266) hide show
  1. package/android/build.gradle +1 -0
  2. package/android/src/main/cpp/CMakeLists.txt +137 -0
  3. package/android/src/main/cpp/PapyrusComicArchiveJni.cpp +68 -0
  4. package/android/src/main/cpp/PapyrusComicArchiveTest.cpp +55 -0
  5. package/android/src/main/java/com/papyrus/engine/PapyrusComicArchiveNative.java +14 -0
  6. package/android/src/main/java/com/papyrus/engine/PapyrusComicDocumentView.java +353 -0
  7. package/android/src/main/java/com/papyrus/engine/PapyrusComicDocumentViewManager.java +32 -0
  8. package/android/src/main/java/com/papyrus/engine/PapyrusComicPageLayout.java +17 -0
  9. package/android/src/main/java/com/papyrus/engine/PapyrusNativeEngineModule.java +298 -34
  10. package/android/src/main/java/com/papyrus/engine/PapyrusNativeTextModel.java +195 -0
  11. package/android/src/main/java/com/papyrus/engine/PapyrusPackage.java +3 -1
  12. package/android/src/main/java/com/papyrus/engine/PapyrusPdfViewerView.java +24 -0
  13. package/android/src/main/java/com/papyrus/engine/PapyrusRenderMath.java +9 -0
  14. package/android/src/main/java/com/papyrus/engine/PapyrusTextDocumentView.java +439 -0
  15. package/android/src/main/java/com/papyrus/engine/PapyrusTextDocumentViewManager.java +43 -0
  16. package/android/src/main/java/com/papyrus/engine/PapyrusTextStore.java +43 -0
  17. package/dist/index.d.mts +439 -3
  18. package/dist/index.d.ts +439 -3
  19. package/dist/index.js +412 -4
  20. package/dist/index.js.map +1 -1
  21. package/dist/index.mjs +404 -3
  22. package/dist/index.mjs.map +1 -1
  23. package/ios/PapyrusComicDocumentView.h +21 -0
  24. package/ios/PapyrusComicDocumentView.m +374 -0
  25. package/ios/PapyrusComicDocumentViewManager.m +23 -0
  26. package/ios/PapyrusEngineStore.m +4 -0
  27. package/ios/PapyrusNativeEngine.m +664 -0
  28. package/ios/PapyrusNativeEngine.podspec +26 -1
  29. package/ios/PapyrusPageRotationRegistry.h +29 -0
  30. package/ios/PapyrusPageRotationRegistry.m +179 -0
  31. package/ios/PapyrusPageView.m +38 -11
  32. package/ios/PapyrusPdfDocumentView.h +2 -0
  33. package/ios/PapyrusPdfDocumentView.m +116 -9
  34. package/ios/PapyrusPdfDocumentViewManager.m +2 -0
  35. package/ios/PapyrusPdfPageTheme.h +15 -0
  36. package/ios/PapyrusPdfPageTheme.m +218 -0
  37. package/ios/PapyrusTextDocumentView.h +27 -0
  38. package/ios/PapyrusTextDocumentView.m +299 -0
  39. package/ios/PapyrusTextDocumentViewManager.m +29 -0
  40. package/ios/PapyrusTextStore.h +13 -0
  41. package/ios/PapyrusTextStore.m +73 -0
  42. package/package.json +5 -3
  43. package/third_party_licenses/BLAKE2-NOTICE.txt +11 -0
  44. package/third_party_licenses/libarchive-COPYING +65 -0
  45. package/vendor/libarchive/PapyrusComicArchive.cpp +376 -0
  46. package/vendor/libarchive/PapyrusComicArchive.h +30 -0
  47. package/vendor/libarchive/README.papyrus.md +15 -0
  48. package/vendor/libarchive/android.h +192 -0
  49. package/vendor/libarchive/config/PapyrusArchiveConfig.h +65 -0
  50. package/vendor/libarchive/libarchive/CMakeLists.txt +293 -0
  51. package/vendor/libarchive/libarchive/android_lf.h +36 -0
  52. package/vendor/libarchive/libarchive/archive.h +1266 -0
  53. package/vendor/libarchive/libarchive/archive_acl.c +2025 -0
  54. package/vendor/libarchive/libarchive/archive_acl_private.h +85 -0
  55. package/vendor/libarchive/libarchive/archive_blake2.h +197 -0
  56. package/vendor/libarchive/libarchive/archive_blake2_impl.h +161 -0
  57. package/vendor/libarchive/libarchive/archive_blake2s_ref.c +369 -0
  58. package/vendor/libarchive/libarchive/archive_blake2sp_ref.c +361 -0
  59. package/vendor/libarchive/libarchive/archive_check_magic.c +183 -0
  60. package/vendor/libarchive/libarchive/archive_cmdline.c +211 -0
  61. package/vendor/libarchive/libarchive/archive_cmdline_private.h +45 -0
  62. package/vendor/libarchive/libarchive/archive_crc32.h +123 -0
  63. package/vendor/libarchive/libarchive/archive_cryptor.c +534 -0
  64. package/vendor/libarchive/libarchive/archive_cryptor_private.h +199 -0
  65. package/vendor/libarchive/libarchive/archive_digest.c +1584 -0
  66. package/vendor/libarchive/libarchive/archive_digest_private.h +431 -0
  67. package/vendor/libarchive/libarchive/archive_disk_acl_darwin.c +558 -0
  68. package/vendor/libarchive/libarchive/archive_disk_acl_freebsd.c +712 -0
  69. package/vendor/libarchive/libarchive/archive_disk_acl_linux.c +760 -0
  70. package/vendor/libarchive/libarchive/archive_disk_acl_sunos.c +824 -0
  71. package/vendor/libarchive/libarchive/archive_endian.h +234 -0
  72. package/vendor/libarchive/libarchive/archive_entry.3 +147 -0
  73. package/vendor/libarchive/libarchive/archive_entry.c +2297 -0
  74. package/vendor/libarchive/libarchive/archive_entry.h +763 -0
  75. package/vendor/libarchive/libarchive/archive_entry_acl.3 +458 -0
  76. package/vendor/libarchive/libarchive/archive_entry_copy_bhfi.c +55 -0
  77. package/vendor/libarchive/libarchive/archive_entry_copy_stat.c +82 -0
  78. package/vendor/libarchive/libarchive/archive_entry_link_resolver.c +472 -0
  79. package/vendor/libarchive/libarchive/archive_entry_linkify.3 +224 -0
  80. package/vendor/libarchive/libarchive/archive_entry_locale.h +90 -0
  81. package/vendor/libarchive/libarchive/archive_entry_misc.3 +63 -0
  82. package/vendor/libarchive/libarchive/archive_entry_paths.3 +153 -0
  83. package/vendor/libarchive/libarchive/archive_entry_perms.3 +210 -0
  84. package/vendor/libarchive/libarchive/archive_entry_private.h +205 -0
  85. package/vendor/libarchive/libarchive/archive_entry_sparse.c +156 -0
  86. package/vendor/libarchive/libarchive/archive_entry_stat.3 +274 -0
  87. package/vendor/libarchive/libarchive/archive_entry_stat.c +121 -0
  88. package/vendor/libarchive/libarchive/archive_entry_strmode.c +69 -0
  89. package/vendor/libarchive/libarchive/archive_entry_time.3 +127 -0
  90. package/vendor/libarchive/libarchive/archive_entry_xattr.c +155 -0
  91. package/vendor/libarchive/libarchive/archive_hmac.c +345 -0
  92. package/vendor/libarchive/libarchive/archive_hmac_private.h +119 -0
  93. package/vendor/libarchive/libarchive/archive_integer.h +267 -0
  94. package/vendor/libarchive/libarchive/archive_match.c +1869 -0
  95. package/vendor/libarchive/libarchive/archive_openssl_evp_private.h +54 -0
  96. package/vendor/libarchive/libarchive/archive_openssl_hmac_private.h +54 -0
  97. package/vendor/libarchive/libarchive/archive_options.c +219 -0
  98. package/vendor/libarchive/libarchive/archive_options_private.h +49 -0
  99. package/vendor/libarchive/libarchive/archive_pack_dev.c +330 -0
  100. package/vendor/libarchive/libarchive/archive_pack_dev.h +49 -0
  101. package/vendor/libarchive/libarchive/archive_parse_date.c +1173 -0
  102. package/vendor/libarchive/libarchive/archive_pathmatch.c +480 -0
  103. package/vendor/libarchive/libarchive/archive_pathmatch.h +50 -0
  104. package/vendor/libarchive/libarchive/archive_platform.h +213 -0
  105. package/vendor/libarchive/libarchive/archive_platform_acl.h +53 -0
  106. package/vendor/libarchive/libarchive/archive_platform_stat.h +45 -0
  107. package/vendor/libarchive/libarchive/archive_platform_xattr.h +45 -0
  108. package/vendor/libarchive/libarchive/archive_ppmd7.c +1173 -0
  109. package/vendor/libarchive/libarchive/archive_ppmd7_private.h +119 -0
  110. package/vendor/libarchive/libarchive/archive_ppmd8.c +1293 -0
  111. package/vendor/libarchive/libarchive/archive_ppmd8_private.h +123 -0
  112. package/vendor/libarchive/libarchive/archive_ppmd_private.h +159 -0
  113. package/vendor/libarchive/libarchive/archive_private.h +209 -0
  114. package/vendor/libarchive/libarchive/archive_random.c +274 -0
  115. package/vendor/libarchive/libarchive/archive_random_private.h +36 -0
  116. package/vendor/libarchive/libarchive/archive_rb.c +709 -0
  117. package/vendor/libarchive/libarchive/archive_rb.h +113 -0
  118. package/vendor/libarchive/libarchive/archive_read.3 +250 -0
  119. package/vendor/libarchive/libarchive/archive_read.c +1814 -0
  120. package/vendor/libarchive/libarchive/archive_read_add_passphrase.3 +72 -0
  121. package/vendor/libarchive/libarchive/archive_read_add_passphrase.c +189 -0
  122. package/vendor/libarchive/libarchive/archive_read_append_filter.c +209 -0
  123. package/vendor/libarchive/libarchive/archive_read_data.3 +128 -0
  124. package/vendor/libarchive/libarchive/archive_read_data_into_fd.c +207 -0
  125. package/vendor/libarchive/libarchive/archive_read_disk.3 +422 -0
  126. package/vendor/libarchive/libarchive/archive_read_disk_entry_from_file.c +1086 -0
  127. package/vendor/libarchive/libarchive/archive_read_disk_posix.c +2639 -0
  128. package/vendor/libarchive/libarchive/archive_read_disk_private.h +97 -0
  129. package/vendor/libarchive/libarchive/archive_read_disk_set_standard_lookup.c +315 -0
  130. package/vendor/libarchive/libarchive/archive_read_disk_windows.c +2603 -0
  131. package/vendor/libarchive/libarchive/archive_read_extract.3 +135 -0
  132. package/vendor/libarchive/libarchive/archive_read_extract.c +59 -0
  133. package/vendor/libarchive/libarchive/archive_read_extract2.c +154 -0
  134. package/vendor/libarchive/libarchive/archive_read_filter.3 +163 -0
  135. package/vendor/libarchive/libarchive/archive_read_format.3 +190 -0
  136. package/vendor/libarchive/libarchive/archive_read_free.3 +91 -0
  137. package/vendor/libarchive/libarchive/archive_read_header.3 +89 -0
  138. package/vendor/libarchive/libarchive/archive_read_new.3 +57 -0
  139. package/vendor/libarchive/libarchive/archive_read_open.3 +247 -0
  140. package/vendor/libarchive/libarchive/archive_read_open_fd.c +236 -0
  141. package/vendor/libarchive/libarchive/archive_read_open_file.c +257 -0
  142. package/vendor/libarchive/libarchive/archive_read_open_filename.c +652 -0
  143. package/vendor/libarchive/libarchive/archive_read_open_memory.c +188 -0
  144. package/vendor/libarchive/libarchive/archive_read_private.h +274 -0
  145. package/vendor/libarchive/libarchive/archive_read_set_format.c +116 -0
  146. package/vendor/libarchive/libarchive/archive_read_set_options.3 +290 -0
  147. package/vendor/libarchive/libarchive/archive_read_set_options.c +132 -0
  148. package/vendor/libarchive/libarchive/archive_read_support_filter_all.c +84 -0
  149. package/vendor/libarchive/libarchive/archive_read_support_filter_by_code.c +68 -0
  150. package/vendor/libarchive/libarchive/archive_read_support_filter_bzip2.c +360 -0
  151. package/vendor/libarchive/libarchive/archive_read_support_filter_compress.c +457 -0
  152. package/vendor/libarchive/libarchive/archive_read_support_filter_grzip.c +108 -0
  153. package/vendor/libarchive/libarchive/archive_read_support_filter_gzip.c +538 -0
  154. package/vendor/libarchive/libarchive/archive_read_support_filter_lrzip.c +119 -0
  155. package/vendor/libarchive/libarchive/archive_read_support_filter_lz4.c +829 -0
  156. package/vendor/libarchive/libarchive/archive_read_support_filter_lzop.c +493 -0
  157. package/vendor/libarchive/libarchive/archive_read_support_filter_none.c +51 -0
  158. package/vendor/libarchive/libarchive/archive_read_support_filter_program.c +497 -0
  159. package/vendor/libarchive/libarchive/archive_read_support_filter_rpm.c +249 -0
  160. package/vendor/libarchive/libarchive/archive_read_support_filter_uu.c +739 -0
  161. package/vendor/libarchive/libarchive/archive_read_support_filter_xz.c +792 -0
  162. package/vendor/libarchive/libarchive/archive_read_support_filter_zstd.c +356 -0
  163. package/vendor/libarchive/libarchive/archive_read_support_format_7zip.c +4650 -0
  164. package/vendor/libarchive/libarchive/archive_read_support_format_all.c +88 -0
  165. package/vendor/libarchive/libarchive/archive_read_support_format_ar.c +597 -0
  166. package/vendor/libarchive/libarchive/archive_read_support_format_by_code.c +76 -0
  167. package/vendor/libarchive/libarchive/archive_read_support_format_cab.c +3410 -0
  168. package/vendor/libarchive/libarchive/archive_read_support_format_cpio.c +1152 -0
  169. package/vendor/libarchive/libarchive/archive_read_support_format_empty.c +95 -0
  170. package/vendor/libarchive/libarchive/archive_read_support_format_iso9660.c +3516 -0
  171. package/vendor/libarchive/libarchive/archive_read_support_format_lha.c +2931 -0
  172. package/vendor/libarchive/libarchive/archive_read_support_format_mtree.c +2113 -0
  173. package/vendor/libarchive/libarchive/archive_read_support_format_rar.c +3932 -0
  174. package/vendor/libarchive/libarchive/archive_read_support_format_rar5.c +4501 -0
  175. package/vendor/libarchive/libarchive/archive_read_support_format_raw.c +194 -0
  176. package/vendor/libarchive/libarchive/archive_read_support_format_tar.c +3785 -0
  177. package/vendor/libarchive/libarchive/archive_read_support_format_warc.c +875 -0
  178. package/vendor/libarchive/libarchive/archive_read_support_format_xar.c +3770 -0
  179. package/vendor/libarchive/libarchive/archive_read_support_format_zip.c +4710 -0
  180. package/vendor/libarchive/libarchive/archive_string.c +4391 -0
  181. package/vendor/libarchive/libarchive/archive_string.h +244 -0
  182. package/vendor/libarchive/libarchive/archive_string_composition.h +2289 -0
  183. package/vendor/libarchive/libarchive/archive_string_sprintf.c +200 -0
  184. package/vendor/libarchive/libarchive/archive_time.c +168 -0
  185. package/vendor/libarchive/libarchive/archive_time_private.h +47 -0
  186. package/vendor/libarchive/libarchive/archive_util.3 +239 -0
  187. package/vendor/libarchive/libarchive/archive_util.c +668 -0
  188. package/vendor/libarchive/libarchive/archive_version_details.c +516 -0
  189. package/vendor/libarchive/libarchive/archive_virtual.c +162 -0
  190. package/vendor/libarchive/libarchive/archive_windows.c +1035 -0
  191. package/vendor/libarchive/libarchive/archive_windows.h +332 -0
  192. package/vendor/libarchive/libarchive/archive_write.3 +266 -0
  193. package/vendor/libarchive/libarchive/archive_write.c +896 -0
  194. package/vendor/libarchive/libarchive/archive_write_add_filter.c +71 -0
  195. package/vendor/libarchive/libarchive/archive_write_add_filter_b64encode.c +329 -0
  196. package/vendor/libarchive/libarchive/archive_write_add_filter_by_name.c +76 -0
  197. package/vendor/libarchive/libarchive/archive_write_add_filter_bzip2.c +411 -0
  198. package/vendor/libarchive/libarchive/archive_write_add_filter_compress.c +459 -0
  199. package/vendor/libarchive/libarchive/archive_write_add_filter_grzip.c +143 -0
  200. package/vendor/libarchive/libarchive/archive_write_add_filter_gzip.c +493 -0
  201. package/vendor/libarchive/libarchive/archive_write_add_filter_lrzip.c +214 -0
  202. package/vendor/libarchive/libarchive/archive_write_add_filter_lz4.c +710 -0
  203. package/vendor/libarchive/libarchive/archive_write_add_filter_lzop.c +500 -0
  204. package/vendor/libarchive/libarchive/archive_write_add_filter_none.c +42 -0
  205. package/vendor/libarchive/libarchive/archive_write_add_filter_program.c +398 -0
  206. package/vendor/libarchive/libarchive/archive_write_add_filter_uuencode.c +320 -0
  207. package/vendor/libarchive/libarchive/archive_write_add_filter_xz.c +547 -0
  208. package/vendor/libarchive/libarchive/archive_write_add_filter_zstd.c +608 -0
  209. package/vendor/libarchive/libarchive/archive_write_blocksize.3 +112 -0
  210. package/vendor/libarchive/libarchive/archive_write_data.3 +88 -0
  211. package/vendor/libarchive/libarchive/archive_write_disk.3 +360 -0
  212. package/vendor/libarchive/libarchive/archive_write_disk_posix.c +4789 -0
  213. package/vendor/libarchive/libarchive/archive_write_disk_private.h +43 -0
  214. package/vendor/libarchive/libarchive/archive_write_disk_set_standard_lookup.c +265 -0
  215. package/vendor/libarchive/libarchive/archive_write_disk_windows.c +2952 -0
  216. package/vendor/libarchive/libarchive/archive_write_filter.3 +140 -0
  217. package/vendor/libarchive/libarchive/archive_write_finish_entry.3 +77 -0
  218. package/vendor/libarchive/libarchive/archive_write_format.3 +187 -0
  219. package/vendor/libarchive/libarchive/archive_write_free.3 +94 -0
  220. package/vendor/libarchive/libarchive/archive_write_header.3 +71 -0
  221. package/vendor/libarchive/libarchive/archive_write_new.3 +56 -0
  222. package/vendor/libarchive/libarchive/archive_write_open.3 +270 -0
  223. package/vendor/libarchive/libarchive/archive_write_open_fd.c +141 -0
  224. package/vendor/libarchive/libarchive/archive_write_open_file.c +102 -0
  225. package/vendor/libarchive/libarchive/archive_write_open_filename.c +272 -0
  226. package/vendor/libarchive/libarchive/archive_write_open_memory.c +110 -0
  227. package/vendor/libarchive/libarchive/archive_write_private.h +166 -0
  228. package/vendor/libarchive/libarchive/archive_write_set_format.c +124 -0
  229. package/vendor/libarchive/libarchive/archive_write_set_format_7zip.c +2571 -0
  230. package/vendor/libarchive/libarchive/archive_write_set_format_ar.c +540 -0
  231. package/vendor/libarchive/libarchive/archive_write_set_format_by_name.c +93 -0
  232. package/vendor/libarchive/libarchive/archive_write_set_format_cpio.c +11 -0
  233. package/vendor/libarchive/libarchive/archive_write_set_format_cpio_binary.c +618 -0
  234. package/vendor/libarchive/libarchive/archive_write_set_format_cpio_newc.c +457 -0
  235. package/vendor/libarchive/libarchive/archive_write_set_format_cpio_odc.c +508 -0
  236. package/vendor/libarchive/libarchive/archive_write_set_format_filter_by_ext.c +141 -0
  237. package/vendor/libarchive/libarchive/archive_write_set_format_gnutar.c +790 -0
  238. package/vendor/libarchive/libarchive/archive_write_set_format_iso9660.c +8216 -0
  239. package/vendor/libarchive/libarchive/archive_write_set_format_mtree.c +2307 -0
  240. package/vendor/libarchive/libarchive/archive_write_set_format_pax.c +2249 -0
  241. package/vendor/libarchive/libarchive/archive_write_set_format_private.h +40 -0
  242. package/vendor/libarchive/libarchive/archive_write_set_format_raw.c +123 -0
  243. package/vendor/libarchive/libarchive/archive_write_set_format_shar.c +650 -0
  244. package/vendor/libarchive/libarchive/archive_write_set_format_ustar.c +768 -0
  245. package/vendor/libarchive/libarchive/archive_write_set_format_v7tar.c +648 -0
  246. package/vendor/libarchive/libarchive/archive_write_set_format_warc.c +491 -0
  247. package/vendor/libarchive/libarchive/archive_write_set_format_xar.c +3799 -0
  248. package/vendor/libarchive/libarchive/archive_write_set_format_zip.c +2548 -0
  249. package/vendor/libarchive/libarchive/archive_write_set_options.3 +779 -0
  250. package/vendor/libarchive/libarchive/archive_write_set_options.c +129 -0
  251. package/vendor/libarchive/libarchive/archive_write_set_passphrase.3 +72 -0
  252. package/vendor/libarchive/libarchive/archive_write_set_passphrase.c +95 -0
  253. package/vendor/libarchive/libarchive/archive_xxhash.h +48 -0
  254. package/vendor/libarchive/libarchive/config_freebsd.h +275 -0
  255. package/vendor/libarchive/libarchive/cpio.5 +389 -0
  256. package/vendor/libarchive/libarchive/filter_fork.h +44 -0
  257. package/vendor/libarchive/libarchive/filter_fork_posix.c +269 -0
  258. package/vendor/libarchive/libarchive/filter_fork_windows.c +270 -0
  259. package/vendor/libarchive/libarchive/libarchive-formats.5 +478 -0
  260. package/vendor/libarchive/libarchive/libarchive.3 +297 -0
  261. package/vendor/libarchive/libarchive/libarchive_changes.3 +339 -0
  262. package/vendor/libarchive/libarchive/libarchive_internals.3 +363 -0
  263. package/vendor/libarchive/libarchive/module.modulemap +34 -0
  264. package/vendor/libarchive/libarchive/mtree.5 +323 -0
  265. package/vendor/libarchive/libarchive/tar.5 +947 -0
  266. package/vendor/libarchive/libarchive/xxhash.c +531 -0
@@ -0,0 +1,297 @@
1
+ .\" Copyright (c) 2003-2007 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 March 18, 2012
26
+ .Dt LIBARCHIVE 3
27
+ .Os
28
+ .Sh NAME
29
+ .Nm libarchive
30
+ .Nd functions for reading and writing streaming archives
31
+ .Sh OVERVIEW
32
+ The
33
+ .Nm
34
+ library provides a flexible interface for reading and writing
35
+ archives in various formats such as tar and cpio.
36
+ .Nm
37
+ also supports reading and writing archives compressed using
38
+ various compression filters such as gzip and bzip2.
39
+ The library is inherently stream-oriented; readers serially iterate through
40
+ the archive, writers serially add things to the archive.
41
+ In particular, note that there is currently no built-in support for
42
+ random access nor for in-place modification.
43
+ .Pp
44
+ When reading an archive, the library automatically detects the
45
+ format and the compression.
46
+ The library currently has read support for:
47
+ .Bl -bullet -compact
48
+ .It
49
+ old-style tar archives,
50
+ .It
51
+ most variants of the POSIX
52
+ .Dq ustar
53
+ format,
54
+ .It
55
+ the POSIX
56
+ .Dq pax interchange
57
+ format,
58
+ .It
59
+ GNU-format tar archives,
60
+ .It
61
+ most common cpio archive formats,
62
+ .It
63
+ 7-Zip archives,
64
+ .It
65
+ ar archives (including GNU/SysV and BSD extensions),
66
+ .It
67
+ Microsoft CAB archives,
68
+ .It
69
+ ISO9660 CD images (including RockRidge and Joliet extensions),
70
+ .It
71
+ LHA archives,
72
+ .It
73
+ mtree file tree descriptions,
74
+ .It
75
+ RAR and most RAR5 archives,
76
+ .It
77
+ WARC archives,
78
+ .It
79
+ XAR archives,
80
+ .It
81
+ Zip archives.
82
+ .El
83
+ The library automatically detects archives compressed with
84
+ .Xr compress 1 ,
85
+ .Xr bzip2 1 ,
86
+ .Xr grzip 1 ,
87
+ .Xr gzip 1 ,
88
+ .Xr lrzip 1 ,
89
+ .Xr lz4 1 ,
90
+ .Xr lzip 1 ,
91
+ .Xr lzop 1 ,
92
+ .Xr xz 1 ,
93
+ or
94
+ .Xr zstd 1
95
+ and decompresses them transparently. Decompression of some formats
96
+ requires external decompressor utilities.
97
+ It can similarly detect and decode archives processed with
98
+ .Xr uuencode 1
99
+ or which have an
100
+ .Xr rpm 1
101
+ header.
102
+ .Pp
103
+ When writing an archive, you can specify the compression
104
+ to be used and the format to use.
105
+ The library can write
106
+ .Bl -bullet -compact
107
+ .It
108
+ POSIX-standard
109
+ .Dq ustar
110
+ archives,
111
+ .It
112
+ POSIX
113
+ .Dq pax interchange format
114
+ archives,
115
+ .It
116
+ cpio archives,
117
+ .It
118
+ 7-Zip archives,
119
+ .It
120
+ ar archives,
121
+ .It
122
+ two different variants of shar archives,
123
+ .It
124
+ ISO9660 CD images,
125
+ .It
126
+ mtree file tree descriptions,
127
+ .It
128
+ XAR archives,
129
+ .It
130
+ Zip archive.
131
+ .El
132
+ Pax interchange format is an extension of the tar archive format that
133
+ eliminates essentially all of the limitations of historic tar formats
134
+ in a standard fashion that is supported
135
+ by POSIX-compliant
136
+ .Xr pax 1
137
+ implementations on many systems as well as several newer implementations of
138
+ .Xr tar 1 .
139
+ Note that the default write format will suppress the pax extended
140
+ attributes for most entries; explicitly requesting pax format will
141
+ enable those attributes for all entries.
142
+ .Pp
143
+ The read and write APIs are accessed through the
144
+ .Fn archive_read_XXX
145
+ functions and the
146
+ .Fn archive_write_XXX
147
+ functions, respectively, and either can be used independently
148
+ of the other.
149
+ .Pp
150
+ The rest of this manual page provides an overview of the library
151
+ operation.
152
+ More detailed information can be found in the individual manual
153
+ pages for each API or utility function.
154
+ .\"
155
+ .Sh READING AN ARCHIVE
156
+ See
157
+ .Xr archive_read 3 .
158
+ .\"
159
+ .Sh WRITING AN ARCHIVE
160
+ See
161
+ .Xr archive_write 3 .
162
+ .\"
163
+ .Sh WRITING ENTRIES TO DISK
164
+ The
165
+ .Xr archive_write_disk 3
166
+ API allows you to write
167
+ .Xr archive_entry 3
168
+ objects to disk using the same API used by
169
+ .Xr archive_write 3 .
170
+ The
171
+ .Xr archive_write_disk 3
172
+ API is used internally by
173
+ .Fn archive_read_extract ;
174
+ using it directly can provide greater control over how entries
175
+ get written to disk.
176
+ This API also makes it possible to share code between
177
+ archive-to-archive copy and archive-to-disk extraction
178
+ operations.
179
+ .Sh READING ENTRIES FROM DISK
180
+ The
181
+ .Xr archive_read_disk 3
182
+ supports for populating
183
+ .Xr archive_entry 3
184
+ objects from information in the filesystem.
185
+ This includes the information accessible from the
186
+ .Xr stat 2
187
+ system call as well as ACLs, extended attributes,
188
+ and other metadata.
189
+ The
190
+ .Xr archive_read_disk 3
191
+ API also supports iterating over directory trees,
192
+ which allows directories of files to be read using
193
+ an API compatible with
194
+ the
195
+ .Xr archive_read 3
196
+ API.
197
+ .Sh DESCRIPTION
198
+ Detailed descriptions of each function are provided by the
199
+ corresponding manual pages.
200
+ .Pp
201
+ All of the functions utilize an opaque
202
+ .Tn struct archive
203
+ datatype that provides access to the archive contents.
204
+ .Pp
205
+ The
206
+ .Tn struct archive_entry
207
+ structure contains a complete description of a single archive
208
+ entry.
209
+ It uses an opaque interface that is fully documented in
210
+ .Xr archive_entry 3 .
211
+ .Pp
212
+ Users familiar with historic formats should be aware that the newer
213
+ variants have eliminated most restrictions on the length of textual fields.
214
+ Clients should not assume that filenames, link names, user names, or
215
+ group names are limited in length.
216
+ In particular, pax interchange format can easily accommodate pathnames
217
+ in arbitrary character sets that exceed
218
+ .Va PATH_MAX .
219
+ .Sh RETURN VALUES
220
+ Most functions return
221
+ .Cm ARCHIVE_OK
222
+ (zero) on success, non-zero on error.
223
+ The return value indicates the general severity of the error, ranging
224
+ from
225
+ .Cm ARCHIVE_WARN ,
226
+ which indicates a minor problem that should probably be reported
227
+ to the user, to
228
+ .Cm ARCHIVE_FATAL ,
229
+ which indicates a serious problem that will prevent any further
230
+ operations on this archive.
231
+ On error, the
232
+ .Fn archive_errno
233
+ function can be used to retrieve a numeric error code (see
234
+ .Xr errno 2 ) .
235
+ The
236
+ .Fn archive_error_string
237
+ returns a textual error message suitable for display.
238
+ .Pp
239
+ .Fn archive_read_new
240
+ and
241
+ .Fn archive_write_new
242
+ return pointers to an allocated and initialized
243
+ .Tn struct archive
244
+ object.
245
+ .Pp
246
+ .Fn archive_read_data
247
+ and
248
+ .Fn archive_write_data
249
+ return a count of the number of bytes actually read or written.
250
+ A value of zero indicates the end of the data for this entry.
251
+ A negative value indicates an error, in which case the
252
+ .Fn archive_errno
253
+ and
254
+ .Fn archive_error_string
255
+ functions can be used to obtain more information.
256
+ .Sh ENVIRONMENT
257
+ There are character set conversions within the
258
+ .Xr archive_entry 3
259
+ functions that are impacted by the currently-selected locale.
260
+ .Sh SEE ALSO
261
+ .Xr tar 1 ,
262
+ .Xr archive_entry 3 ,
263
+ .Xr archive_read 3 ,
264
+ .Xr archive_util 3 ,
265
+ .Xr archive_write 3 ,
266
+ .Xr tar 5
267
+ .Sh HISTORY
268
+ The
269
+ .Nm libarchive
270
+ library first appeared in
271
+ .Fx 5.3 .
272
+ .Sh AUTHORS
273
+ .An -nosplit
274
+ The
275
+ .Nm libarchive
276
+ library was originally written by
277
+ .An Tim Kientzle Aq kientzle@acm.org .
278
+ .Sh BUGS
279
+ Some archive formats support information that is not supported by
280
+ .Tn struct archive_entry .
281
+ Such information cannot be fully archived or restored using this library.
282
+ This includes, for example, comments, character sets,
283
+ or the arbitrary key/value pairs that can appear in
284
+ pax interchange format archives.
285
+ .Pp
286
+ Conversely, of course, not all of the information that can be
287
+ stored in an
288
+ .Tn struct archive_entry
289
+ is supported by all formats.
290
+ For example, cpio formats do not support nanosecond timestamps;
291
+ old tar formats do not support large device numbers.
292
+ .Pp
293
+ The ISO9660 reader cannot yet read all ISO9660 images;
294
+ it should learn how to seek.
295
+ .Pp
296
+ The AR writer requires the client program to use
297
+ two passes, unlike all other libarchive writers.
@@ -0,0 +1,339 @@
1
+ .\" Copyright (c) 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 December 23, 2011
26
+ .Dt LIBARCHIVE_CHANGES 3
27
+ .Os
28
+ .Sh NAME
29
+ .Nm libarchive_changes
30
+ .Nd changes in libarchive interface
31
+ .\"
32
+ .Sh CHANGES IN LIBARCHIVE 3
33
+ This page describes user-visible changes in libarchive3, and lists
34
+ public functions and other symbols changed, deprecated or removed
35
+ in libarchive3, along with their replacements if any.
36
+ .\"
37
+ .Ss Multiple Filters
38
+ .\"
39
+ Libarchive2 permitted a single (input or output) filter active
40
+ on an archive.
41
+ Libarchive3 extends this into a variable-length stack.
42
+ Where
43
+ .Fn archive_write_set_compression_XXX
44
+ would replace any existing filter,
45
+ .Fn archive_write_add_filter_XXX
46
+ extends the write pipeline with another filter.
47
+ .\"
48
+ .Ss Character Set Handling
49
+ .\"
50
+ Libarchive2 assumed that the local platform uses
51
+ .Tn Unicode
52
+ as the native
53
+ .Tn wchar_t
54
+ encoding, which is true on
55
+ .Tn Windows ,
56
+ modern
57
+ .Tn Linux ,
58
+ and a few other systems, but is certainly not universal.
59
+ As a result, pax format archives were written incorrectly on some
60
+ systems, since pax format requires
61
+ .Tn UTF-8
62
+ and libarchive 2 incorrectly
63
+ assumed that
64
+ .Tn wchar_t
65
+ strings can be easily converted to
66
+ .Tn UTF-8 .
67
+ .Pp
68
+ Libarchive3 uses the standard iconv library to convert between character
69
+ sets and is introducing the notion of a
70
+ .Dq default character set for the archive .
71
+ To support this,
72
+ .Tn archive_entry
73
+ objects can now be bound to a particular archive when they are created.
74
+ The automatic character set conversions performed by
75
+ .Tn archive_entry
76
+ objects when reading and writing filenames, usernames, and other strings
77
+ will now use an appropriate default character set:
78
+ .Pp
79
+ If the
80
+ .Tn archive_entry
81
+ object is bound to an archive, it will use the
82
+ default character set for that archive.
83
+ .Pp
84
+ The platform default character encoding (as returned by
85
+ .Fn nl_langinfo CHARSET )
86
+ will be used if nothing else is specified.
87
+ .Pp
88
+ Libarchive3 also introduces charset options to many of the archive
89
+ readers and writers to control the character set that will be used for
90
+ filenames written in those archives.
91
+ When possible, this will be set automatically based on information in
92
+ the archive itself.
93
+ Combining this with the notion of a default character set for the
94
+ archive should allow you to configure libarchive to read archives from
95
+ other platforms and have the filenames and other information
96
+ transparently converted to the character encoding suitable for your
97
+ application.
98
+ .\"
99
+ .Ss Prototype Changes
100
+ .\"
101
+ These changes break binary compatibility; libarchive3 has a new shared
102
+ library version to reflect these changes.
103
+ The library now uses portable wide types such as
104
+ .Tn int64_t
105
+ instead of less-portable types such as
106
+ .Tn off_t ,
107
+ .Tn gid_t ,
108
+ .Tn uid_t ,
109
+ and
110
+ .Tn ino_t .
111
+ .Pp
112
+ There are a few cases where these changes will affect your source code:
113
+ .Bl -bullet -width ind
114
+ .It
115
+ In some cases, libarchive's wider types will introduce the possibility
116
+ of truncation: for example, on a system with a 16-bit
117
+ .Tn uid_t , you risk having uid
118
+ .Li 65536
119
+ be truncated to uid
120
+ .Li 0 ,
121
+ which can cause serious security problems.
122
+ .It
123
+ Typedef function pointer types will be incompatible.
124
+ For example, if you define custom skip callbacks, you may have to use
125
+ code similar to the following if you want to support building against
126
+ libarchive2 and libarchive3:
127
+ .Bd -literal
128
+ #if ARCHIVE_VERSION_NUMBER < 3000000
129
+ typedef off_t myoff_t;
130
+ #else
131
+ typedef int64_t myoff_t;
132
+ #endif
133
+
134
+ myoff_t
135
+ my_skip_function(struct archive *a, void *v, myoff_t o)
136
+ {
137
+ ... implementation ...
138
+ }
139
+ .Ed
140
+ .El
141
+ .Pp
142
+ Affected functions:
143
+ .Pp
144
+ .Bl -bullet -compact
145
+ .It
146
+ .Xo
147
+ .Fn archive_entry_gid ,
148
+ .Fn archive_entry_set_gid
149
+ .Xc
150
+ .It
151
+ .Xo
152
+ .Fn archive_entry_uid ,
153
+ .Fn archive_entry_set_uid
154
+ .Xc
155
+ .It
156
+ .Xo
157
+ .Fn archive_entry_ino ,
158
+ .Fn archive_entry_set_ino
159
+ .Xc
160
+ .It
161
+ .Xo
162
+ .Fn archive_read_data_block ,
163
+ .Fn archive_write_data_block
164
+ .Xc
165
+ .It
166
+ .Xo
167
+ .Fn archive_read_disk_gname ,
168
+ .Fn archive_read_disk_uname
169
+ .Xc
170
+ .It
171
+ .Xo
172
+ .Fn archive_read_disk_set_gname_lookup ,
173
+ .Fn archive_read_disk_set_group_lookup ,
174
+ .Fn archive_read_disk_set_uname_lookup ,
175
+ .Fn archive_read_disk_set_user_lookup
176
+ .Xc
177
+ .It
178
+ .Fn archive_skip_callback
179
+ .It
180
+ .Xo
181
+ .Fn archive_read_extract_set_skip_file ,
182
+ .Fn archive_write_disk_set_skip_file ,
183
+ .Fn archive_write_set_skip_file
184
+ .Xc
185
+ .It
186
+ .Xo
187
+ .Fn archive_write_disk_set_group_lookup ,
188
+ .Fn archive_write_disk_set_user_lookup
189
+ .Xc
190
+ .El
191
+ .Pp
192
+ Where these functions or their arguments took or returned
193
+ .Tn gid_t ,
194
+ .Tn ino_t ,
195
+ .Tn off_t ,
196
+ or
197
+ .Tn uid_t
198
+ they now take or return
199
+ .Tn int64_t
200
+ or equivalent.
201
+ .\"
202
+ .Ss Deprecated Symbols
203
+ .\"
204
+ Symbols deprecated in libarchive3 will be removed in libarchive4.
205
+ These symbols, along with their replacements if any, are listed below:
206
+ .\"
207
+ .Bl -tag -width ind
208
+ .It Fn archive_position_compressed , Fn archive_position_uncompressed
209
+ .Fn archive_filter_bytes
210
+ .It Fn archive_compression
211
+ .Fn archive_filter_code
212
+ .It Fn archive_compression_name
213
+ .Fn archive_filter_name
214
+ .It Fn archive_read_finish , Fn archive_write_finish
215
+ .Fn archive_read_free ,
216
+ .Fn archive_write_free
217
+ .It Fn archive_read_open_file , Fn archive_write_open_file
218
+ .Fn archive_read_open_filename ,
219
+ .Fn archive_write_open_filename
220
+ .It Fn archive_read_support_compression_all
221
+ .\" archive_read_support_compression_* -> archive_read_support_filter_*
222
+ .Fn archive_read_support_filter_all
223
+ .It Fn archive_read_support_compression_bzip2
224
+ .Fn archive_read_support_filter_bzip2
225
+ .It Fn archive_read_support_compression_compress
226
+ .Fn archive_read_support_filter_compress
227
+ .It Fn archive_read_support_compression_gzip
228
+ .Fn archive_read_support_filter_gzip
229
+ .It Fn archive_read_support_compression_lzip
230
+ .Fn archive_read_support_filter_lzip
231
+ .It Fn archive_read_support_compression_lzma
232
+ .Fn archive_read_support_filter_lzma
233
+ .It Fn archive_read_support_compression_none
234
+ .Fn archive_read_support_filter_none
235
+ .It Fn archive_read_support_compression_program
236
+ .Fn archive_read_support_filter_program
237
+ .It Fn archive_read_support_compression_program_signature
238
+ .Fn archive_read_support_filter_program_signature
239
+ .It Fn archive_read_support_compression_rpm
240
+ .Fn archive_read_support_filter_rpm
241
+ .It Fn archive_read_support_compression_uu
242
+ .Fn archive_read_support_filter_uu
243
+ .It Fn archive_read_support_compression_xz
244
+ .Fn archive_read_support_filter_xz
245
+ .\" archive_write_set_compression_* -> archive_write_add_filter_*
246
+ .It Fn archive_write_set_compression_bzip2
247
+ .Fn archive_write_add_filter_bzip2
248
+ .It Fn archive_write_set_compression_compress
249
+ .Fn archive_write_add_filter_compress
250
+ .It Fn archive_write_set_compression_gzip
251
+ .Fn archive_write_add_filter_gzip
252
+ .It Fn archive_write_set_compression_lzip
253
+ .Fn archive_write_add_filter_lzip
254
+ .It Fn archive_write_set_compression_lzma
255
+ .Fn archive_write_add_filter_lzma
256
+ .It Fn archive_write_set_compression_none
257
+ .Fn archive_write_add_filter_none
258
+ .It Fn archive_write_set_compression_program
259
+ .Fn archive_write_add_filter_program
260
+ .It Fn archive_write_set_compression_filter
261
+ .Fn archive_write_add_filter_filter
262
+ .El
263
+ .\"
264
+ .Ss Removed Symbols
265
+ .\"
266
+ These symbols, listed below along with their replacements if any,
267
+ were deprecated in libarchive2, and are not part of libarchive3.
268
+ .\"
269
+ .Bl -tag -width ind
270
+ .It Fn archive_api_feature
271
+ .Fn archive_version_number
272
+ .It Fn archive_api_version
273
+ .Fn archive_version_number
274
+ .It Fn archive_version
275
+ .Fn archive_version_string
276
+ .It Fn archive_version_stamp
277
+ .Fn archive_version_number
278
+ .It Fn archive_read_set_filter_options
279
+ .Fn archive_read_set_options
280
+ or
281
+ .Fn archive_read_set_filter_option
282
+ .It Fn archive_read_set_format_options
283
+ .Fn archive_read_set_options
284
+ or
285
+ .Fn archive_read_set_format_option
286
+ .It Fn archive_write_set_filter_options
287
+ .Fn archive_write_set_options
288
+ or
289
+ .Fn archive_write_set_filter_option
290
+ .It Fn archive_write_set_format_options
291
+ .Fn archive_write_set_options
292
+ or
293
+ .Fn archive_write_set_format_option
294
+ .It Dv ARCHIVE_API_FEATURE
295
+ .Dv ARCHIVE_VERSION_NUMBER
296
+ .It Dv ARCHIVE_API_VERSION
297
+ .Dv ARCHIVE_VERSION_NUMBER
298
+ .It Dv ARCHIVE_VERSION_STAMP
299
+ .Dv ARCHIVE_VERSION_NUMBER
300
+ .It Dv ARCHIVE_LIBRARY_VERSION
301
+ .Dv ARCHIVE_VERSION_STRING
302
+ .\"
303
+ .It Dv ARCHIVE_COMPRESSION_NONE
304
+ .Dv ARCHIVE_FILTER_NONE
305
+ .It Dv ARCHIVE_COMPRESSION_GZIP
306
+ .Dv ARCHIVE_FILTER_GZIP
307
+ .It Dv ARCHIVE_COMPRESSION_BZIP2
308
+ .Dv ARCHIVE_FILTER_BZIP2
309
+ .It Dv ARCHIVE_COMPRESSION_COMPRESS
310
+ .Dv ARCHIVE_FILTER_COMPRESS
311
+ .It Dv ARCHIVE_COMPRESSION_PROGRAM
312
+ .Dv ARCHIVE_FILTER_PROGRAM
313
+ .It Dv ARCHIVE_COMPRESSION_LZMA
314
+ .Dv ARCHIVE_FILTER_LZMA
315
+ .It Dv ARCHIVE_COMPRESSION_XZ
316
+ .Dv ARCHIVE_FILTER_XZ
317
+ .It Dv ARCHIVE_COMPRESSION_UU
318
+ .Dv ARCHIVE_FILTER_UU
319
+ .It Dv ARCHIVE_COMPRESSION_RPM
320
+ .Dv ARCHIVE_FILTER_RPM
321
+ .It Dv ARCHIVE_COMPRESSION_LZIP
322
+ .Dv ARCHIVE_FILTER_LZIP
323
+ .\"
324
+ .It Dv ARCHIVE_BYTES_PER_RECORD
325
+ .Li 512
326
+ .It Dv ARCHIVE_DEFAULT_BYTES_PER_BLOCK
327
+ .Li 10240
328
+ .El
329
+ .Sh SEE ALSO
330
+ .Xr archive_read 3 ,
331
+ .Xr archive_read_filter 3 ,
332
+ .Xr archive_read_format 3 ,
333
+ .Xr archive_read_set_options 3 ,
334
+ .Xr archive_util 3 ,
335
+ .Xr archive_write 3 ,
336
+ .Xr archive_write_filter 3 ,
337
+ .Xr archive_write_format 3 ,
338
+ .Xr archive_write_set_options 3 ,
339
+ .Xr libarchive 3