aboutsummaryrefslogtreecommitdiff
path: root/share/examples/libusb20/aux.h
diff options
context:
space:
mode:
Diffstat (limited to 'share/examples/libusb20/aux.h')
-rw-r--r--share/examples/libusb20/aux.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/share/examples/libusb20/aux.h b/share/examples/libusb20/aux.h
new file mode 100644
index 000000000000..d43ea4e571fb
--- /dev/null
+++ b/share/examples/libusb20/aux.h
@@ -0,0 +1,15 @@
+/* ----------------------------------------------------------------------------
+ * "THE BEER-WARE LICENSE" (Revision 42) (by Poul-Henning Kamp):
+ * <joerg@FreeBSD.ORG> wrote this file. As long as you retain this notice you
+ * can do whatever you want with this stuff. If we meet some day, and you think
+ * this stuff is worth it, you can buy me a beer in return. Joerg Wunsch
+ * ----------------------------------------------------------------------------
+ *
+ * $FreeBSD$
+ */
+
+#include <stdint.h>
+#include <libusb20.h>
+
+const char *usb_error(enum libusb20_error r);
+void print_formatted(uint8_t *buf, uint32_t len);