diff options
| author | ShengYi Hung <aokblast@FreeBSD.org> | 2025-06-11 19:07:39 +0000 |
|---|---|---|
| committer | ShengYi Hung <aokblast@FreeBSD.org> | 2026-06-22 13:36:47 +0000 |
| commit | 2879c818e5535e9c9dc592714c7d4ef0c1c9e8c1 (patch) | |
| tree | 4c3e0527d9810697a77d3d3a11e57d7615dc2305 /lib/libwrap | |
| parent | ae489991d1c0b550ead309abc1eade3b185e7499 (diff) | |
libusb: implement libusb_set_option
Implement libusb_set_option for API compatibility of libusb upstream
The implementation status of each option is as following:
LIBUSB_OPTION_LOG_LEVEL: just like libusb_set_debug
LIBUSB_OPTION_LOG_CB: add callback support for DPRINTF
LIBUSB_OPTION_NO_DEVICE_DISCOVERY: disable initialization of devd and
netlink when register. Also, create no thread when registration of
callback happens.
LIBUSB_OPTION_USE_USBDK: no needed as USBDK is for Windows
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50818
Diffstat (limited to 'lib/libwrap')
0 files changed, 0 insertions, 0 deletions
