Set up the parsing of manual CSV files

This function wraps up the parsing of manually kept CSV log files. Set
up parameters received from C++ code for use in XSLT.

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2014-01-25 09:49:23 +02:00 committed by Dirk Hohndel
parent 47ad50d6de
commit 19200932fd
2 changed files with 98 additions and 0 deletions

1
dive.h
View file

@ -630,6 +630,7 @@ extern int parse_dm4_buffer(const char *url, const char *buf, int size, struct d
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, const char *csvtemplate, char **error);
extern void parse_manual_file(const char *filename, int separator_index, int units, int number, int date, int time, int duration, int location, int gps, int maxdepth, int meandepth, int buddy, int notes, int weight, int tags, char **error);
extern void save_dives(const char *filename);
extern void save_dives_logic(const char *filename, bool select_only);