Added brotli compression
This commit is contained in:
11
src/lib/brotli.h
Normal file
11
src/lib/brotli.h
Normal file
@ -0,0 +1,11 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
#include <brotli/encode.h>
|
||||
|
||||
int brotli_init(BrotliEncoderState **state);
|
||||
|
||||
int brotli_compress(BrotliEncoderState *state, const char *in, unsigned long *in_len, char *out, unsigned long *out_len, int finish);
|
||||
|
||||
int brotli_free(BrotliEncoderState *state);
|
Reference in New Issue
Block a user