summaryrefslogtreecommitdiffstats
path: root/include/lzo.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-11-28 21:39:12 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-11-29 21:12:42 +0100
commit83d0904980531a4ac96ebc1f5becc52422536dbe (patch)
tree51f23a4eba2069fa233ce80538b4ae97554af990 /include/lzo.h
parentb6996039f622ccc8488176e211bf41315f9691c6 (diff)
downloadbarebox-83d0904980531a4ac96ebc1f5becc52422536dbe.tar.gz
barebox-83d0904980531a4ac96ebc1f5becc52422536dbe.tar.xz
lzo: export decompress_unlzo function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/lzo.h')
-rw-r--r--include/lzo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/lzo.h b/include/lzo.h
index 569498596e..b4a514f1f3 100644
--- a/include/lzo.h
+++ b/include/lzo.h
@@ -43,4 +43,10 @@ int lzo1x_decompress_safe(const unsigned char *src, size_t src_len,
int unlzo(int in_fd, int out_fd, int *dest_len);
+int decompress_unlzo(u8 *input, int in_len,
+ int (*fill) (void *, unsigned int),
+ int (*flush) (void *, unsigned int),
+ u8 *output, int *posp,
+ void (*error) (char *x));
+
#endif