From 8c78c2959ae35e93166454668e5bc38eb9c8c7cc Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Wed, 30 Dec 2009 06:28:30 +0000 Subject: [PATCH] Reserve constants for RPM unwrapper and XAR reader. --- lib/libarchive/archive.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libarchive/archive.h b/lib/libarchive/archive.h index 39a531829fd2..23095313f99e 100644 --- a/lib/libarchive/archive.h +++ b/lib/libarchive/archive.h @@ -242,6 +242,7 @@ typedef int archive_close_callback(struct archive *, void *_client_data); #define ARCHIVE_COMPRESSION_LZMA 5 #define ARCHIVE_COMPRESSION_XZ 6 #define ARCHIVE_COMPRESSION_UU 7 +#define ARCHIVE_COMPRESSION_RPM 8 /* * Codes returned by archive_format. @@ -283,6 +284,7 @@ typedef int archive_close_callback(struct archive *, void *_client_data); #define ARCHIVE_FORMAT_AR_BSD (ARCHIVE_FORMAT_AR | 2) #define ARCHIVE_FORMAT_MTREE 0x80000 #define ARCHIVE_FORMAT_RAW 0x90000 +#define ARCHIVE_FORMAT_XAR 0xA0000 /*- * Basic outline for reading an archive: