[ifxmips]
[openwrt.git] / package / libtapi / src / events.h
1 #ifndef __EVENTS_H__
2 #define __EVENTS_H__
3
4 struct event_callback {
5 bool (*callback)(int events, void *data);
6 void *data;
7 int fd;
8 };
9
10 int event_register(int fd, int events,
11 struct event_callback *callback);
12
13 int event_unregister(int fd);
14
15
16 int tapi_mainloop(void);
17
18 #endif
This page took 0.046254 seconds and 5 git commands to generate.