lib: Gave ioloop the ability to exit
[ashd.git] / lib / mtio.h
1 #ifndef _LIB_MTIO_H
2 #define _LIB_MTIO_H
3
4 #include <stdio.h>
5
6 #define EV_READ 1
7 #define EV_WRITE 2
8
9 int block(int fd, int ev, time_t to);
10 int ioloop(void);
11 void exitioloop(int status);
12 FILE *mtstdopen(int fd, int issock, int timeout, char *mode);
13
14 #endif