File: eventloop.h

package info (click to toggle)
mcelog 104-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 996 kB
  • ctags: 1,508
  • sloc: ansic: 7,739; sh: 481; makefile: 87
file content (8 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#include <poll.h>

typedef void (*poll_cb_t)(struct pollfd *pfd, void *data);

int register_pollcb(int fd, int events, poll_cb_t cb, void *data);
void unregister_pollcb(struct pollfd *pfd);
void eventloop(void);
int event_signal(int sig);