summaryrefslogtreecommitdiffstats
path: root/core/file.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-03 22:29:40 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commitf3e1187e65df8e3fdd989cbee19ee2b9472c6735 (patch)
tree8127944c08d889184c980b1dfd94d611e09357f5 /core/file.h
parent7c64822b9b73ef76e2310ff2931f76e29899535e (diff)
downloadsubsurface-f3e1187e65df8e3fdd989cbee19ee2b9472c6735.tar.gz
Cleanup: move parse-function declarations out of "dive.h"
Move the declaration of these functions to "file.h" and "parse.h" according to the translation unit they are defined in. Thus, not all users of "dive.h" have to suck in "sqlite3.h". Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/file.h')
-rw-r--r--core/file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/file.h b/core/file.h
index a570e1330..24c9d47c6 100644
--- a/core/file.h
+++ b/core/file.h
@@ -16,6 +16,7 @@ extern int datatrak_import(struct memblock *mem, struct dive_table *table, struc
extern void ostctools_import(const char *file, struct dive_table *table, struct trip_table *trips, struct dive_site_table *sites);
extern int readfile(const char *filename, struct memblock *mem);
+extern int parse_file(const char *filename, struct dive_table *table, struct trip_table *trips, struct dive_site_table *sites);
extern int try_to_open_zip(const char *filename, struct dive_table *table, struct trip_table *trips, struct dive_site_table *sites);
#ifdef __cplusplus
}