|
co_usb
|
Refcounted RAII guard for managing detachment of a kernel driver for an interface of a device. More...
#include <kernel_driver_guard.hpp>
Public Member Functions | |
| libusb_device_handle * | dev () const noexcept |
| int | number () const noexcept |
| void | release () noexcept |
| Releases kernel guard and reattaches the driver. | |
Static Public Member Functions | |
| static boost::capy::io_result< kernel_driver_guard > | detach (libusb_device_handle *devh, int iface_num) noexcept |
| static boost::capy::io_result< kernel_driver_guard > | detach (unique_dev_handle &devh, int iface_num) noexcept |
Refcounted RAII guard for managing detachment of a kernel driver for an interface of a device.
|
staticnoexcept |
|
staticnoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Releases kernel guard and reattaches the driver.