summaryrefslogtreecommitdiffstats
path: root/include/lzo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lzo.h')
-rw-r--r--include/lzo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/lzo.h b/include/lzo.h
index 569498596e..0530a6806d 100644
--- a/include/lzo.h
+++ b/include/lzo.h
@@ -41,6 +41,10 @@ int lzo1x_decompress_safe(const unsigned char *src, size_t src_len,
#define LZO_E_INPUT_NOT_CONSUMED (-8)
#define LZO_E_NOT_YET_IMPLEMENTED (-9)
-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