Add optional support for stopdepth import from csv

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2013-11-21 23:48:42 +01:00 committed by Dirk Hohndel
parent 5eccd73a30
commit 26656310ab
6 changed files with 52 additions and 6 deletions

2
dive.h
View file

@ -626,7 +626,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, char **error);
extern void parse_csv_file(const char *filename, int time, int depth, int temp, int po2f, int cnsf, int stopdepthf, char **error);
extern void save_dives(const char *filename);
extern void save_dives_logic(const char *filename, bool select_only);