Revision b96088b6 host/lib/transport/libusb1_base.hpp
| b/host/lib/transport/libusb1_base.hpp | ||
|---|---|---|
| 42 | 42 |
void init(libusb_context **ctx, int debug_level); |
| 43 | 43 |
|
| 44 | 44 |
/* |
| 45 |
* Get a list of Free Software Foundation devices (Vendor ID 0xfffe) |
|
| 46 |
* As opposed to the public USB device handle interface, which returns |
|
| 47 |
* generic identifiers, this call returns device pointers speficic |
|
| 48 |
* to libusb. |
|
| 49 |
* \param ctx the libusb context used for init |
|
| 50 |
* \return a vector of libusb devices |
|
| 51 |
*/ |
|
| 52 |
std::vector<libusb_device *> get_fsf_device_list(libusb_context *ctx); |
|
| 53 |
|
|
| 54 |
/* |
|
| 55 | 45 |
* Open the device specified by a generic handle |
| 56 | 46 |
* Find the libusb_device cooresponding to the generic handle |
| 57 | 47 |
* and open it for I/O, which returns a libusb_device_handle |
Also available in: Unified diff