summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-11-15 17:34:20 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-15 08:15:15 -0800
commit5807e4589f09e917a673f5ee3514b2c11fb86082 (patch)
tree5292e252b56b16ee1cda2bb1bf4caa2d245177b3 /dive.h
parentff193e309c7f699a1a9a4081c9886d066c7668cd (diff)
downloadsubsurface-5807e4589f09e917a673f5ee3514b2c11fb86082.tar.gz
Initial support for Suunto DM5 import
This implements import from Suunto DM5 database, but there is something wrong with some of the sample dives in the database I received as sample. It seems that we should detect missing/bogus data and treat it properly as divelogs.de does with the same dives. Anyway, when we have proper data, this import appears to produce sensible results. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 321606dcf..8d5a93ae9 100644
--- a/dive.h
+++ b/dive.h
@@ -621,6 +621,7 @@ extern void parse_xml_exit(void);
extern void set_filename(const char *filename, bool force);
extern int parse_dm4_buffer(sqlite3 *handle, const char *url, const char *buf, int size, struct dive_table *table);
+extern int parse_dm5_buffer(sqlite3 *handle, const char *url, const char *buf, int size, struct dive_table *table);
extern int parse_shearwater_buffer(sqlite3 *handle, const char *url, const char *buf, int size, struct dive_table *table);
extern int parse_file(const char *filename);