Async working with connection handlers
This commit is contained in:
@ -9,10 +9,14 @@
|
||||
#ifndef SESIMOS_ASYNC_H
|
||||
#define SESIMOS_ASYNC_H
|
||||
|
||||
#include <poll.h>
|
||||
|
||||
#define ASYNC_KEEP 1
|
||||
|
||||
int async(int fd, short events, int flags, void cb(void *), void *arg, void err_cb(void *), void *err_arg);
|
||||
|
||||
void async_thread(void);
|
||||
|
||||
void async_stop(void);
|
||||
|
||||
#endif //SESIMOS_ASYNC_H
|
||||
|
Reference in New Issue
Block a user