Rizin
unix-like reverse engineering framework and cli tools
index_hash.h
Go to the documentation of this file.
1 
9 /*
10  * Author: Lasse Collin
11  *
12  * This file has been put into the public domain.
13  * You can do whatever you want with this file.
14  *
15  * See ../lzma.h for information about liblzma as a whole.
16  */
17 
18 #ifndef LZMA_H_INTERNAL
19 # error Never include this file directly. Use <lzma.h> instead.
20 #endif
21 
25 typedef struct lzma_index_hash_s lzma_index_hash;
26 
27 
39 extern LZMA_API(lzma_index_hash *) lzma_index_hash_init(
40  lzma_index_hash *index_hash, const lzma_allocator *allocator)
42 
43 
47 extern LZMA_API(void) lzma_index_hash_end(
50 
51 
65 extern LZMA_API(lzma_ret) lzma_index_hash_append(lzma_index_hash *index_hash,
68 
69 
95 extern LZMA_API(lzma_ret) lzma_index_hash_decode(lzma_index_hash *index_hash,
96  const uint8_t *in, size_t *in_pos, size_t in_size)
98 
99 
105 extern LZMA_API(lzma_vli) lzma_index_hash_size(
106  const lzma_index_hash *index_hash)
const lzma_allocator const uint8_t size_t in_size
Definition: block.h:527
const lzma_allocator * allocator
Definition: block.h:377
const lzma_allocator *allocator lzma_nothrow lzma_attr_warn_unused_result
Definition: index_hash.h:41
lzma_vli unpadded_size
Definition: index_hash.h:66
const lzma_allocator *allocator lzma_nothrow
Definition: index_hash.h:49
LZMA_API(lzma_index_hash *) lzma_index_hash_init(lzma_index_hash *index_hash
Allocate and initialize a new lzma_index_hash structure.
const uint8_t size_t * in_pos
Definition: index_hash.h:96
const uint8_t * in
Definition: index_hash.h:96
#define const
Definition: ansidecl.h:240
#define lzma_attr_pure
Definition: lzma.h:265
unsigned char uint8_t
Definition: sftypes.h:31
Custom functions for memory handling.
Definition: base.h:372
uint64_t uncompressed_size
Definition: list.c:106
uint64_t lzma_vli
Variable-length integer type.
Definition: vli.h:63
lzma_ret
Return values used by several functions in liblzma.
Definition: base.h:57