summaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGravatar Salvador Cuñat <salvador.cunat@gmail.com>2015-04-04 01:07:59 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-04 10:33:49 -0700
commit3ca4e14d5c4f758ac3754619fea78bd6d7070177 (patch)
tree98a324891a43998764bfcbe9fa4d9f7388760b6d /file.h
parented6ae14a9f6f608cb8ca72e8982806ea03c43571 (diff)
downloadsubsurface-3ca4e14d5c4f758ac3754619fea78bd6d7070177.tar.gz
OSTCTools-Add support to import .dive files
OSTCTools is a windows based software by Robert Angeymar which performs configuration upgrade, memory analysis and download tasks for H&W OSTC devices. Downloaded dives are stored in files (one archive each) with the raw binary data heavily padded at the begining of the file, and some other data not included in H&W dive header protocol as the device's serial number. The import function simply takes the raw data part of the file and lets libdivecomputer do the parseing. Then adds some additional info as OSTC reported dive number and serial device number. Please note that OSTCTools is *not* a real logging software, it simply gets the DC raw data, so there isn't any information about dive site, equipment and so. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.h')
-rw-r--r--file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.h b/file.h
index b1fb6941d..baeb8e1b9 100644
--- a/file.h
+++ b/file.h
@@ -9,6 +9,7 @@ struct memblock {
extern int try_to_open_cochran(const char *filename, struct memblock *mem);
extern int try_to_open_liquivision(const char *filename, struct memblock *mem);
extern void datatrak_import(const char *file, struct dive_table *table);
+extern void ostctools_import(const char *file, struct dive_table *table);
#ifdef __cplusplus
extern "C" {