mirror of
https://github.com/opnsense/src.git
synced 2026-06-18 13:10:00 -04:00
The libusb set debug level by libusb_log_level instead of libusb_debug_level. We switch to libusb_log_level for better compatibility with the upstream libusb. Additionally, The upstream libusb has an option allows user to override the log function with a user-defined callback. To support the callback function with a single string without va_arg, we refactor the log facility as a function instead of a macro and parse all va_args inside. The legacy debug_level enum has been removed to enforce maintainer migrate from their deprecated source code. Reviewed by: kevans Approved by: markj (mentor), lwhsu (mentor) MFC after: 2 weeks Sponsored by: FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50680 |
||
|---|---|---|
| .. | ||
| libusb-0.1.pc.in | ||
| libusb-1.0.pc.in | ||
| libusb-2.0.pc.in | ||
| libusb.3 | ||
| libusb.h | ||
| libusb01.c | ||
| libusb10.c | ||
| libusb10.h | ||
| libusb10_desc.c | ||
| libusb10_hotplug.c | ||
| libusb10_io.c | ||
| libusb20.3 | ||
| libusb20.c | ||
| libusb20.h | ||
| libusb20_desc.c | ||
| libusb20_desc.h | ||
| libusb20_int.h | ||
| libusb20_ugen20.c | ||
| libusb_global_linux.h | ||
| Makefile | ||
| Makefile.depend | ||
| usb.h | ||