summaryrefslogtreecommitdiff
path: root/include/usbhost
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-07-27 19:05:33 -0400
committerMike Lockwood <lockwood@android.com>2010-07-27 19:05:33 -0400
commit07eb4af174f31c449a86dd459e2c81702f74acf1 (patch)
tree08a5cefd26da2d4b4d4b81eb08893b477a661e90 /include/usbhost
parentcb0d07b0e0f955f9175ce472a12c5a6f9363bc39 (diff)
libusbhost: add usb_device_get_unique_id_from_name()
Change-Id: Idce54fc26d0432d4dc46f605623c4960c0e8690f Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'include/usbhost')
-rw-r--r--include/usbhost/usbhost.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/usbhost/usbhost.h b/include/usbhost/usbhost.h
index 04c494da2..f7cc52e5a 100644
--- a/include/usbhost/usbhost.h
+++ b/include/usbhost/usbhost.h
@@ -84,6 +84,8 @@ const char* usb_device_get_name(struct usb_device *device);
*/
int usb_device_get_unique_id(struct usb_device *device);
+int usb_device_get_unique_id_from_name(const char* name);
+
/* Returns the USB vendor ID from the device descriptor for the USB device */
uint16_t usb_device_get_vendor_id(struct usb_device *device);