diff options
author | Hector Martin | 2009-10-10 16:01:26 +0200 |
---|---|---|
committer | Hector Martin | 2009-10-10 16:01:26 +0200 |
commit | e855c861acde634662957131bbfb367260f8daf0 (patch) | |
tree | 4319250c5429d7ab20eccabc47b4b0893164986b /daemon/usb.h | |
parent | 94033a862cb907c24cb2aaed1d4f1fb75652bfcd (diff) | |
download | usbmuxd-e855c861acde634662957131bbfb367260f8daf0.tar.gz usbmuxd-e855c861acde634662957131bbfb367260f8daf0.tar.bz2 |
Disable polling in udev mode, use udev to signal device discovery
Diffstat (limited to 'daemon/usb.h')
-rw-r--r-- | daemon/usb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/usb.h b/daemon/usb.h index 7e20dce..9b2cb1a 100644 --- a/daemon/usb.h +++ b/daemon/usb.h @@ -57,6 +57,8 @@ uint16_t usb_get_pid(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); +int usb_discover(void); +void usb_autodiscover(int enable); int usb_process(void); int usb_process_timeout(int msec); |