diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-04-05 15:25:28 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-04-05 15:25:28 +0200 |
commit | 13549775092afa9215de8468e34f6d194c2fd8db (patch) | |
tree | 46a54c5b1cc8fe05771f81ed89ce6decb8b64491 /include/afb-poll-itf.h | |
parent | efe18167d6ce59b263c179a6e2d01aa875c05cf8 (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.h | 4 |
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); }; |