aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/lzp/bit.h
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-04-06 10:11:07 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-04-06 10:11:07 +0800
commitf3e040230772f978540a71aea43dfde200992922 (patch)
treebd8ca31b72dd01e24980b073854e263589530f56 /libpsn00b/lzp/bit.h
downloadpsn00bsdk-f3e040230772f978540a71aea43dfde200992922.tar.gz
First commit
Diffstat (limited to 'libpsn00b/lzp/bit.h')
-rw-r--r--libpsn00b/lzp/bit.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/libpsn00b/lzp/bit.h b/libpsn00b/lzp/bit.h
new file mode 100644
index 0000000..ff71025
--- /dev/null
+++ b/libpsn00b/lzp/bit.h
@@ -0,0 +1,26 @@
+#ifndef _LZP_BIT_H
+#define _LZP_BIT_H
+
+extern unsigned char* inPtr;
+extern int inBytes;
+extern unsigned char* outPtr;
+extern int outBytes;
+
+extern int bit_buf;
+extern int bit_count;
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void init_bits();
+void put_bits(int n, int x);
+void flush_bits();
+int get_bits(int n);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif // _LZP_BIT_H