Rizin
unix-like reverse engineering framework and cli tools
delta.h
Go to the documentation of this file.
1 
6 /*
7  * Author: Lasse Collin
8  *
9  * This file has been put into the public domain.
10  * You can do whatever you want with this file.
11  *
12  * See ../lzma.h for information about liblzma as a whole.
13  */
14 
15 #ifndef LZMA_H_INTERNAL
16 # error Never include this file directly. Use <lzma.h> instead.
17 #endif
18 
19 
25 #define LZMA_FILTER_DELTA LZMA_VLI_C(0x03)
26 
27 
35 typedef enum {
38 
39 
45 typedef struct {
48 
60 # define LZMA_DELTA_DIST_MIN 1
61 # define LZMA_DELTA_DIST_MAX 256
62 
63  /*
64  * Reserved space to allow possible future extensions without
65  * breaking the ABI. You should not touch these, because the names
66  * of these variables may change. These are and will never be used
67  * when type is LZMA_DELTA_TYPE_BYTE, so it is safe to leave these
68  * uninitialized.
69  */
76 
lzma_delta_type
Type of the delta calculation.
Definition: delta.h:35
@ LZMA_DELTA_TYPE_BYTE
Definition: delta.h:36
unsigned int uint32_t
Definition: sftypes.h:29
Options for the Delta filter.
Definition: delta.h:45
uint32_t reserved_int3
Definition: delta.h:72
uint32_t reserved_int2
Definition: delta.h:71
uint32_t dist
Delta distance.
Definition: delta.h:59
uint32_t reserved_int4
Definition: delta.h:73
uint32_t reserved_int1
Definition: delta.h:70
void * reserved_ptr2
Definition: delta.h:75
void * reserved_ptr1
Definition: delta.h:74
lzma_delta_type type
Definition: delta.h:47