core: use divelog struct in downloader code

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2022-11-12 12:44:29 +01:00 committed by bstoeger
parent a2845ece82
commit b56b7abcf5
11 changed files with 64 additions and 65 deletions

View file

@ -27,6 +27,7 @@ extern "C" {
#endif
struct dive;
struct divelog;
struct dive_computer;
struct devices;
@ -46,9 +47,7 @@ typedef struct {
bool libdc_dump;
bool bluetooth_mode;
FILE *libdc_logfile;
struct dive_table *download_table;
struct dive_site_table *sites;
struct device_table *devices;
struct divelog *log;
void *androidUsbDeviceDescriptor;
} device_data_t;