diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-27 15:06:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-27 15:06:58 -0700 |
commit | a44d0049f6370d022067b8aee5e847f9fe550cf1 (patch) | |
tree | 78ddd1208a2592b521f28d712947e6e404e38a59 /libdivecomputer.h | |
parent | d96b504bc4f926de86d06c3797b2fbcafb8727bf (diff) | |
download | subsurface-a44d0049f6370d022067b8aee5e847f9fe550cf1.tar.gz |
Update for new libdivecomputer interfaces
For this you need to get the current libdivecomputer tree, reconfigure,
build and install it first. But this cleans up some of the silly error
handling too, and has just a single "dc_device_close()" call etc, rather
than duplicating that (and the new dc_context_free()).
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r-- | libdivecomputer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h index 8d77a25be..6b54e9c2a 100644 --- a/libdivecomputer.h +++ b/libdivecomputer.h @@ -15,6 +15,7 @@ typedef struct device_data_t { dc_descriptor_t *descriptor; const char *vendor, *product, *devname; dc_device_t *device; + dc_context_t *context; progressbar_t progress; int preexisting; } device_data_t; |