diff options
author | Mike Lockwood <lockwood@android.com> | 2010-05-27 10:12:03 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2010-06-01 22:18:04 -0400 |
commit | 203f102028c4df33c191d8cd610775eba8d5366d (patch) | |
tree | 1184940e086a665f41694fd076cbf26d86ff8204 /include/usbhost | |
parent | f4dd883389585aaf8fad2e586bc451295b668191 (diff) | |
download | system_core-203f102028c4df33c191d8cd610775eba8d5366d.zip system_core-203f102028c4df33c191d8cd610775eba8d5366d.tar.gz system_core-203f102028c4df33c191d8cd610775eba8d5366d.tar.bz2 |
libusbhost: Added usb_device_get_unique_id
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'include/usbhost')
-rw-r--r-- | include/usbhost/usbhost.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/usbhost/usbhost.h b/include/usbhost/usbhost.h index e7a6127..d67437b 100644 --- a/include/usbhost/usbhost.h +++ b/include/usbhost/usbhost.h @@ -57,6 +57,11 @@ void usb_device_close(struct usb_device *device); */ const char* usb_device_get_name(struct usb_device *device); +/* Returns a unique ID for the device. Currently this is generated from the + * dev_name path. + */ +int usb_device_get_unique_id(struct usb_device *device); + /* Returns the USB vendor ID from the device descriptor for the USB device */ uint16_t usb_device_get_vendor_id(struct usb_device *device); |