summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am5
-rw-r--r--include/osmocom/usb/libusb.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index d76addd0..dc6eaa7f 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -164,6 +164,11 @@ nobase_include_HEADERS += \
osmocom/ctrl/control_vty.h
endif
+if ENABLE_LIBUSB
+nobase_include_HEADERS += \
+ osmocom/usb/libusb.h
+endif
+
noinst_HEADERS = \
osmocom/gsm/kasumi.h \
osmocom/gsm/gea.h \
diff --git a/include/osmocom/usb/libusb.h b/include/osmocom/usb/libusb.h
new file mode 100644
index 00000000..7f10f74c
--- /dev/null
+++ b/include/osmocom/usb/libusb.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include <libusb.h>
+
+int osmo_libusb_init(libusb_context **luctx);
+void osmo_libusb_exit(libusb_context *luctx);