master
h 15 lines 734 Bytes
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 #include "compression.h"
4
5 #ifndef NETDATA_STREAMING_COMPRESSION_BROTLI_H
6 #define NETDATA_STREAMING_COMPRESSION_BROTLI_H
7
8 void stream_compressor_init_brotli(struct compressor_state *state);
9 void stream_compressor_destroy_brotli(struct compressor_state *state);
10 size_t stream_compress_brotli(struct compressor_state *state, const char *data, size_t size, const char **out);
11 size_t stream_decompress_brotli(struct decompressor_state *state, const char *compressed_data, size_t compressed_size);
12 void stream_decompressor_init_brotli(struct decompressor_state *state);
13 void stream_decompressor_destroy_brotli(struct decompressor_state *state);
14
15 #endif //NETDATA_STREAMING_COMPRESSION_BROTLI_H