Revision 76365acd host/lib/transport/libusb1_zero_copy.cpp
| b/host/lib/transport/libusb1_zero_copy.cpp | ||
|---|---|---|
| 95 | 95 |
|
| 96 | 96 |
~usb_endpoint(); |
| 97 | 97 |
|
| 98 |
// Accessors |
|
| 99 |
int get_endpoint() const { return _endpoint; }
|
|
| 100 |
bool get_direction() const { return _input; }
|
|
| 101 |
libusb_device_handle *get_dev_handle() const { return _dev_handle; }
|
|
| 102 |
libusb_context *get_ctx() const { return _ctx; }
|
|
| 103 |
|
|
| 104 | 98 |
// Exposed interface for submitting / retrieving transfer buffers |
| 105 | 99 |
bool submit(libusb_transfer *lut); |
| 106 | 100 |
libusb_transfer *get_completed_transfer(); |
Also available in: Unified diff