zstd/contrib/long_distance_matching/ldm.h

20 lines
532 B
C
Raw Normal View History

2017-07-05 20:57:07 +00:00
#ifndef LDM_H
#define LDM_H
#include <stddef.h> /* size_t */
#define LDM_COMPRESS_SIZE 4
#define LDM_DECOMPRESS_SIZE 4
#define LDM_HEADER_SIZE ((LDM_COMPRESS_SIZE)+(LDM_DECOMPRESS_SIZE))
2017-07-10 13:32:29 +00:00
size_t LDM_compress(const void *src, size_t srcSize,
void *dst, size_t maxDstSize);
2017-07-05 20:57:07 +00:00
2017-07-10 13:32:29 +00:00
size_t LDM_decompress(const void *src, size_t srcSize,
void *dst, size_t maxDstSize);
2017-07-05 20:57:07 +00:00
2017-07-10 13:32:29 +00:00
void LDM_read_header(const void *src, size_t *compressSize,
size_t *decompressSize);
2017-07-05 20:57:07 +00:00
#endif /* LDM_H */