| 41 |
|
|
| 42 |
|
struct _fde; |
| 43 |
|
struct Client; |
| 44 |
– |
struct DNSQuery; |
| 44 |
|
|
| 45 |
|
/* Callback for completed IO events */ |
| 46 |
|
typedef void PF(struct _fde *, void *); |
| 105 |
|
extern void fd_open(fde_t *, int, int, const char *); |
| 106 |
|
extern void fd_close(fde_t *); |
| 107 |
|
extern void fd_dump(struct Client *); |
| 108 |
< |
#ifndef __GNUC__ |
| 110 |
< |
extern void fd_note(fde_t *, const char *format, ...); |
| 111 |
< |
#else |
| 112 |
< |
extern void fd_note(fde_t *, const char *format, ...) |
| 113 |
< |
__attribute__((format (printf, 2, 3))); |
| 114 |
< |
#endif |
| 108 |
> |
extern void fd_note(fde_t *, const char *, ...); |
| 109 |
|
extern void close_standard_fds(void); |
| 110 |
|
extern void close_fds(fde_t *); |
| 111 |
|
extern void recalc_fdlimit(void *); |