summaryrefslogtreecommitdiffstats
path: root/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'usb.h')
-rw-r--r--usb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/usb.h b/usb.h
new file mode 100644
index 0000000..f1bc42d
--- /dev/null
+++ b/usb.h
@@ -0,0 +1,8 @@
+#include <libusb.h>
+
+extern libusb_device *dev;
+extern libusb_device_handle *hdev;
+
+void find_device(char *name,
+ unsigned int vendor,
+ unsigned int device);