summaryrefslogtreecommitdiffstats
path: root/include/afb-poll-itf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/afb-poll-itf.h')
-rw-r--r--include/afb-poll-itf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/afb-poll-itf.h b/include/afb-poll-itf.h
index 4ce1fa48..2c8889b6 100644
--- a/include/afb-poll-itf.h
+++ b/include/afb-poll-itf.h
@@ -17,7 +17,9 @@
struct afb_poll_itf
{
- int (*update)(void *data, uint32_t events);
+ int (*on_readable)(void *, void (*cb)(void *));
+ int (*on_writable)(void *, void (*cb)(void *));
+ int (*on_hangup)(void *, void (*cb)(void *));
void (*close)(void *data);
};