Work on integration of DBUS into event loop

This commit is contained in:
Kovid Goyal
2018-07-09 14:29:34 +05:30
parent e91eb27e56
commit 3d6995d1e6
6 changed files with 63 additions and 12 deletions

View File

@@ -44,9 +44,9 @@ typedef struct {
} EventLoopData;
void addWatch(EventLoopData *eld, int fd, int events, int enabled, watch_callback_func cb, void *cb_data);
void removeWatch(EventLoopData *eld, int fd);
void toggleWatch(EventLoopData *eld, int fd, int enabled);
int addWatch(EventLoopData *eld, int fd, int events, int enabled, watch_callback_func cb, void *cb_data);
void removeWatch(EventLoopData *eld, int fd, int events);
void toggleWatch(EventLoopData *eld, int fd, int events, int enabled);
void prepareForPoll(EventLoopData *eld);
int pollWithTimeout(struct pollfd *fds, nfds_t nfds, double timeout);
void dispatchEvents(EventLoopData *eld);