From 656ec87882ee74b192c4ea4a233a235eca7b04d4 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 1 Dec 2008 16:30:11 +0200 Subject: Added lzma_delta_coder_memusage() which also validates the options. --- src/liblzma/delta/delta_common.h | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'src/liblzma/delta/delta_common.h') 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 -- cgit v1.2.3