summaryrefslogtreecommitdiffstats
path: root/linux_lunzip.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-08-26 07:57:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-08-26 07:57:14 +0000
commitb9c3804bd95fa4adf48dd177743ccedf6f35b321 (patch)
tree742dfd2b9b12f5a22f8deb808697300440230305 /linux_lunzip.h
parentInitial commit. (diff)
downloadxlunzip-b9c3804bd95fa4adf48dd177743ccedf6f35b321.tar.xz
xlunzip-b9c3804bd95fa4adf48dd177743ccedf6f35b321.zip
Adding upstream version 0.3.upstream/0.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'linux_lunzip.h')
-rw-r--r--linux_lunzip.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/linux_lunzip.h b/linux_lunzip.h
new file mode 100644
index 0000000..8aafbad
--- /dev/null
+++ b/linux_lunzip.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef LINUX_DECOMPRESS_LUNZIP_H
+#define LINUX_DECOMPRESS_LUNZIP_H
+
+int lunzip(unsigned char *inbuf, long in_len,
+ long (*fill)(void*, unsigned long),
+ long (*flush)(void*, unsigned long),
+ unsigned char *outbuf,
+ long *in_posp,
+ void (*error)(char *x));
+
+int __lunzip(unsigned char *inbuf, long in_len,
+ long (*fill)(void*, unsigned long),
+ long (*flush)(void*, unsigned long),
+ unsigned char *outbuf, long out_size,
+ long *in_posp, long *out_posp,
+ void (*error)(char *x));
+#endif