diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-05-15 12:17:42 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2013-05-15 20:43:35 +0200 |
commit | 86031e26ad8c1516ded02a06834312951a7a0492 (patch) | |
tree | 0e8b9a2c1fead267a2265aa63fb5ac93c794d1e7 /libusb/hotplug.c | |
parent | 6853291ed0c7a783d01be3f8813988fc6e5c5ac3 (diff) | |
download | android_external_libusbx-86031e26ad8c1516ded02a06834312951a7a0492.tar.gz android_external_libusbx-86031e26ad8c1516ded02a06834312951a7a0492.tar.bz2 android_external_libusbx-86031e26ad8c1516ded02a06834312951a7a0492.zip |
Bump LIBUSBX_API_VERSION for new hotplug API
And document the minimum version under which hotplug is supported
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'libusb/hotplug.c')
-rw-r--r-- | libusb/hotplug.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libusb/hotplug.c b/libusb/hotplug.c index e8f1e52..a58608f 100644 --- a/libusb/hotplug.c +++ b/libusb/hotplug.c @@ -39,9 +39,9 @@ * * \section intro Introduction * - * Releases of libusb 1.0 newer than 1.X have added support for hotplug - * events. This interface allows you to request notification for the - * arrival and departure of matching USB devices. + * Version 1.0.16, \ref LIBUSBX_API_VERSION >= 0x01000102, has added support + * for hotplug events. This interface allows you to request notification for + * the arrival and departure of matching USB devices. * * To receive hotplug notification you register a callback by calling * libusb_hotplug_register_callback(). This function will optionally return @@ -53,7 +53,7 @@ * * Callbacks for a particulat context are automatically deregistered by libusb_exit(). * - * As of 1.X there are two supported hotplug events: + * As of 1.0.16 there are two supported hotplug events: * - LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED: A device has arrived and is ready to use * - LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT: A device has left and is no longer available * |