diff options
author | Anton Lundin <glance@acc.umu.se> | 2015-05-27 21:19:12 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-27 15:37:43 -0700 |
commit | 4321ef1d88d33e8eb2763d7ec54bcb59e21a285e (patch) | |
tree | c8cc8666e702213e8555df252e4e1348e8dc75d0 /libdivecomputer.h | |
parent | 4124052b38f4c2e2f8bef40ebc74d6bbd35382af (diff) | |
download | subsurface-4321ef1d88d33e8eb2763d7ec54bcb59e21a285e.tar.gz |
Enable diagnostic logs from dc configuration
This implements support for writing debug/diagnostic logs when
configuring dive computers and upgrading the firmware.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r-- | libdivecomputer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h index 2e4fb9aab..dfb62675f 100644 --- a/libdivecomputer.h +++ b/libdivecomputer.h @@ -45,6 +45,7 @@ const char *errmsg (dc_status_t rc); const char *do_libdivecomputer_import(device_data_t *data); const char *do_uemis_import(device_data_t *data); dc_status_t libdc_buffer_parser(struct dive *dive, device_data_t *data, unsigned char *buffer, int size); +void logfunc(dc_context_t *context, dc_loglevel_t loglevel, const char *file, unsigned int line, const char *function, const char *msg, void *userdata); extern int import_thread_cancelled; extern const char *progress_bar_text; |