Fix for simultaneous tx-rx using libusb_contexts
[debian/gnuradio] / usrp / host / lib / fusb.h
index bfe34d5b881d572167dbf5ef783ebaa16d3d5292..fbd651204a5121a47890af1588f01a0d7b646093 100644 (file)
@@ -27,6 +27,7 @@
 
 
 struct  libusb_device_handle;
+struct         libusb_context;
 class   fusb_ephandle;
 
 /*!
@@ -116,7 +117,8 @@ public:
   /*!
    * \brief returns fusb_devhandle or throws if trouble
    */
-  static fusb_devhandle *make_devhandle (libusb_device_handle *udh);
+  static fusb_devhandle *make_devhandle (libusb_device_handle *udh,
+                                         libusb_context *ctx);
 
   /*!
    * \brief Returns max block size in bytes (hard limit).