From e855c861acde634662957131bbfb367260f8daf0 Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Sat, 10 Oct 2009 16:01:26 +0200 Subject: Disable polling in udev mode, use udev to signal device discovery --- daemon/usb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'daemon/usb.h') 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); -- cgit v1.1-32-gdbae