lz_decoder.h   lz_decoder.h 
skipping to change at line 67 skipping to change at line 67
lzma_dict *restrict dict, const uint8_t *restrict in , lzma_dict *restrict dict, const uint8_t *restrict in ,
size_t *restrict in_pos, size_t in_size); size_t *restrict in_pos, size_t in_size);
void (*reset)(lzma_coder *coder, const void *options); void (*reset)(lzma_coder *coder, const void *options);
/// Set the uncompressed size /// Set the uncompressed size
void (*set_uncompressed)(lzma_coder *coder, void (*set_uncompressed)(lzma_coder *coder,
lzma_vli uncompressed_size); lzma_vli uncompressed_size);
/// Free allocated resources /// Free allocated resources
void (*end)(lzma_coder *coder, lzma_allocator *allocator); void (*end)(lzma_coder *coder, const lzma_allocator *allocator);
} lzma_lz_decoder; } lzma_lz_decoder;
#define LZMA_LZ_DECODER_INIT \ #define LZMA_LZ_DECODER_INIT \
(lzma_lz_decoder){ \ (lzma_lz_decoder){ \
.coder = NULL, \ .coder = NULL, \
.code = NULL, \ .code = NULL, \
.reset = NULL, \ .reset = NULL, \
.set_uncompressed = NULL, \ .set_uncompressed = NULL, \
.end = NULL, \ .end = NULL, \
} }
extern lzma_ret lzma_lz_decoder_init(lzma_next_coder *next, extern lzma_ret lzma_lz_decoder_init(lzma_next_coder *next,
lzma_allocator *allocator, const lzma_filter_info *filters, const lzma_allocator *allocator,
const lzma_filter_info *filters,
lzma_ret (*lz_init)(lzma_lz_decoder *lz, lzma_ret (*lz_init)(lzma_lz_decoder *lz,
lzma_allocator *allocator, const void *options, const lzma_allocator *allocator, const void *options ,
lzma_lz_options *lz_options)); lzma_lz_options *lz_options));
extern uint64_t lzma_lz_decoder_memusage(size_t dictionary_size); extern uint64_t lzma_lz_decoder_memusage(size_t dictionary_size);
extern void lzma_lz_decoder_uncompressed( extern void lzma_lz_decoder_uncompressed(
lzma_coder *coder, lzma_vli uncompressed_size); lzma_coder *coder, lzma_vli uncompressed_size);
////////////////////// //////////////////////
// Inline functions // // Inline functions //
////////////////////// //////////////////////
 End of changes. 3 change blocks. 
3 lines changed or deleted 4 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/