* PWB binary cpio
* ISO9660 CD-ROM images (with optional Rockridge or Joliet extensions)
* ZIP archives (with uncompressed or "deflate" compressed entries, including support for encrypted Zip archives)
- * ZIPX archives (with support for bzip2, ppmd8, lzma and xz compressed entries)
+ * ZIPX archives (with support for bzip2, zstd, ppmd8, lzma and xz compressed entries)
* GNU and BSD 'ar' archives
* 'mtree' format
* 7-Zip archives (including archives that use zstandard compression)
* Microsoft CAB format
* LHA and LZH archives
* RAR and RAR 5.0 archives (with some limitations due to RAR's proprietary status)
+ * WARC archives
* XAR archives
The library also detects and handles any of the following before evaluating the archive:
* 'mtree' format
* ISO9660 format
* 7-Zip archives (including archives that use zstandard compression)
+ * WARC archives
* XAR archives
When creating archives, the result can be filtered with any of the following:
* uuencode
+ * base64
* gzip compression
* bzip2 compression
* compress/LZW compression
/* Use the platform types for time_t */
#define __LA_TIME_T time_t
#else
-/* Use 64-bytes integer types for time_t */
+/* Use 64-bits integer types for time_t */
#define __LA_TIME_T la_int64_t
#endif
/* Use the platform types for dev_t */
#define __LA_DEV_T dev_t
#else
-/* Use 64-bytes integer types for dev_t */
+/* Use 64-bits integer types for dev_t */
#define __LA_DEV_T la_int64_t
#endif
__LA_DECL int archive_read_support_format_cab(struct archive *);
__LA_DECL int archive_read_support_format_cpio(struct archive *);
__LA_DECL int archive_read_support_format_empty(struct archive *);
+/* archive_read_support_format_gnutar() is an alias for historical reasons
+ * of archive_read_support_format_tar(). */
__LA_DECL int archive_read_support_format_gnutar(struct archive *);
__LA_DECL int archive_read_support_format_iso9660(struct archive *);
__LA_DECL int archive_read_support_format_lha(struct archive *);
/* Use the platform types for time_t */
#define __LA_TIME_T time_t
#else
-/* Use 64-bytes integer types for time_t */
+/* Use 64-bits integer types for time_t */
#define __LA_TIME_T la_int64_t
#endif
/* Use the platform types for dev_t */
#define __LA_DEV_T dev_t
#else
-/* Use 64-bytes integer types for dev_t */
+/* Use 64-bits integer types for dev_t */
#define __LA_DEV_T la_int64_t
#endif
.Nm archive_read_support_format_lha ,
.Nm archive_read_support_format_mtree ,
.Nm archive_read_support_format_rar ,
+.Nm archive_read_support_format_rar5 ,
.Nm archive_read_support_format_raw ,
.Nm archive_read_support_format_tar ,
+.Nm archive_read_support_format_warc ,
.Nm archive_read_support_format_xar ,
.Nm archive_read_support_format_zip
.Nd functions for reading streaming archives
.Ft int
.Fn archive_read_support_format_rar "struct archive *"
.Ft int
+.Fn archive_read_support_format_rar5 "struct archive *"
+.Ft int
.Fn archive_read_support_format_raw "struct archive *"
.Ft int
.Fn archive_read_support_format_tar "struct archive *"
.Ft int
+.Fn archive_read_support_format_warc "struct archive *"
+.Ft int
.Fn archive_read_support_format_xar "struct archive *"
.Ft int
.Fn archive_read_support_format_zip "struct archive *"
.Fn archive_read_support_format_lha ,
.Fn archive_read_support_format_mtree ,
.Fn archive_read_support_format_rar ,
+.Fn archive_read_support_format_rar5 ,
.Fn archive_read_support_format_raw ,
.Fn archive_read_support_format_tar ,
+.Fn archive_read_support_format_warc ,
.Fn archive_read_support_format_xar ,
.Fn archive_read_support_format_zip
.Xc
.Fn archive_read_support_format_tar
enables support for a variety of standard tar formats, old-style tar,
ustar, pax interchange format, and many common variants.
+.Fn archive_read_support_format_zip
+enables support for both the streaming and the seeking zip readers,
+which can separately be enabled by respectively
+.Fn archive_read_support_format_zip_streamable
+and
+.Fn archive_read_support_format_zip_seekable
+.
.It Fn archive_read_support_format_all
Enables support for all available formats except the
.Dq raw