diff options
Diffstat (limited to 'parse-xml.c')
-rw-r--r-- | parse-xml.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c index d54456e92..6da99b378 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -17,6 +17,7 @@ #include "dive.h" #include "device.h" +#include "membuffer.h" int verbose, quit; int metric = 1; @@ -1738,6 +1739,13 @@ void parse_xml_buffer(const char *url, const char *buffer, int size, xmlFreeDoc(doc); } +void parse_mkvi_buffer(struct membuffer *txt, struct membuffer *csv, const char *starttime) +{ + dive_start(); + divedate(starttime, &cur_dive->when); + dive_end(); +} + extern int dm4_events(void *handle, int columns, char **data, char **column) { event_start(); |