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:19:24 +0200
commit008c9a68874026989d286e4a06a3a4f2f0e32605 (patch)
tree515a1ec8066ff0608e9ffffb438305cb10792dd7 /source4/lib/compression/lzxpress.h
parent6e0335f8648f5ca2869ad1dd16c1e2aec20bd282 (diff)
downloadsamba-008c9a68874026989d286e4a06a3a4f2f0e32605.tar.gz
samba-008c9a68874026989d286e4a06a3a4f2f0e32605.tar.bz2
samba-008c9a68874026989d286e4a06a3a4f2f0e32605.zip
lzxpress: Import of lzxpress compression
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit fd84c5a08f7e8d6402e5f68eede546eb092d22aa)
Diffstat (limited to 'source4/lib/compression/lzxpress.h')
-rw-r--r--source4/lib/compression/lzxpress.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/compression/lzxpress.h b/source4/lib/compression/lzxpress.h
index c81dda8f85..df0ee59a0e 100644
--- a/source4/lib/compression/lzxpress.h
+++ b/source4/lib/compression/lzxpress.h
@@ -37,6 +37,11 @@
#define XPRESS_BLOCK_SIZE 0x10000
+ssize_t lzxpress_compress(const uint8_t *uncompressed,
+ uint32_t uncompressed_size,
+ uint8_t *compressed,
+ uint32_t max_compressed_size);
+
ssize_t lzxpress_decompress(const uint8_t *input,
uint32_t input_size,
uint8_t *output,