summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r--libdivecomputer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h
index 91548bac3..2e4fb9aab 100644
--- a/libdivecomputer.h
+++ b/libdivecomputer.h
@@ -13,6 +13,13 @@
extern "C" {
#endif
+struct dc_descriptor_t {
+ const char *vendor;
+ const char *product;
+ dc_family_t type;
+ unsigned int model;
+};
+
/* don't forget to include the UI toolkit specific display-XXX.h first
to get the definition of progressbar_t */
typedef struct device_data_t
@@ -34,8 +41,10 @@ typedef struct device_data_t
struct dive_table *download_table;
} device_data_t;
+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);
extern int import_thread_cancelled;
extern const char *progress_bar_text;