core: Add a new public libusb_get_port_numbers function
authorHans de Goede <hdegoede@redhat.com>
Fri, 17 May 2013 08:36:32 +0000 (10:36 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 17 May 2013 08:36:32 +0000 (10:36 +0200)
commit4d7789be7e317fb2e89557f959c1a1a69cc01b26
tree8b0ce23db030bd57435d8b741cf910e718de067f
parentfa27f99772e9200d97518fe2aa7332e892949132
core: Add a new public libusb_get_port_numbers function

This new function replaces the now deprecated libusb_get_port_path function,
as that is the only function operating on a libusb_device which also takes
a libusb_context, which is rather inconsistent.

Note we will keep libusb_get_port_path around in the 1.0.x for the forseeable
future for ABI compatibility reasons, but it should not be used in any new
code.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
libusb/core.c
libusb/libusb.h
libusb/version_nano.h