summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-01-16 22:50:14 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-17 05:57:40 +0700
commitef54cb427e2d9f4083fa7b8525e4320213beb3cb (patch)
treeffe9cb811f2b1a43ff2740009614bf3e455bb34f /dive.h
parent209a793acf69d470c660f482b64266f7b5875549 (diff)
downloadsubsurface-ef54cb427e2d9f4083fa7b8525e4320213beb3cb.tar.gz
Support for XSLT template for CSV import
This will allow one to give CSV tag as parameter when importing CSV files. On normal case one will use csv, but when special handling is needed we can give a specific XSLT file instead. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index d3bada163..e4c4e354c 100644
--- a/dive.h
+++ b/dive.h
@@ -627,7 +627,7 @@ extern void set_filename(const char *filename, bool force);
extern int parse_dm4_buffer(const char *url, const char *buf, int size, struct dive_table *table, char **error);
extern void parse_file(const char *filename, char **error);
-extern void parse_csv_file(const char *filename, int time, int depth, int temp, int po2f, int cnsf, int stopdepthf, int sepidx, char **error);
+extern void parse_csv_file(const char *filename, int time, int depth, int temp, int po2f, int cnsf, int stopdepthf, int sepidx, const char *csvtemplate, char **error);
extern void save_dives(const char *filename);
extern void save_dives_logic(const char *filename, bool select_only);