Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Enumerations
xz_stream.h File Reference

Go to the source code of this file.

Macros

#define STREAM_HEADER_SIZE   12
 
#define HEADER_MAGIC   "\3757zXZ"
 
#define HEADER_MAGIC_SIZE   6
 
#define FOOTER_MAGIC   "YZ"
 
#define FOOTER_MAGIC_SIZE   2
 
#define VLI_MAX   ((vli_type)-1 / 2)
 
#define VLI_UNKNOWN   ((vli_type)-1)
 
#define VLI_BYTES_MAX   (sizeof(vli_type) * 8 / 7)
 
#define XZ_CHECK_MAX   15
 

Typedefs

typedef uint64_t vli_type
 

Enumerations

enum  xz_check { XZ_CHECK_NONE = 0, XZ_CHECK_CRC32 = 1, XZ_CHECK_CRC64 = 4, XZ_CHECK_SHA256 = 10 }
 

Macro Definition Documentation

#define FOOTER_MAGIC   "YZ"

Definition at line 31 of file xz_stream.h.

#define FOOTER_MAGIC_SIZE   2

Definition at line 32 of file xz_stream.h.

#define HEADER_MAGIC   "\3757zXZ"

Definition at line 28 of file xz_stream.h.

#define HEADER_MAGIC_SIZE   6

Definition at line 29 of file xz_stream.h.

#define STREAM_HEADER_SIZE   12

Definition at line 26 of file xz_stream.h.

#define VLI_BYTES_MAX   (sizeof(vli_type) * 8 / 7)

Definition at line 49 of file xz_stream.h.

#define VLI_MAX   ((vli_type)-1 / 2)

Definition at line 45 of file xz_stream.h.

#define VLI_UNKNOWN   ((vli_type)-1)

Definition at line 46 of file xz_stream.h.

#define XZ_CHECK_MAX   15

Definition at line 60 of file xz_stream.h.

Typedef Documentation

typedef uint64_t vli_type

Definition at line 43 of file xz_stream.h.

Enumeration Type Documentation

enum xz_check
Enumerator:
XZ_CHECK_NONE 
XZ_CHECK_CRC32 
XZ_CHECK_CRC64 
XZ_CHECK_SHA256 

Definition at line 52 of file xz_stream.h.