Windows: enumeration overhaul
authorPeter Stuge <peter@stuge.se>
Tue, 10 May 2011 08:05:29 +0000 (10:05 +0200)
committerPeter Stuge <peter@stuge.se>
Mon, 13 Jun 2011 20:06:31 +0000 (22:06 +0200)
commit3ccd9bddec316ee4b867959fd7f616eb4d410997
treeb8d90ef88eef23074eb32035f5291ac312af19ea
parentbb108cbe39802785d10fe025b74ca5ee19734151
Windows: enumeration overhaul

* uses multiple passes in a single call
* uses a hash table, in anticipation for hotplug
* adds a (dummy) HUB interface for harmonization
* adds calloc on device struct creation in core
  (to detect and avoid unnecessary double initialization)
libusb/core.c
libusb/os/windows_usb.c
libusb/os/windows_usb.h