Add libusb_has_capability() API function
authorPeter Stuge <peter@stuge.se>
Wed, 14 Sep 2011 00:30:18 +0000 (02:30 +0200)
committerPeter Stuge <peter@stuge.se>
Mon, 17 Oct 2011 14:23:54 +0000 (16:23 +0200)
commite16805130a04b2642891e86b8f479e6343ca17da
tree4231d31eb62d51183c648d2ececd9e96fabcf6d1
parent2dc2fa2a56408e515d25359323b4ea2f1bbec14a
Add libusb_has_capability() API function

Since it is currently not planned to change the filename of the libusb
library between libusb-1.0 versions at least on Windows systems it's
important to have a capability API.

Currently there exists only one capability; LIBUSB_CAP_HAS_CAPABILITY,
which tests support for the libusb_has_capability() API.
libusb/core.c
libusb/libusb-1.0.def
libusb/libusb.h