diff options
| author | John Wilbert M. Villamor <lameguy64@gmail.com> | 2019-04-06 10:11:07 +0800 |
|---|---|---|
| committer | John Wilbert M. Villamor <lameguy64@gmail.com> | 2019-04-06 10:11:07 +0800 |
| commit | f3e040230772f978540a71aea43dfde200992922 (patch) | |
| tree | bd8ca31b72dd01e24980b073854e263589530f56 /libpsn00b/lzp/bit.h | |
| download | psn00bsdk-f3e040230772f978540a71aea43dfde200992922.tar.gz | |
First commit
Diffstat (limited to 'libpsn00b/lzp/bit.h')
| -rw-r--r-- | libpsn00b/lzp/bit.h | 26 |
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 |
