version 1.7.3.0
[socat.git] / xio-listen.h
blob1c4a66da7fc2332a86d352ec06aad326502caefe
1 /* source: xio-listen.h */
2 /* Copyright Gerhard Rieger 2001-2011 */
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_range;
13 int
14 xioopen_listen(struct single *xfd, int xioflags,
15 struct sockaddr *us, socklen_t uslen,
16 struct opt *opts, struct opt *opts0,
17 int pf, int socktype, int proto);
18 int _xioopen_listen(struct single *fd, int xioflags,
19 struct sockaddr *us, socklen_t uslen,
20 struct opt *opts, int pf, int socktype, int proto, int level);
22 #endif /* !defined(__xio_listen_h_included) */