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
{
36
LZMA_DELTA_TYPE_BYTE
37
}
lzma_delta_type
;
38
39
45
typedef
struct
{
47
lzma_delta_type
type
;
48
59
uint32_t
dist
;
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
*/
70
uint32_t
reserved_int1
;
71
uint32_t
reserved_int2
;
72
uint32_t
reserved_int3
;
73
uint32_t
reserved_int4
;
74
void
*
reserved_ptr1
;
75
void
*
reserved_ptr2
;
76
77
}
lzma_options_delta
;
lzma_delta_type
lzma_delta_type
Type of the delta calculation.
Definition:
delta.h:35
LZMA_DELTA_TYPE_BYTE
@ LZMA_DELTA_TYPE_BYTE
Definition:
delta.h:36
uint32_t
unsigned int uint32_t
Definition:
sftypes.h:29
lzma_options_delta
Options for the Delta filter.
Definition:
delta.h:45
lzma_options_delta::reserved_int3
uint32_t reserved_int3
Definition:
delta.h:72
lzma_options_delta::reserved_int2
uint32_t reserved_int2
Definition:
delta.h:71
lzma_options_delta::dist
uint32_t dist
Delta distance.
Definition:
delta.h:59
lzma_options_delta::reserved_int4
uint32_t reserved_int4
Definition:
delta.h:73
lzma_options_delta::reserved_int1
uint32_t reserved_int1
Definition:
delta.h:70
lzma_options_delta::reserved_ptr2
void * reserved_ptr2
Definition:
delta.h:75
lzma_options_delta::reserved_ptr1
void * reserved_ptr1
Definition:
delta.h:74
lzma_options_delta::type
lzma_delta_type type
Definition:
delta.h:47
subprojects
xz-5.2.5
src
liblzma
api
lzma
delta.h
Generated by
1.9.1