diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-09-16 22:03:43 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-09-16 22:03:43 -0400 |
commit | f138006d1ac3fcd32436075c30bad8fda76c04d7 (patch) | |
tree | de694595bb12fafb500391e6d35286c098b9feeb /display.h | |
parent | 30dbfc1f570ac95baade002c525c5d1351f58ae3 (diff) | |
parent | a8d33f80b0e8da4acb84028be0da8f33b81de0f9 (diff) | |
download | subsurface-f138006d1ac3fcd32436075c30bad8fda76c04d7.tar.gz |
Merge branch 'deviceProbe' of github.com:danilocesar/subsurface
Diffstat (limited to 'display.h')
-rw-r--r-- | display.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -74,6 +74,10 @@ extern unsigned int amount_selected; extern int is_default_dive_computer_device(const char *); extern int is_default_dive_computer(const char *, const char *); + +typedef void (*device_callback_t) (const char *name, void *userdata); +int enumerate_devices (device_callback_t callback, void *userdata); + extern const char *default_dive_computer_vendor; extern const char *default_dive_computer_product; extern const char *default_dive_computer_device; |