123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- #ifndef FASTLZ_H
- #define FASTLZ_H
- #define FASTLZ_VERSION 0x000500
- #define FASTLZ_VERSION_MAJOR 0
- #define FASTLZ_VERSION_MINOR 5
- #define FASTLZ_VERSION_REVISION 0
- #define FASTLZ_VERSION_STRING "0.5.0"
- #if defined(__cplusplus)
- extern "C" {
- #endif
- #include <stdint.h>
- #define FASTLZ_HASH_LOG 11
- #define FASTLZ_BUF_SIZE ((1 << FASTLZ_HASH_LOG) * sizeof(uint16_t))
- int fastlz_init(void* buf, int length)
- int fastlz_compress_level(int level, const void* input, int length,
- void* output)
- int fastlz_decompress(const void* input, int length, void* output, int maxout)
- int fastlz_compress(const void* input, int length, void* output)
- #if defined(__cplusplus)
- }
- #endif
- #endif
|