Lift ostc_get_data_descriptor out from ostctools.c

This is for later reuse of that function in other source files.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2016-12-28 20:55:52 +01:00 committed by Dirk Hohndel
parent ce959fb757
commit db8e786f85
3 changed files with 30 additions and 29 deletions

View file

@ -52,6 +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);
extern int import_thread_cancelled;
extern const char *progress_bar_text;