diff options
Diffstat (limited to 'event_notifier.h')
-rw-r--r-- | event_notifier.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/event_notifier.h b/event_notifier.h index fd3d9427b5..f0ec2f2171 100644 --- a/event_notifier.h +++ b/event_notifier.h @@ -19,11 +19,14 @@ struct EventNotifier { int fd; }; +typedef void EventNotifierHandler(EventNotifier *); + void event_notifier_init_fd(EventNotifier *, int fd); int event_notifier_init(EventNotifier *, int active); void event_notifier_cleanup(EventNotifier *); int event_notifier_get_fd(EventNotifier *); int event_notifier_set(EventNotifier *); int event_notifier_test_and_clear(EventNotifier *); +int event_notifier_set_handler(EventNotifier *, EventNotifierHandler *); #endif |