44 dlen = compressBound (old_size);
46 dlen = old_size + (old_size / 100) + 20;
52 compress2 ((Bytef *) tmp,
80 uncompress ((Bytef *) output,
82 (
const Bytef *) input,
static char * data
The data to insert into the dht.
static int result
Global testing status.
char * GNUNET_decompress(const char *input, size_t input_size, size_t output_size)
Decompress input, return the decompressed data as output.
int GNUNET_try_compression(const char *data, size_t old_size, char **result, size_t *new_size)
Try to compress the given block of data using libz.
#define GNUNET_malloc(size)
Wrapper around malloc.
#define GNUNET_free(ptr)
Wrapper around free.