diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/unarchive.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unarchive.h b/include/unarchive.h index 3b8e1575a..b55af6d9d 100644 --- a/include/unarchive.h +++ b/include/unarchive.h | |||
@@ -9,6 +9,8 @@ enum { | |||
9 | COMPRESS_MAGIC = 0x1f9d, | 9 | COMPRESS_MAGIC = 0x1f9d, |
10 | GZIP_MAGIC = 0x1f8b, | 10 | GZIP_MAGIC = 0x1f8b, |
11 | BZIP2_MAGIC = 'B' * 256 + 'Z', | 11 | BZIP2_MAGIC = 'B' * 256 + 'Z', |
12 | /* .xz signature: 0xfd, '7', 'z', 'X', 'Z', 0x00 */ | ||
13 | /* More info at: http://tukaani.org/xz/xz-file-format.txt */ | ||
12 | XZ_MAGIC1 = 0xfd * 256 + '7', | 14 | XZ_MAGIC1 = 0xfd * 256 + '7', |
13 | XZ_MAGIC2 = (('z' * 256 + 'X') * 256 + 'Z') * 256 + 0, | 15 | XZ_MAGIC2 = (('z' * 256 + 'X') * 256 + 'Z') * 256 + 0, |
14 | /* Different form: 32 bits, then 16 bits: */ | 16 | /* Different form: 32 bits, then 16 bits: */ |