Commit | Line | Data |
---|---|---|
83723896 FT |
1 | #ifndef _LIB_MTIO_H |
2 | #define _LIB_MTIO_H | |
3 | ||
8774c31b FT |
4 | #include <stdio.h> |
5 | ||
83723896 FT |
6 | #define EV_READ 1 |
7 | #define EV_WRITE 2 | |
8 | ||
9 | int block(int fd, int ev, time_t to); | |
9d32586e FT |
10 | int ioloop(void); |
11 | void exitioloop(int status); | |
e1cdf02e | 12 | FILE *mtstdopen(int fd, int issock, int timeout, char *mode); |
d8aea4cf | 13 | void mtiopipe(FILE **read, FILE **write); |
83723896 FT |
14 | |
15 | #endif |