All: Add parent and port topology calls
commitcfb8610242394d532778a483570089c2bed52c84
authorPete Batard <pete@akeo.ie>
Thu, 10 May 2012 19:01:10 +0000 (10 20:01 +0100)
committerPete Batard <pete@akeo.ie>
Mon, 28 May 2012 09:26:44 +0000 (28 10:26 +0100)
tree729c43ea4aecb8d4a4b39872820603df72026041
parenta544e5972bf2b0ac9e006439576f681a8439d311
All: Add parent and port topology calls

* Adds libusb_get_port_number, libusb_get_parent and libusb_get_port_path
* Linux implementation provided by Alan Stern, OS X by Nathan Hjelm
* Unsupported for *BSD platforms
examples/xusb.c
libusb/core.c
libusb/libusb.h
libusb/libusbi.h
libusb/os/darwin_usb.c
libusb/os/linux_usbfs.c
libusb/os/windows_usb.c
libusb/version_nano.h