From 579fbdf994b239ddcf68b1364fa3c84b2837d5c8 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Sat, 19 Oct 2019 16:05:49 +0000
Subject: [PATCH] Restore seems to be working, however...

---
 src/snapshot.h |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/snapshot.h b/src/snapshot.h
index 0d1511d..eda09ae 100644
--- a/src/snapshot.h
+++ b/src/snapshot.h
@@ -1,11 +1,18 @@
+/* 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);
-ts_bool xml_trisurf_tria(FILE *fh, ts_triangle_list *tlist);
-ts_bool xml_trisurf_tria_neigh(FILE *fh, ts_triangle_list *tlist);
-ts_bool xml_trisurf_vtx_neigh(FILE *fh, ts_vertex_list *vlist);
-ts_bool xml_trisurf_vtx_tristar(FILE *fh, ts_vertex_list *vlist);
+ts_bool xml_trisurf_tria(ts_string *data, ts_triangle_list *tlist);
+ts_bool xml_trisurf_tria_neigh(ts_string *data, ts_triangle_list *tlist);
+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);
 #endif

--
Gitblit v1.9.3