summaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-16 22:03:43 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-16 22:03:43 -0400
commitf138006d1ac3fcd32436075c30bad8fda76c04d7 (patch)
treede694595bb12fafb500391e6d35286c098b9feeb /display.h
parent30dbfc1f570ac95baade002c525c5d1351f58ae3 (diff)
parenta8d33f80b0e8da4acb84028be0da8f33b81de0f9 (diff)
downloadsubsurface-f138006d1ac3fcd32436075c30bad8fda76c04d7.tar.gz
Merge branch 'deviceProbe' of github.com:danilocesar/subsurface
Diffstat (limited to 'display.h')
-rw-r--r--display.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/display.h b/display.h
index b62ae3ba3..153a9368e 100644
--- a/display.h
+++ b/display.h
@@ -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;