Add optional support for po2 import from csv files

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:40 +01:00 committed by Dirk Hohndel
parent 907a22f37e
commit 8dde12fa35
6 changed files with 55 additions and 7 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, char **error);
extern void parse_csv_file(const char *filename, int time, int depth, int temp, int po2f, char **error);
extern void save_dives(const char *filename);
extern void save_dives_logic(const char *filename, bool select_only);