1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#ifndef _LINPICKER_FD_H_ #define _LINPICKER_FD_H_ typedef void (*fd_handler)(void *closure); int fd_set_handler(int fd, fd_handler callback, void *closure); int fd_run_select(void); void fd_free_handlers(void); #endif /* _LINPICKER_FD_H_ */