version 1.7, 2011/04/28 06:19:57 |
version 1.8, 2011/10/12 07:20:04 |
|
|
|
|
struct listen { |
struct listen { |
struct file file; |
struct file file; |
|
struct listen *next; |
char *path; |
char *path; |
int fd; |
int fd; |
}; |
}; |
|
|
|
extern struct listen *listen_list; |
|
|
void listen_new_un(char *); |
void listen_new_un(char *); |
void listen_new_tcp(char *, unsigned); |
void listen_new_tcp(char *, unsigned); |
|
int listen_init(struct listen *); |
int listen_nfds(struct file *); |
int listen_nfds(struct file *); |
int listen_pollfd(struct file *, struct pollfd *, int); |
int listen_pollfd(struct file *, struct pollfd *, int); |
int listen_revents(struct file *, struct pollfd *); |
int listen_revents(struct file *, struct pollfd *); |