summaryrefslogtreecommitdiff
path: root/libusb/version_nano.h
diff options
context:
space:
mode:
authorNathan Hjelm <hjelmn@me.com>2021-11-20 14:34:38 -0700
committerTormod Volden <debian.tormod@gmail.com>2023-01-20 10:16:43 +0100
commit6622f386f52807dac76c8a260c98aa02c311bc93 (patch)
tree03d25a447d1bb0f0776618527252ff007f22d45e /libusb/version_nano.h
parent82d912307f8d8a2a4fc9d7bac45ada4221813105 (diff)
downloadlibusb-6622f386f52807dac76c8a260c98aa02c311bc93.tar.gz
core: Add libusb_init_context() setting options at context creation
The new initialization function addresses some shortcomings of the libusb_set_option() interface. Namely, it allows setting the no-enumeration option (and others) on only the contexts where it is requested. The old initialization function (libusb_init()) is deprecated and will be removed in a future release. For now it translates to a call to libusb_init_context() with no options specified. Closes #1026 Signed-off-by: Nathan Hjelm <hjelmn@google.com> [Tormod: Doxygen description of libusb_init_option structure] Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to 'libusb/version_nano.h')
-rw-r--r--libusb/version_nano.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 9eac25d..13076b2 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11767
+#define LIBUSB_NANO 11768