From 4321ef1d88d33e8eb2763d7ec54bcb59e21a285e Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 27 May 2015 21:19:12 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- libdivecomputer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libdivecomputer.h') 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; -- cgit v1.2.3-70-g09d2