Pluggable backends for libsg or libusb
[fw/stlink] / src / stlink-sg.h
index 00b70d12b60d0aef1ad59c73a951766659d520a7..523b7d8836927df90385f94df8ca1613307bd390 100644 (file)
@@ -12,6 +12,7 @@
 extern "C" {
 #endif
     
+#include <libusb-1.0/libusb.h>
 #include "stlink-common.h"
     
         // device access
@@ -66,6 +67,7 @@ extern "C" {
     struct stlink_libsg {};
 #endif
 
+    stlink_t* stlink_quirk_open(const char *dev_name, const int verbose);
 
 #ifdef __cplusplus
 }