Fix detection of error in call synchronous
[src/app-framework-binder.git] / src / fdev.h
index 9fbcb75..c9d7443 100644 (file)
@@ -27,6 +27,7 @@ struct fdev_itf
        void (*unref)(void *closure);
        void (*disable)(void *closure, const struct fdev *fdev);
        void (*enable)(void *closure, const struct fdev *fdev);
+       void (*update)(void *closure, const struct fdev *fdev);
 };
 
 extern struct fdev *fdev_create(int fd);
@@ -39,10 +40,8 @@ extern void fdev_unref(struct fdev *fdev);
 
 extern int fdev_fd(const struct fdev *fdev);
 extern uint32_t fdev_events(const struct fdev *fdev);
-extern int fdev_repeat(const struct fdev *fdev);
 extern int fdev_autoclose(const struct fdev *fdev);
 
 extern void fdev_set_callback(struct fdev *fdev, void (*callback)(void*,uint32_t,struct fdev*), void *closure);
 extern void fdev_set_events(struct fdev *fdev, uint32_t events);
-extern void fdev_set_repeat(struct fdev *fdev, int count);
 extern void fdev_set_autoclose(struct fdev *fdev, int autoclose);