new main loop in place
[src/app-framework-binder.git] / include / afb-poll-itf.h
index 4ce1fa4..2c8889b 100644 (file)
@@ -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);
 };