summaryrefslogtreecommitdiffstats
path: root/include/linux/nx842.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nx842.h')
-rw-r--r--include/linux/nx842.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/nx842.h b/include/linux/nx842.h
new file mode 100644
index 0000000..a4d324c
--- /dev/null
+++ b/include/linux/nx842.h
@@ -0,0 +1,11 @@
+#ifndef __NX842_H__
+#define __NX842_H__
+
+int nx842_get_workmem_size(void);
+int nx842_get_workmem_size_aligned(void);
+int nx842_compress(const unsigned char *in, unsigned int in_len,
+ unsigned char *out, unsigned int *out_len, void *wrkmem);
+int nx842_decompress(const unsigned char *in, unsigned int in_len,
+ unsigned char *out, unsigned int *out_len, void *wrkmem);
+
+#endif
OpenPOWER on IntegriCloud