xz_stream.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) | xz_stream.h (d89775fc929c5a1d91ed518a71b456da0865e5ff) |
---|---|
1/* 2 * Definitions for handling the .xz file format 3 * 4 * Author: Lasse Collin <lasse.collin@tukaani.org> 5 * 6 * This file has been put into the public domain. 7 * You can do whatever you want with this file. 8 */ --- 5 unchanged lines hidden (view full) --- 14# include <linux/crc32.h> 15# undef crc32 16# define xz_crc32(buf, size, crc) \ 17 (~crc32_le(~(uint32_t)(crc), buf, size)) 18#endif 19 20/* 21 * See the .xz file format specification at | 1/* 2 * Definitions for handling the .xz file format 3 * 4 * Author: Lasse Collin <lasse.collin@tukaani.org> 5 * 6 * This file has been put into the public domain. 7 * You can do whatever you want with this file. 8 */ --- 5 unchanged lines hidden (view full) --- 14# include <linux/crc32.h> 15# undef crc32 16# define xz_crc32(buf, size, crc) \ 17 (~crc32_le(~(uint32_t)(crc), buf, size)) 18#endif 19 20/* 21 * See the .xz file format specification at |
22 * http://tukaani.org/xz/xz-file-format.txt | 22 * https://tukaani.org/xz/xz-file-format.txt |
23 * to understand the container format. 24 */ 25 26#define STREAM_HEADER_SIZE 12 27 28#define HEADER_MAGIC "\3757zXZ" 29#define HEADER_MAGIC_SIZE 6 30 --- 32 unchanged lines hidden --- | 23 * to understand the container format. 24 */ 25 26#define STREAM_HEADER_SIZE 12 27 28#define HEADER_MAGIC "\3757zXZ" 29#define HEADER_MAGIC_SIZE 6 30 --- 32 unchanged lines hidden --- |