Imported Upstream version 2.7.1

This commit is contained in:
Laurent Bigonville 2013-11-24 16:00:12 +01:00
parent a1fa151fc7
commit 0121794af9
451 changed files with 41339 additions and 10887 deletions

View file

@ -77,7 +77,7 @@ void USBFreeRegexMatcher(USBDeviceMatcher_t *matcher);
typedef struct {
int vendorID;
int productID;
void *(*fun)(void); /* handler for specific processing */
void *(*fun)(USBDevice_t *); /* handler for specific processing */
} usb_device_id_t;
#define NOT_SUPPORTED 0
@ -88,6 +88,6 @@ typedef struct {
* supported devices. Return values:
* NOT_SUPPORTED (0), POSSIBLY_SUPPORTED (1) or SUPPORTED (2) */
int is_usb_device_supported(usb_device_id_t *usb_device_id_list,
int dev_VendorID, int dev_ProductID);
USBDevice_t *device);
#endif /* NUT_USB_COMMON_H */