summaryrefslogtreecommitdiffstats
path: root/daemon/usb.h
diff options
context:
space:
mode:
authorGravatar Hector Martin2009-10-10 16:01:26 +0200
committerGravatar Hector Martin2009-10-10 16:01:26 +0200
commite855c861acde634662957131bbfb367260f8daf0 (patch)
tree4319250c5429d7ab20eccabc47b4b0893164986b /daemon/usb.h
parent94033a862cb907c24cb2aaed1d4f1fb75652bfcd (diff)
downloadusbmuxd-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.h2
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);