summaryrefslogtreecommitdiff
path: root/libusb/version.h
diff options
context:
space:
mode:
authorNathan Hjelm <hjelmn@me.com>2012-11-29 14:23:26 -0700
committerHans de Goede <hdegoede@redhat.com>2013-05-15 17:28:06 +0200
commit7801ff94fa6e49fe98433eccc7f2e461590a6f7c (patch)
tree7d75d9c8f40471b45bbd77e8352ff602d5497c6f /libusb/version.h
parent29480089519f0b52da7697c34a3bbb67d3e74a3f (diff)
downloadlibusb-7801ff94fa6e49fe98433eccc7f2e461590a6f7c.tar.gz
Add hotplug support.
The internal API is changing as follows: - Adding two new functions. usbi_connect_device, and usbi_disconnect_device. Backends must call these functions to add them to the context's device list at one of two places: initial enumeration (done at init), and on device attach and removal. These functions need to be called once per context. - Backends that support hotplug should not provide a get_device_list funtion. This function is now deprecated and will likely be removed once all backends support hotplug. The external API is changing as follows: - Two new functions have been added to register and deregister callbacks for hotplug notification: libusb_hotplug_register_callback(), libusb_hotplug_deregister_callback(). Hotplug callbacks are called by libusb_handle_events(). Details of the new API can be found in libusb.h. - A new capability check has been added to check for hotplug support. See LIBUSB_CAP_HAS_HOTPLUG. Aa suggested by Xiaofan add new example has been added to show how to use the new external hotplug API. See examples/hotplugtest.c. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'libusb/version.h')
-rw-r--r--libusb/version.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/version.h b/libusb/version.h
index 3736ab3..cf37de9 100644
--- a/libusb/version.h
+++ b/libusb/version.h
@@ -7,7 +7,7 @@
#define LIBUSB_MINOR 0
#endif
#ifndef LIBUSB_MICRO
-#define LIBUSB_MICRO 15
+#define LIBUSB_MICRO 16
#endif
#ifndef LIBUSB_NANO
#define LIBUSB_NANO 0