diff options
author | Chris Dickens <christopher.a.dickens@gmail.com> | 2014-11-17 23:53:11 -0800 |
---|---|---|
committer | Chris Dickens <chris.dickens@hp.com> | 2014-12-19 11:17:50 -0800 |
commit | 192adf437baec398bec36de50737a570e6c2f29c (patch) | |
tree | 93c6c3bd74bcbd70f7f7e7c275f2e26dc5fe0fe4 /libusb/libusbi.h | |
parent | 5b2f2e11852edf81be401736e5ece7c9debe047e (diff) | |
download | libusb-192adf437baec398bec36de50737a570e6c2f29c.tar.gz |
core: Add helper functions to signal and clear the event pipe
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'libusb/libusbi.h')
-rw-r--r-- | libusb/libusbi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libusb/libusbi.h b/libusb/libusbi.h index cdcc61a..ebcc0d3 100644 --- a/libusb/libusbi.h +++ b/libusb/libusbi.h @@ -462,6 +462,9 @@ int usbi_get_config_index_by_value(struct libusb_device *dev, void usbi_connect_device (struct libusb_device *dev); void usbi_disconnect_device (struct libusb_device *dev); +int usbi_signal_event(struct libusb_context *ctx); +int usbi_clear_event(struct libusb_context *ctx); + /* Internal abstraction for poll (needs struct usbi_transfer on Windows) */ #if defined(OS_LINUX) || defined(OS_DARWIN) || defined(OS_OPENBSD) || defined(OS_NETBSD) || defined(OS_HAIKU) #include <unistd.h> |