master
h 15 lines 716 Bytes
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 #include "compression.h"
4
5 #ifndef NETDATA_STREAMING_COMPRESSION_GZIP_H
6 #define NETDATA_STREAMING_COMPRESSION_GZIP_H
7
8 void stream_compressor_init_gzip(struct compressor_state *state);
9 void stream_compressor_destroy_gzip(struct compressor_state *state);
10 size_t stream_compress_gzip(struct compressor_state *state, const char *data, size_t size, const char **out);
11 size_t stream_decompress_gzip(struct decompressor_state *state, const char *compressed_data, size_t compressed_size);
12 void stream_decompressor_init_gzip(struct decompressor_state *state);
13 void stream_decompressor_destroy_gzip(struct decompressor_state *state);
14
15 #endif //NETDATA_STREAMING_COMPRESSION_GZIP_H