summaryrefslogtreecommitdiffstats
path: root/src/usb.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-11-10 16:58:10 +0100
committerGravatar Nikias Bassen2014-11-11 13:52:52 +0100
commit4da37c1e130e32c4bbad13de7461e0612ca15597 (patch)
treeaf7e129ba4668fbc91c9cf567027e517503725f9 /src/usb.h
parent07c5634cef09a913d6307de5b0edd6e73aaebfb3 (diff)
downloadusbmuxd-4da37c1e130e32c4bbad13de7461e0612ca15597.tar.gz
usbmuxd-4da37c1e130e32c4bbad13de7461e0612ca15597.tar.bz2
Get USB speed for device and use it for device attached client message
Diffstat (limited to 'src/usb.h')
-rw-r--r--src/usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usb.h b/src/usb.h
index 8eff456..da784b3 100644
--- a/src/usb.h
+++ b/src/usb.h
@@ -54,6 +54,7 @@ void usb_shutdown(void);
const char *usb_get_serial(struct usb_device *dev);
uint32_t usb_get_location(struct usb_device *dev);
uint16_t usb_get_pid(struct usb_device *dev);
+uint64_t usb_get_speed(struct usb_device *dev);
void usb_get_fds(struct fdlist *list);
int usb_get_timeout(void);
int usb_send(struct usb_device *dev, const unsigned char *buf, int length);