summaryrefslogtreecommitdiffstats
path: root/include/afb-poll-itf.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-04-05 15:25:28 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-04-05 15:25:28 +0200
commit13549775092afa9215de8468e34f6d194c2fd8db (patch)
tree46a54c5b1cc8fe05771f81ed89ce6decb8b64491 /include/afb-poll-itf.h
parentefe18167d6ce59b263c179a6e2d01aa875c05cf8 (diff)
new main loop in place
Change-Id: If297e0a76e74422d456447be52cca460c9e237b3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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);
};