diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-12-01 16:30:11 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-12-01 16:30:11 +0200 |
commit | 656ec87882ee74b192c4ea4a233a235eca7b04d4 (patch) | |
tree | b0d2b9cc96ebedc03d2b8f88d452a84417b1933e /src/liblzma/delta/delta_common.h | |
parent | Automake includes the m4 directory, so don't add it in (diff) | |
download | xz-656ec87882ee74b192c4ea4a233a235eca7b04d4.tar.xz |
Added lzma_delta_coder_memusage() which also validates
the options.
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/delta/delta_common.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/liblzma/delta/delta_common.h b/src/liblzma/delta/delta_common.h index e7b3eeda..a01de547 100644 --- a/src/liblzma/delta/delta_common.h +++ b/src/liblzma/delta/delta_common.h @@ -22,23 +22,6 @@ #include "common.h" -struct lzma_coder_s { - /// Next coder in the chain - lzma_next_coder next; - - /// Delta distance - size_t distance; - - /// Position in history[] - uint8_t pos; - - /// Buffer to hold history of the original data - uint8_t history[LZMA_DELTA_DIST_MAX]; -}; - - -extern lzma_ret lzma_delta_coder_init( - lzma_next_coder *next, lzma_allocator *allocator, - const lzma_filter_info *filters, lzma_code_function code); +extern uint64_t lzma_delta_coder_memusage(const void *options); #endif |