summaryrefslogtreecommitdiff
path: root/source4/lib/compression/lzxpress.h
diff options
context:
space:
mode:
authorMatthieu Suiche <matt@msuiche.net>2008-07-10 09:31:43 +0000
committerStefan Metzmacher <metze@samba.org>2008-09-07 19:18:17 +0200
commit1825077840085e77b8190a3b6caaf127736ee183 (patch)
treec57284027a00b1abbcf2f2625704974fcfccc292 /source4/lib/compression/lzxpress.h
parent14965b7260f74fe8c49ace21562d913d37d50063 (diff)
downloadsamba-1825077840085e77b8190a3b6caaf127736ee183.tar.gz
samba-1825077840085e77b8190a3b6caaf127736ee183.tar.bz2
samba-1825077840085e77b8190a3b6caaf127736ee183.zip
lzxpress: fix for decompression...
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit ee505df3742dac0af8eec8b9b27d1e1f5ef54ca9)
Diffstat (limited to 'source4/lib/compression/lzxpress.h')
-rw-r--r--source4/lib/compression/lzxpress.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/lib/compression/lzxpress.h b/source4/lib/compression/lzxpress.h
index 4862fd2635..c81dda8f85 100644
--- a/source4/lib/compression/lzxpress.h
+++ b/source4/lib/compression/lzxpress.h
@@ -37,7 +37,9 @@
#define XPRESS_BLOCK_SIZE 0x10000
-uint32_t lzxpress_decompress(DATA_BLOB *inbuf,
- DATA_BLOB *outbuf);
+ssize_t lzxpress_decompress(const uint8_t *input,
+ uint32_t input_size,
+ uint8_t *output,
+ uint32_t max_output_size);
#endif /* _LZXPRESS_H */