15 #ifndef LZMA_H_INTERNAL
16 # error Never include this file directly. Use <lzma.h> instead.
545 #define LZMA_STREAM_INIT \
546 { NULL, 0, 0, NULL, 0, 0, NULL, NULL, \
547 NULL, NULL, NULL, NULL, 0, 0, 0, 0, \
548 LZMA_RESERVED_ENUM, LZMA_RESERVED_ENUM }
RZ_API void Ht_() free(HtName_(Ht) *ht)
Custom functions for memory handling.
void * opaque
Pointer passed to .alloc() and .free()
void *LZMA_API_CALL * alloc(void *opaque, size_t nmemb, size_t size)
Pointer to a custom memory allocation function.
Passing data to and from liblzma.
const lzma_allocator * allocator
Custom memory allocation functions.
lzma_reserved_enum reserved_enum2
lzma_reserved_enum reserved_enum1
lzma_reserved_enum
Type of reserved enumeration variable in structures.
lzma_action action lzma_nothrow lzma_attr_warn_unused_result
LZMA_API(lzma_ret) lzma_code(lzma_stream *strm
Encode or decode data.
uint64_t uint64_t *progress_out lzma_nothrow
lzma_ret
Return values used by several functions in liblzma.
@ LZMA_PROG_ERROR
Programming error.
@ LZMA_DATA_ERROR
Data is corrupt.
@ LZMA_MEM_ERROR
Cannot allocate memory.
@ LZMA_FORMAT_ERROR
Memory usage limit was reached.
@ LZMA_STREAM_END
End of stream was reached.
@ LZMA_UNSUPPORTED_CHECK
Cannot calculate the integrity check.
@ LZMA_BUF_ERROR
No progress is possible.
@ LZMA_GET_CHECK
Integrity check type is now available.
@ LZMA_NO_CHECK
Input stream has no integrity check.
@ LZMA_OPTIONS_ERROR
Invalid or unsupported options.
@ LZMA_OK
Operation completed successfully.
lzma_action
The ‘action’ argument for lzma_code()
@ LZMA_SYNC_FLUSH
Make all the input available at output.
@ LZMA_FINISH
Finish the coding operation.
@ LZMA_RUN
Continue coding.
@ LZMA_FULL_FLUSH
Finish encoding of the current Block.
@ LZMA_FULL_BARRIER
Finish encoding of the current Block.
unsigned char lzma_bool
Boolean.