Darwin: allow devices to be opened multiple times
authorNathan Hjelm <hjelmn@mac.com>
Sat, 21 Nov 2009 17:06:43 +0000 (17:06 +0000)
committerDaniel Drake <dan@reactivated.net>
Sat, 21 Nov 2009 17:06:43 +0000 (17:06 +0000)
commit4c706d2fb6b2c43b10d72ac5dff51cac4d939f1a
tree9f4a04699a18f1c99e54885431232f006642b682
parent0232fc559cdacb9561f982dd6d28feb4435b3e4e
Darwin: allow devices to be opened multiple times

Allows libusb applications to access multiple interfaces of the same
device in the same application.

Also fixes a set alt interface bug.
libusb/os/darwin_usb.c
libusb/os/darwin_usb.h