From a69203a95d66595b80891aafc1ca8a59303290d0 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Fri, 18 Oct 2019 09:16:27 +0000 Subject: [PATCH] Debugged all the leaks. Decompression still not working --- src/snapshot.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/snapshot.h b/src/snapshot.h index 0db57f4..e7a3865 100644 --- a/src/snapshot.h +++ b/src/snapshot.h @@ -19,10 +19,12 @@ ts_bool xml_trisurf_vtx_neigh(ts_string *data, ts_vertex_list *vlist); ts_bool xml_trisurf_vtx_tristar(ts_string *data, ts_vertex_list *vlist); ts_bool xml_trisurf_nucleus(ts_string *data, ts_vesicle* vesicle); +ts_bool xml_trisurf_constvolarea(ts_string *data, ts_double volume, ts_double area); /* UTILITIES */ char *base64_encode(const unsigned char *data, size_t input_length, size_t *output_length); unsigned char *base64_decode(const char *data, size_t input_length, size_t *output_length); void build_decoding_table(); void base64_cleanup(); ts_uint ts_compress_string64(char *data, ts_uint data_len, char **compressed); +char *ts_compress(char *data, ts_uint data_len, ts_uint original_len); #endif -- Gitblit v1.9.3