GOPEN handles UNIX seqpacket sockets
[socat.git] / xio-listen.h
blob3e61fa5b48b3dd4c52379077df682053f74d802f
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_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) */