mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
* 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
19 lines
276 B
C
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
|