summaryrefslogtreecommitdiffstats
path: root/core/file.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-08-18 15:06:15 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-23 10:17:12 -0700
commitd815e0c9476ef62e6b84fb28ce48ab7cddefe77e (patch)
tree997b938f8080518d339797aae4630eb66b81e204 /core/file.h
parentecb64d7e3e3c6c875defc9dc4aab01c65ccddf8a (diff)
downloadsubsurface-d815e0c9476ef62e6b84fb28ce48ab7cddefe77e.tar.gz
Parse: pass dive_table argument to parse_file()
To enable undo of divelog-importing it is crucial that parse_file() can parse into arbitrary dive tables. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/file.h')
-rw-r--r--core/file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/file.h b/core/file.h
index 9653fbb96..7dbd07b48 100644
--- a/core/file.h
+++ b/core/file.h
@@ -16,7 +16,7 @@ extern void ostctools_import(const char *file, struct dive_table *table);
extern "C" {
#endif
extern int readfile(const char *filename, struct memblock *mem);
-extern int try_to_open_zip(const char *filename);
+extern int try_to_open_zip(const char *filename, struct dive_table *table);
#ifdef __cplusplus
}
#endif