diff options
author | Anton Lundin <glance@acc.umu.se> | 2016-12-28 20:55:53 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-12-28 22:40:18 -0800 |
commit | 00629c861cc9ecd466dfdaa8049e3dd5e5752ce1 (patch) | |
tree | 88a3aa30583dddf788a44b1a6c6e0e735020dcac /core/libdivecomputer.h | |
parent | db8e786f85a821441166a237a76f576f11cf4bd0 (diff) | |
download | subsurface-00629c861cc9ecd466dfdaa8049e3dd5e5752ce1.tar.gz |
Rename ostc_get_data_descriptor to get_descriptor
This renames and cleans up ostc_get_data_descriptor into get_descriptor,
for more generic use.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/libdivecomputer.h')
-rw-r--r-- | core/libdivecomputer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/libdivecomputer.h b/core/libdivecomputer.h index 613ab702d..ecf4dff63 100644 --- a/core/libdivecomputer.h +++ b/core/libdivecomputer.h @@ -52,7 +52,7 @@ 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); -dc_descriptor_t *ostc_get_data_descriptor(int data_model, dc_family_t data_fam); +dc_descriptor_t *get_descriptor(dc_family_t type, unsigned int model); extern int import_thread_cancelled; extern const char *progress_bar_text; |