10 #ifndef _PG_LZCOMPRESS_H_
11 #define _PG_LZCOMPRESS_H_
21 #define PGLZ_MAX_OUTPUT(_dlen) ((_dlen) + 4)
89 int32 rawsize,
bool check_complete);
91 int32 total_compressed_size);
PGDLLIMPORT const PGLZ_Strategy *const PGLZ_strategy_always
PGDLLIMPORT const PGLZ_Strategy *const PGLZ_strategy_default
struct PGLZ_Strategy PGLZ_Strategy
int32 pglz_decompress(const char *source, int32 slen, char *dest, int32 rawsize, bool check_complete)
int32 pglz_compress(const char *source, int32 slen, char *dest, const PGLZ_Strategy *strategy)
int32 pglz_maximum_compressed_size(int32 rawsize, int32 total_compressed_size)
static rewind_source * source