From 842378276ab4c4a8dabd02324bb24b8da39c4384 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Fri, 18 Oct 2019 10:28:34 +0000 Subject: [PATCH] Done and implemented compression. It doesn't segfaults at the moment --- src/restore.h | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/restore.h b/src/restore.h index 16efff2..3cc9d4a 100644 --- a/src/restore.h +++ b/src/restore.h @@ -1,13 +1,20 @@ +/* vim: set ts=4 sts=4 sw=4 noet : */ #ifndef _H_RESTORE #define _H_RESTORE - -ts_bool parseDump(char *dumpfname); +#include <libxml/xmlmemory.h> +#include <libxml/parser.h> +#include "general.h" +ts_vesicle *parseDump(char *dumpfname); ts_vesicle *parseTrisurfTag(xmlDocPtr doc, xmlNodePtr cur); +ts_bool setGlobalTapeTXTfromTapeTag(xmlDocPtr doc, xmlNodePtr cur); ts_bool parseTrisurfVtxn(ts_vertex_list *vlist, xmlDocPtr doc, xmlNodePtr cur); ts_bool parseTrisurfTria(ts_vesicle *vesicle, xmlDocPtr doc, xmlNodePtr cur); ts_bool parseTrisurfTriaNeigh(ts_vesicle *vesicle, xmlDocPtr doc, xmlNodePtr cur); ts_bool parseTrisurfTristar(ts_vesicle *vesicle, xmlDocPtr doc, xmlNodePtr cur); +ts_bool parseXMLPointData(ts_vesicle *vesicle,xmlDocPtr doc, xmlNodePtr cur); ts_bool parseXMLVertexPosition(ts_vesicle *vesicle,xmlDocPtr doc, xmlNodePtr cur); ts_bool parseXMLBonds(ts_vesicle *vesicle,xmlDocPtr doc, xmlNodePtr cur); - +ts_bool parseTrisurfNucleus(ts_vesicle *vesicle, xmlDocPtr doc, xmlNodePtr cur); +ts_bool parseTrisurfConstantVolume(xmlDocPtr doc, xmlNodePtr cur); +ts_bool parseTrisurfConstantArea(xmlDocPtr doc, xmlNodePtr cur); #endif -- Gitblit v1.9.3