summaryrefslogtreecommitdiff
path: root/libusb/libusbi.h
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-06-26 22:47:05 -0500
committerDaniel Drake <dsd@gentoo.org>2008-06-26 22:47:05 -0500
commit819e65f880ca43526036e56c65c415042c91f58f (patch)
treeac053daba0e757793c6165858bd6bc81dc1abff7 /libusb/libusbi.h
parent1df713d622ab4f0b03aad72d903ac7beb8fb3b90 (diff)
downloadlibusb-819e65f880ca43526036e56c65c415042c91f58f.tar.gz
Allow user data pointer to be passed through pollfd notification API
Diffstat (limited to 'libusb/libusbi.h')
-rw-r--r--libusb/libusbi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libusb/libusbi.h b/libusb/libusbi.h
index 8eb4c5c..ec79a20 100644
--- a/libusb/libusbi.h
+++ b/libusb/libusbi.h
@@ -166,6 +166,7 @@ struct libusb_context {
/* user callbacks for pollfd changes */
libusb_pollfd_added_cb fd_added_cb;
libusb_pollfd_removed_cb fd_removed_cb;
+ void *fd_cb_user_data;
/* ensures that only one thread is handling events at any one time */
pthread_mutex_t events_lock;