2 * Copyright (C) 2009 Diego Hernan Borghetti.
13 /* file descriptor. */
16 /* This function is called when the file have pending data. */
17 void (*read
)(int, void *);
19 /* user data or NULL. */
23 int e_fd_listen(void);
25 void e_fd_add(int fd
, void (*func
)(int, void *), void *data
);
26 void e_fd_rem(int fd
);
28 #endif /* _ECO_FD_H */