Version 1.8.0.0
[socat.git] / xio-listen.h
blob8b712c66d1037f946511bae1a5d6ae0f82c660cf
1 /* source: xio-listen.h */
2 /* Copyright Gerhard Rieger and contributors (see file CHANGES) */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __xio_listen_h_included
6 #define __xio_listen_h_included 1
8 extern const struct optdesc opt_backlog;
9 extern const struct optdesc opt_fork;
10 extern const struct optdesc opt_max_children;
11 extern const struct optdesc opt_children_shutup;
12 extern const struct optdesc opt_range;
13 extern const struct optdesc opt_accept_timeout;
15 int
16 xioopen_listen(struct single *xfd, int xioflags,
17 struct sockaddr *us, socklen_t uslen,
18 struct opt *opts, struct opt *opts0,
19 int pf, int socktype, int proto);
20 int _xioopen_listen(struct single *fd, int xioflags,
21 struct sockaddr *us, socklen_t uslen,
22 struct opt *opts, int pf, int socktype, int proto, int level);
23 extern int _xioopen_accept_fd(struct single *xfd, int xioflags, struct sockaddr *us, socklen_t uslen, struct opt *opts, int pf, int proto, int level);
25 #endif /* !defined(__xio_listen_h_included) */