add listen-timeout to function as an accept timeout
[socat/sam.git] / xio-listen.h
blob1e1e7fd8735f3391432477cad9649e32174b1bd8
1 /* source: xio-listen.h */
2 /* Copyright Gerhard Rieger 2001-2006 */
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_fork_limit;
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) */