summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-24 16:26:00 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-24 16:26:00 -0800
commitd42cc5a40c419fc3350a19eaf9e1154bc0433ca3 (patch)
tree135be41fefa4f41a6394e52f87a9470103a1831f /libdivecomputer.h
parent4de739b935f7795e78333863d92f070e52b2f385 (diff)
downloadsubsurface-d42cc5a40c419fc3350a19eaf9e1154bc0433ca3.tar.gz
Enable libdivecomputer log or dump from the UI
Pick filenames for these functions as they are selected. Use the windows-safe fopen function. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r--libdivecomputer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h
index cc5aa7555..754a98f44 100644
--- a/libdivecomputer.h
+++ b/libdivecomputer.h
@@ -24,6 +24,8 @@ typedef struct device_data_t {
dc_context_t *context;
int preexisting;
bool force_download;
+ bool libdc_log;
+ bool libdc_dump;
} device_data_t;
const char *do_libdivecomputer_import(device_data_t *data);
@@ -32,6 +34,8 @@ const char *do_uemis_import(const char *mountpath, short force_download);
extern int import_thread_cancelled;
extern const char *progress_bar_text;
extern double progress_bar_fraction;
+extern char *logfile_name;
+extern char *dumpfile_name;
#ifdef __cplusplus
}