From dba66b4f8a25cb7eb18de5f7ffca97e179d7a5d9 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sat, 19 Oct 2019 11:45:15 +0000 Subject: [PATCH] Moved compression/decompression routines to separate file --- src/snapshot.h | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/src/snapshot.h b/src/snapshot.h index 452202e..eda09ae 100644 --- a/src/snapshot.h +++ b/src/snapshot.h @@ -1,16 +1,11 @@ /* vim: set ts=4 sts=4 sw=4 noet : */ #ifndef _H_SNAPSHOT #define _H_SNAPSHOT - - - typedef struct{ char *string; ts_uint beg; } ts_string; - //#define COMPRESSION - ts_bool xml_trisurf_data(FILE *fh, ts_vesicle *vesicle); ts_bool xml_trisurf_header(FILE *fh, ts_vesicle *vesicle); ts_bool xml_trisurf_footer(FILE *fh); @@ -20,11 +15,4 @@ 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); #endif -- Gitblit v1.9.3