summaryrefslogtreecommitdiff
path: root/include/usbhost
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2015-04-29 13:04:10 -0700
committerMike Lockwood <lockwood@google.com>2015-04-29 13:04:10 -0700
commitf68600abfc7f1e2d64a4737630feea43bdaa85dc (patch)
treee1f034acc9d08a3f9869b0fc1c2cfc1b5bd9d1b9 /include/usbhost
parent28e84a147f7f88db0f2e24b81b1280ea22604184 (diff)
libusbhost: Add usb_device_get_version()
Change-Id: If2161178e9fe94a94faf01c102ef64f2a72d093b
Diffstat (limited to 'include/usbhost')
-rw-r--r--include/usbhost/usbhost.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/usbhost/usbhost.h b/include/usbhost/usbhost.h
index d26e93175..4350ec103 100644
--- a/include/usbhost/usbhost.h
+++ b/include/usbhost/usbhost.h
@@ -156,6 +156,10 @@ char* usb_device_get_manufacturer_name(struct usb_device *device);
*/
char* usb_device_get_product_name(struct usb_device *device);
+/* Returns the version number for the USB device.
+ */
+int usb_device_get_version(struct usb_device *device);
+
/* Returns the USB serial number for the USB device.
* Call free() to free the result when you are done with it.
*/