Date: Sat, 25 Jul 2026 16:05:48 +0000 From: ShengYi Hung <aokblast@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 5f346dba4f7b - main - libusb: Sync interface for libusb_init_option Message-ID: <6a64dedc.3e7fd.19c18fd4@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by aokblast: URL: https://cgit.FreeBSD.org/src/commit/?id=5f346dba4f7b6ca088f2a3f40c5b562ef531adda commit 5f346dba4f7b6ca088f2a3f40c5b562ef531adda Author: ShengYi Hung <aokblast@FreeBSD.org> AuthorDate: 2026-07-25 15:57:31 +0000 Commit: ShengYi Hung <aokblast@FreeBSD.org> CommitDate: 2026-07-25 16:05:40 +0000 libusb: Sync interface for libusb_init_option Sponsored by: The FreeBSD Foundation --- lib/libusb/libusb.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/libusb/libusb.h b/lib/libusb/libusb.h index 006b023c65e6..08f1ab5d4d7e 100644 --- a/lib/libusb/libusb.h +++ b/lib/libusb/libusb.h @@ -324,16 +324,18 @@ struct libusb_version { const char *describe; }; +typedef struct libusb_context libusb_context; +typedef void (*libusb_log_cb)(libusb_context *ctx, enum libusb_log_level, + const char *str); + struct libusb_init_option { enum libusb_option option; union { int64_t ival; + libusb_log_cb log_cbval; } value; }; -typedef struct libusb_context libusb_context; -typedef void (*libusb_log_cb)(libusb_context *ctx, enum libusb_log_level, - const char *str); typedef struct libusb_device libusb_device; typedef struct libusb_device_handle libusb_device_handle; typedef struct libusb_pollfd libusb_pollfd;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a64dedc.3e7fd.19c18fd4>
