John Crispin b27571141a [ifxmips]
* adds a rewrite of the tapi drivers + sip app. this is the result of lars' gsoc 2010 project, Thanks !


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 19:12:34 +00:00

19 lines
276 B
C

#ifndef __EVENTS_H__
#define __EVENTS_H__
struct event_callback {
bool (*callback)(int events, void *data);
void *data;
int fd;
};
int event_register(int fd, int events,
struct event_callback *callback);
int event_unregister(int fd);
int tapi_mainloop(void);
#endif