You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

587 lines
22 KiB

  1. # This file was automatically generated by SWIG (http://www.swig.org).
  2. # Version 4.0.2
  3. #
  4. # Do not make changes to this file unless you know what you are doing--modify
  5. # the SWIG interface file instead.
  6. from sys import version_info as _swig_python_version_info
  7. if _swig_python_version_info < (2, 7, 0):
  8. raise RuntimeError("Python 2.7 or later required")
  9. # Import the low-level C/C++ module
  10. if __package__ or "." in __name__:
  11. from . import __libarchive
  12. else:
  13. import __libarchive
  14. try:
  15. import builtins as __builtin__
  16. except ImportError:
  17. import __builtin__
  18. def _swig_repr(self):
  19. try:
  20. strthis = "proxy of " + self.this.__repr__()
  21. except __builtin__.Exception:
  22. strthis = ""
  23. return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
  24. def _swig_setattr_nondynamic_instance_variable(set):
  25. def set_instance_attr(self, name, value):
  26. if name == "thisown":
  27. self.this.own(value)
  28. elif name == "this":
  29. set(self, name, value)
  30. elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
  31. set(self, name, value)
  32. else:
  33. raise AttributeError("You cannot add instance attributes to %s" % self)
  34. return set_instance_attr
  35. def _swig_setattr_nondynamic_class_variable(set):
  36. def set_class_attr(cls, name, value):
  37. if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
  38. set(cls, name, value)
  39. else:
  40. raise AttributeError("You cannot add class attributes to %s" % cls)
  41. return set_class_attr
  42. def _swig_add_metaclass(metaclass):
  43. """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
  44. def wrapper(cls):
  45. return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
  46. return wrapper
  47. class _SwigNonDynamicMeta(type):
  48. """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
  49. __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
  50. def archive_read_new():
  51. return __libarchive.archive_read_new()
  52. def archive_read_free(arg1):
  53. return __libarchive.archive_read_free(arg1)
  54. def archive_read_open_filename(arg1, _filename, _block_size):
  55. return __libarchive.archive_read_open_filename(arg1, _filename, _block_size)
  56. def archive_read_open_memory(arg1, buff, size):
  57. return __libarchive.archive_read_open_memory(arg1, buff, size)
  58. def archive_read_open_memory2(a, buff, size, read_size):
  59. return __libarchive.archive_read_open_memory2(a, buff, size, read_size)
  60. def archive_read_open_fd(arg1, _fd, _block_size):
  61. return __libarchive.archive_read_open_fd(arg1, _fd, _block_size)
  62. def archive_read_close(arg1):
  63. return __libarchive.archive_read_close(arg1)
  64. def archive_format(arg1):
  65. return __libarchive.archive_format(arg1)
  66. def archive_read_next_header2(arg1, arg2):
  67. return __libarchive.archive_read_next_header2(arg1, arg2)
  68. def archive_entry_stat(arg1):
  69. return __libarchive.archive_entry_stat(arg1)
  70. def archive_read_header_position(arg1):
  71. return __libarchive.archive_read_header_position(arg1)
  72. def archive_read_set_format_option(_a, m, o, v):
  73. return __libarchive.archive_read_set_format_option(_a, m, o, v)
  74. def archive_read_set_filter_option(_a, m, o, v):
  75. return __libarchive.archive_read_set_filter_option(_a, m, o, v)
  76. def archive_read_set_option(_a, m, o, v):
  77. return __libarchive.archive_read_set_option(_a, m, o, v)
  78. def archive_read_set_options(_a, opts):
  79. return __libarchive.archive_read_set_options(_a, opts)
  80. def archive_read_add_passphrase(arg1, arg2):
  81. return __libarchive.archive_read_add_passphrase(arg1, arg2)
  82. def archive_read_data_skip(arg1):
  83. return __libarchive.archive_read_data_skip(arg1)
  84. def archive_read_data_into_fd(arg1, fd):
  85. return __libarchive.archive_read_data_into_fd(arg1, fd)
  86. def archive_read_support_compression_all(arg1):
  87. return __libarchive.archive_read_support_compression_all(arg1)
  88. def archive_read_support_compression_bzip2(arg1):
  89. return __libarchive.archive_read_support_compression_bzip2(arg1)
  90. def archive_read_support_compression_compress(arg1):
  91. return __libarchive.archive_read_support_compression_compress(arg1)
  92. def archive_read_support_compression_gzip(arg1):
  93. return __libarchive.archive_read_support_compression_gzip(arg1)
  94. def archive_read_support_compression_lzip(arg1):
  95. return __libarchive.archive_read_support_compression_lzip(arg1)
  96. def archive_read_support_compression_lzma(arg1):
  97. return __libarchive.archive_read_support_compression_lzma(arg1)
  98. def archive_read_support_compression_none(arg1):
  99. return __libarchive.archive_read_support_compression_none(arg1)
  100. def archive_read_support_compression_program(arg1, command):
  101. return __libarchive.archive_read_support_compression_program(arg1, command)
  102. def archive_read_support_compression_program_signature(arg1, arg2, arg3, arg4):
  103. return __libarchive.archive_read_support_compression_program_signature(arg1, arg2, arg3, arg4)
  104. def archive_read_support_compression_rpm(arg1):
  105. return __libarchive.archive_read_support_compression_rpm(arg1)
  106. def archive_read_support_compression_uu(arg1):
  107. return __libarchive.archive_read_support_compression_uu(arg1)
  108. def archive_read_support_compression_xz(arg1):
  109. return __libarchive.archive_read_support_compression_xz(arg1)
  110. def archive_read_support_filter_all(arg1):
  111. return __libarchive.archive_read_support_filter_all(arg1)
  112. def archive_read_support_filter_bzip2(arg1):
  113. return __libarchive.archive_read_support_filter_bzip2(arg1)
  114. def archive_read_support_filter_compress(arg1):
  115. return __libarchive.archive_read_support_filter_compress(arg1)
  116. def archive_read_support_filter_gzip(arg1):
  117. return __libarchive.archive_read_support_filter_gzip(arg1)
  118. def archive_read_support_filter_grzip(arg1):
  119. return __libarchive.archive_read_support_filter_grzip(arg1)
  120. def archive_read_support_filter_lrzip(arg1):
  121. return __libarchive.archive_read_support_filter_lrzip(arg1)
  122. def archive_read_support_filter_lz4(arg1):
  123. return __libarchive.archive_read_support_filter_lz4(arg1)
  124. def archive_read_support_filter_lzip(arg1):
  125. return __libarchive.archive_read_support_filter_lzip(arg1)
  126. def archive_read_support_filter_lzma(arg1):
  127. return __libarchive.archive_read_support_filter_lzma(arg1)
  128. def archive_read_support_filter_lzop(arg1):
  129. return __libarchive.archive_read_support_filter_lzop(arg1)
  130. def archive_read_support_filter_none(arg1):
  131. return __libarchive.archive_read_support_filter_none(arg1)
  132. def archive_read_support_filter_program(arg1, command):
  133. return __libarchive.archive_read_support_filter_program(arg1, command)
  134. def archive_read_support_filter_program_signature(arg1, arg2, arg3, arg4):
  135. return __libarchive.archive_read_support_filter_program_signature(arg1, arg2, arg3, arg4)
  136. def archive_read_support_filter_rpm(arg1):
  137. return __libarchive.archive_read_support_filter_rpm(arg1)
  138. def archive_read_support_filter_uu(arg1):
  139. return __libarchive.archive_read_support_filter_uu(arg1)
  140. def archive_read_support_filter_xz(arg1):
  141. return __libarchive.archive_read_support_filter_xz(arg1)
  142. def archive_read_support_format_7zip(arg1):
  143. return __libarchive.archive_read_support_format_7zip(arg1)
  144. def archive_read_support_format_all(arg1):
  145. return __libarchive.archive_read_support_format_all(arg1)
  146. def archive_read_support_format_ar(arg1):
  147. return __libarchive.archive_read_support_format_ar(arg1)
  148. def archive_read_support_format_by_code(arg1, arg2):
  149. return __libarchive.archive_read_support_format_by_code(arg1, arg2)
  150. def archive_read_support_format_cab(arg1):
  151. return __libarchive.archive_read_support_format_cab(arg1)
  152. def archive_read_support_format_cpio(arg1):
  153. return __libarchive.archive_read_support_format_cpio(arg1)
  154. def archive_read_support_format_empty(arg1):
  155. return __libarchive.archive_read_support_format_empty(arg1)
  156. def archive_read_support_format_gnutar(arg1):
  157. return __libarchive.archive_read_support_format_gnutar(arg1)
  158. def archive_read_support_format_iso9660(arg1):
  159. return __libarchive.archive_read_support_format_iso9660(arg1)
  160. def archive_read_support_format_lha(arg1):
  161. return __libarchive.archive_read_support_format_lha(arg1)
  162. def archive_read_support_format_rar(arg1):
  163. return __libarchive.archive_read_support_format_rar(arg1)
  164. def archive_read_support_format_raw(arg1):
  165. return __libarchive.archive_read_support_format_raw(arg1)
  166. def archive_read_support_format_tar(arg1):
  167. return __libarchive.archive_read_support_format_tar(arg1)
  168. def archive_read_support_format_warc(arg1):
  169. return __libarchive.archive_read_support_format_warc(arg1)
  170. def archive_read_support_format_xar(arg1):
  171. return __libarchive.archive_read_support_format_xar(arg1)
  172. def archive_read_support_format_zip(arg1):
  173. return __libarchive.archive_read_support_format_zip(arg1)
  174. def archive_read_support_format_zip_streamable(arg1):
  175. return __libarchive.archive_read_support_format_zip_streamable(arg1)
  176. def archive_read_support_format_zip_seekable(arg1):
  177. return __libarchive.archive_read_support_format_zip_seekable(arg1)
  178. def archive_read_set_format(arg1, arg2):
  179. return __libarchive.archive_read_set_format(arg1, arg2)
  180. def archive_read_append_filter(arg1, arg2):
  181. return __libarchive.archive_read_append_filter(arg1, arg2)
  182. def archive_read_append_filter_program(arg1, arg2):
  183. return __libarchive.archive_read_append_filter_program(arg1, arg2)
  184. def archive_read_append_filter_program_signature(arg1, arg2, arg3, arg4):
  185. return __libarchive.archive_read_append_filter_program_signature(arg1, arg2, arg3, arg4)
  186. def archive_write_new():
  187. return __libarchive.archive_write_new()
  188. def archive_write_free(arg1):
  189. return __libarchive.archive_write_free(arg1)
  190. def archive_write_open(arg1, arg2, arg3, arg4, arg5):
  191. return __libarchive.archive_write_open(arg1, arg2, arg3, arg4, arg5)
  192. def archive_write_open_fd(arg1, _fd):
  193. return __libarchive.archive_write_open_fd(arg1, _fd)
  194. def archive_write_open_filename(arg1, _file):
  195. return __libarchive.archive_write_open_filename(arg1, _file)
  196. def archive_write_open_filename_w(arg1, _file):
  197. return __libarchive.archive_write_open_filename_w(arg1, _file)
  198. def archive_write_open_memory(arg1, _buffer, _buffSize, _used):
  199. return __libarchive.archive_write_open_memory(arg1, _buffer, _buffSize, _used)
  200. def archive_write_close(arg1):
  201. return __libarchive.archive_write_close(arg1)
  202. def archive_write_header(arg1, arg2):
  203. return __libarchive.archive_write_header(arg1, arg2)
  204. def archive_write_set_format_option(_a, m, o, v):
  205. return __libarchive.archive_write_set_format_option(_a, m, o, v)
  206. def archive_write_set_filter_option(_a, m, o, v):
  207. return __libarchive.archive_write_set_filter_option(_a, m, o, v)
  208. def archive_write_set_option(_a, m, o, v):
  209. return __libarchive.archive_write_set_option(_a, m, o, v)
  210. def archive_write_set_options(_a, opts):
  211. return __libarchive.archive_write_set_options(_a, opts)
  212. def archive_write_set_passphrase(_a, p):
  213. return __libarchive.archive_write_set_passphrase(_a, p)
  214. def archive_write_finish_entry(arg1):
  215. return __libarchive.archive_write_finish_entry(arg1)
  216. def archive_write_add_filter(arg1, filter_code):
  217. return __libarchive.archive_write_add_filter(arg1, filter_code)
  218. def archive_write_add_filter_by_name(arg1, name):
  219. return __libarchive.archive_write_add_filter_by_name(arg1, name)
  220. def archive_write_add_filter_b64encode(arg1):
  221. return __libarchive.archive_write_add_filter_b64encode(arg1)
  222. def archive_write_add_filter_bzip2(arg1):
  223. return __libarchive.archive_write_add_filter_bzip2(arg1)
  224. def archive_write_add_filter_compress(arg1):
  225. return __libarchive.archive_write_add_filter_compress(arg1)
  226. def archive_write_add_filter_grzip(arg1):
  227. return __libarchive.archive_write_add_filter_grzip(arg1)
  228. def archive_write_add_filter_gzip(arg1):
  229. return __libarchive.archive_write_add_filter_gzip(arg1)
  230. def archive_write_add_filter_lrzip(arg1):
  231. return __libarchive.archive_write_add_filter_lrzip(arg1)
  232. def archive_write_add_filter_lz4(arg1):
  233. return __libarchive.archive_write_add_filter_lz4(arg1)
  234. def archive_write_add_filter_lzip(arg1):
  235. return __libarchive.archive_write_add_filter_lzip(arg1)
  236. def archive_write_add_filter_lzma(arg1):
  237. return __libarchive.archive_write_add_filter_lzma(arg1)
  238. def archive_write_add_filter_lzop(arg1):
  239. return __libarchive.archive_write_add_filter_lzop(arg1)
  240. def archive_write_add_filter_none(arg1):
  241. return __libarchive.archive_write_add_filter_none(arg1)
  242. def archive_write_add_filter_program(arg1, cmd):
  243. return __libarchive.archive_write_add_filter_program(arg1, cmd)
  244. def archive_write_add_filter_uuencode(arg1):
  245. return __libarchive.archive_write_add_filter_uuencode(arg1)
  246. def archive_write_add_filter_xz(arg1):
  247. return __libarchive.archive_write_add_filter_xz(arg1)
  248. def archive_write_set_format(arg1, format_code):
  249. return __libarchive.archive_write_set_format(arg1, format_code)
  250. def archive_write_set_format_by_name(arg1, name):
  251. return __libarchive.archive_write_set_format_by_name(arg1, name)
  252. def archive_write_set_format_7zip(arg1):
  253. return __libarchive.archive_write_set_format_7zip(arg1)
  254. def archive_write_set_format_ar_bsd(arg1):
  255. return __libarchive.archive_write_set_format_ar_bsd(arg1)
  256. def archive_write_set_format_ar_svr4(arg1):
  257. return __libarchive.archive_write_set_format_ar_svr4(arg1)
  258. def archive_write_set_format_cpio(arg1):
  259. return __libarchive.archive_write_set_format_cpio(arg1)
  260. def archive_write_set_format_cpio_newc(arg1):
  261. return __libarchive.archive_write_set_format_cpio_newc(arg1)
  262. def archive_write_set_format_gnutar(arg1):
  263. return __libarchive.archive_write_set_format_gnutar(arg1)
  264. def archive_write_set_format_iso9660(arg1):
  265. return __libarchive.archive_write_set_format_iso9660(arg1)
  266. def archive_write_set_format_mtree(arg1):
  267. return __libarchive.archive_write_set_format_mtree(arg1)
  268. def archive_write_set_format_mtree_classic(arg1):
  269. return __libarchive.archive_write_set_format_mtree_classic(arg1)
  270. def archive_write_set_format_pax(arg1):
  271. return __libarchive.archive_write_set_format_pax(arg1)
  272. def archive_write_set_format_pax_restricted(arg1):
  273. return __libarchive.archive_write_set_format_pax_restricted(arg1)
  274. def archive_write_set_format_raw(arg1):
  275. return __libarchive.archive_write_set_format_raw(arg1)
  276. def archive_write_set_format_shar(arg1):
  277. return __libarchive.archive_write_set_format_shar(arg1)
  278. def archive_write_set_format_shar_dump(arg1):
  279. return __libarchive.archive_write_set_format_shar_dump(arg1)
  280. def archive_write_set_format_ustar(arg1):
  281. return __libarchive.archive_write_set_format_ustar(arg1)
  282. def archive_write_set_format_v7tar(arg1):
  283. return __libarchive.archive_write_set_format_v7tar(arg1)
  284. def archive_write_set_format_warc(arg1):
  285. return __libarchive.archive_write_set_format_warc(arg1)
  286. def archive_write_set_format_xar(arg1):
  287. return __libarchive.archive_write_set_format_xar(arg1)
  288. def archive_write_set_format_zip(arg1):
  289. return __libarchive.archive_write_set_format_zip(arg1)
  290. def archive_write_set_format_filter_by_ext(a, filename):
  291. return __libarchive.archive_write_set_format_filter_by_ext(a, filename)
  292. def archive_write_set_format_filter_by_ext_def(a, filename, def_ext):
  293. return __libarchive.archive_write_set_format_filter_by_ext_def(a, filename, def_ext)
  294. def archive_write_zip_set_compression_deflate(arg1):
  295. return __libarchive.archive_write_zip_set_compression_deflate(arg1)
  296. def archive_write_zip_set_compression_store(arg1):
  297. return __libarchive.archive_write_zip_set_compression_store(arg1)
  298. def archive_entry_new():
  299. return __libarchive.archive_entry_new()
  300. def archive_entry_free(arg1):
  301. return __libarchive.archive_entry_free(arg1)
  302. def archive_entry_pathname(arg1):
  303. return __libarchive.archive_entry_pathname(arg1)
  304. def archive_entry_pathname_w(arg1):
  305. return __libarchive.archive_entry_pathname_w(arg1)
  306. def archive_entry_size(arg1):
  307. return __libarchive.archive_entry_size(arg1)
  308. def archive_entry_mtime(arg1):
  309. return __libarchive.archive_entry_mtime(arg1)
  310. def archive_entry_filetype(arg1):
  311. return __libarchive.archive_entry_filetype(arg1)
  312. def archive_entry_perm(arg1):
  313. return __libarchive.archive_entry_perm(arg1)
  314. def archive_entry_symlink(arg1):
  315. return __libarchive.archive_entry_symlink(arg1)
  316. def archive_entry_set_link(arg1, arg2):
  317. return __libarchive.archive_entry_set_link(arg1, arg2)
  318. def archive_entry_symlink_w(arg1):
  319. return __libarchive.archive_entry_symlink_w(arg1)
  320. def archive_read_disk_set_symlink_logical(arg1):
  321. return __libarchive.archive_read_disk_set_symlink_logical(arg1)
  322. def archive_read_disk_set_symlink_physical(arg1):
  323. return __libarchive.archive_read_disk_set_symlink_physical(arg1)
  324. def archive_read_disk_set_symlink_hybrid(arg1):
  325. return __libarchive.archive_read_disk_set_symlink_hybrid(arg1)
  326. def archive_entry_set_symlink(arg1, arg2):
  327. return __libarchive.archive_entry_set_symlink(arg1, arg2)
  328. def archive_entry_copy_symlink(arg1, arg2):
  329. return __libarchive.archive_entry_copy_symlink(arg1, arg2)
  330. def archive_entry_copy_symlink_w(arg1, arg2):
  331. return __libarchive.archive_entry_copy_symlink_w(arg1, arg2)
  332. def archive_entry_set_pathname(arg1, arg2):
  333. return __libarchive.archive_entry_set_pathname(arg1, arg2)
  334. def archive_entry_set_size(arg1, arg2):
  335. return __libarchive.archive_entry_set_size(arg1, arg2)
  336. def archive_entry_set_mtime(arg1, arg2, arg3):
  337. return __libarchive.archive_entry_set_mtime(arg1, arg2, arg3)
  338. def archive_entry_set_filetype(arg1, arg2):
  339. return __libarchive.archive_entry_set_filetype(arg1, arg2)
  340. def archive_entry_set_perm(arg1, arg2):
  341. return __libarchive.archive_entry_set_perm(arg1, arg2)
  342. def archive_errno(arg1):
  343. return __libarchive.archive_errno(arg1)
  344. def archive_error_string(arg1):
  345. return __libarchive.archive_error_string(arg1)
  346. ARCHIVE_VERSION_NUMBER = __libarchive.ARCHIVE_VERSION_NUMBER
  347. ARCHIVE_VERSION_STRING = __libarchive.ARCHIVE_VERSION_STRING
  348. ARCHIVE_EOF = __libarchive.ARCHIVE_EOF
  349. ARCHIVE_OK = __libarchive.ARCHIVE_OK
  350. ARCHIVE_RETRY = __libarchive.ARCHIVE_RETRY
  351. ARCHIVE_WARN = __libarchive.ARCHIVE_WARN
  352. ARCHIVE_FAILED = __libarchive.ARCHIVE_FAILED
  353. ARCHIVE_FATAL = __libarchive.ARCHIVE_FATAL
  354. ARCHIVE_FILTER_NONE = __libarchive.ARCHIVE_FILTER_NONE
  355. ARCHIVE_FILTER_GZIP = __libarchive.ARCHIVE_FILTER_GZIP
  356. ARCHIVE_FILTER_BZIP2 = __libarchive.ARCHIVE_FILTER_BZIP2
  357. ARCHIVE_FILTER_COMPRESS = __libarchive.ARCHIVE_FILTER_COMPRESS
  358. ARCHIVE_FILTER_PROGRAM = __libarchive.ARCHIVE_FILTER_PROGRAM
  359. ARCHIVE_FILTER_LZMA = __libarchive.ARCHIVE_FILTER_LZMA
  360. ARCHIVE_FILTER_XZ = __libarchive.ARCHIVE_FILTER_XZ
  361. ARCHIVE_FILTER_UU = __libarchive.ARCHIVE_FILTER_UU
  362. ARCHIVE_FILTER_RPM = __libarchive.ARCHIVE_FILTER_RPM
  363. ARCHIVE_FILTER_LZIP = __libarchive.ARCHIVE_FILTER_LZIP
  364. ARCHIVE_FILTER_LRZIP = __libarchive.ARCHIVE_FILTER_LRZIP
  365. ARCHIVE_FILTER_LZOP = __libarchive.ARCHIVE_FILTER_LZOP
  366. ARCHIVE_FILTER_GRZIP = __libarchive.ARCHIVE_FILTER_GRZIP
  367. ARCHIVE_FILTER_LZ4 = __libarchive.ARCHIVE_FILTER_LZ4
  368. ARCHIVE_FORMAT_BASE_MASK = __libarchive.ARCHIVE_FORMAT_BASE_MASK
  369. ARCHIVE_FORMAT_CPIO = __libarchive.ARCHIVE_FORMAT_CPIO
  370. ARCHIVE_FORMAT_CPIO_POSIX = __libarchive.ARCHIVE_FORMAT_CPIO_POSIX
  371. ARCHIVE_FORMAT_CPIO_BIN_LE = __libarchive.ARCHIVE_FORMAT_CPIO_BIN_LE
  372. ARCHIVE_FORMAT_CPIO_BIN_BE = __libarchive.ARCHIVE_FORMAT_CPIO_BIN_BE
  373. ARCHIVE_FORMAT_CPIO_SVR4_NOCRC = __libarchive.ARCHIVE_FORMAT_CPIO_SVR4_NOCRC
  374. ARCHIVE_FORMAT_CPIO_SVR4_CRC = __libarchive.ARCHIVE_FORMAT_CPIO_SVR4_CRC
  375. ARCHIVE_FORMAT_CPIO_AFIO_LARGE = __libarchive.ARCHIVE_FORMAT_CPIO_AFIO_LARGE
  376. ARCHIVE_FORMAT_SHAR = __libarchive.ARCHIVE_FORMAT_SHAR
  377. ARCHIVE_FORMAT_SHAR_BASE = __libarchive.ARCHIVE_FORMAT_SHAR_BASE
  378. ARCHIVE_FORMAT_SHAR_DUMP = __libarchive.ARCHIVE_FORMAT_SHAR_DUMP
  379. ARCHIVE_FORMAT_TAR = __libarchive.ARCHIVE_FORMAT_TAR
  380. ARCHIVE_FORMAT_TAR_USTAR = __libarchive.ARCHIVE_FORMAT_TAR_USTAR
  381. ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE = __libarchive.ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE
  382. ARCHIVE_FORMAT_TAR_PAX_RESTRICTED = __libarchive.ARCHIVE_FORMAT_TAR_PAX_RESTRICTED
  383. ARCHIVE_FORMAT_TAR_GNUTAR = __libarchive.ARCHIVE_FORMAT_TAR_GNUTAR
  384. ARCHIVE_FORMAT_ISO9660 = __libarchive.ARCHIVE_FORMAT_ISO9660
  385. ARCHIVE_FORMAT_ISO9660_ROCKRIDGE = __libarchive.ARCHIVE_FORMAT_ISO9660_ROCKRIDGE
  386. ARCHIVE_FORMAT_ZIP = __libarchive.ARCHIVE_FORMAT_ZIP
  387. ARCHIVE_FORMAT_EMPTY = __libarchive.ARCHIVE_FORMAT_EMPTY
  388. ARCHIVE_FORMAT_AR = __libarchive.ARCHIVE_FORMAT_AR
  389. ARCHIVE_FORMAT_AR_GNU = __libarchive.ARCHIVE_FORMAT_AR_GNU
  390. ARCHIVE_FORMAT_AR_BSD = __libarchive.ARCHIVE_FORMAT_AR_BSD
  391. ARCHIVE_FORMAT_MTREE = __libarchive.ARCHIVE_FORMAT_MTREE
  392. ARCHIVE_FORMAT_RAW = __libarchive.ARCHIVE_FORMAT_RAW
  393. ARCHIVE_FORMAT_XAR = __libarchive.ARCHIVE_FORMAT_XAR
  394. ARCHIVE_FORMAT_LHA = __libarchive.ARCHIVE_FORMAT_LHA
  395. ARCHIVE_FORMAT_CAB = __libarchive.ARCHIVE_FORMAT_CAB
  396. ARCHIVE_FORMAT_RAR = __libarchive.ARCHIVE_FORMAT_RAR
  397. ARCHIVE_FORMAT_7ZIP = __libarchive.ARCHIVE_FORMAT_7ZIP
  398. ARCHIVE_FORMAT_WARC = __libarchive.ARCHIVE_FORMAT_WARC
  399. ARCHIVE_EXTRACT_OWNER = __libarchive.ARCHIVE_EXTRACT_OWNER
  400. ARCHIVE_EXTRACT_PERM = __libarchive.ARCHIVE_EXTRACT_PERM
  401. ARCHIVE_EXTRACT_TIME = __libarchive.ARCHIVE_EXTRACT_TIME
  402. ARCHIVE_EXTRACT_NO_OVERWRITE = __libarchive.ARCHIVE_EXTRACT_NO_OVERWRITE
  403. ARCHIVE_EXTRACT_UNLINK = __libarchive.ARCHIVE_EXTRACT_UNLINK
  404. ARCHIVE_EXTRACT_ACL = __libarchive.ARCHIVE_EXTRACT_ACL
  405. ARCHIVE_EXTRACT_FFLAGS = __libarchive.ARCHIVE_EXTRACT_FFLAGS
  406. ARCHIVE_EXTRACT_XATTR = __libarchive.ARCHIVE_EXTRACT_XATTR
  407. ARCHIVE_EXTRACT_SECURE_SYMLINKS = __libarchive.ARCHIVE_EXTRACT_SECURE_SYMLINKS
  408. ARCHIVE_EXTRACT_SECURE_NODOTDOT = __libarchive.ARCHIVE_EXTRACT_SECURE_NODOTDOT
  409. ARCHIVE_EXTRACT_NO_AUTODIR = __libarchive.ARCHIVE_EXTRACT_NO_AUTODIR
  410. ARCHIVE_EXTRACT_NO_OVERWRITE_NEWER = __libarchive.ARCHIVE_EXTRACT_NO_OVERWRITE_NEWER
  411. ARCHIVE_EXTRACT_SPARSE = __libarchive.ARCHIVE_EXTRACT_SPARSE
  412. ARCHIVE_EXTRACT_MAC_METADATA = __libarchive.ARCHIVE_EXTRACT_MAC_METADATA
  413. ARCHIVE_EXTRACT_NO_HFS_COMPRESSION = __libarchive.ARCHIVE_EXTRACT_NO_HFS_COMPRESSION
  414. ARCHIVE_EXTRACT_HFS_COMPRESSION_FORCED = __libarchive.ARCHIVE_EXTRACT_HFS_COMPRESSION_FORCED
  415. ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS = __libarchive.ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS
  416. ARCHIVE_EXTRACT_CLEAR_NOCHANGE_FFLAGS = __libarchive.ARCHIVE_EXTRACT_CLEAR_NOCHANGE_FFLAGS
  417. def archive_read_data_into_str(archive, len):
  418. return __libarchive.archive_read_data_into_str(archive, len)
  419. def archive_write_data_from_str(archive, str):
  420. return __libarchive.archive_write_data_from_str(archive, str)