add listen-timeout to function as an accept timeout
[socat/sam.git] / xio-named.h
blob87dda76151a365aa00db07dc1c7de2d083194620
1 /* source: xio-named.h */
2 /* Copyright Gerhard Rieger 2001-2006 */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __xio_named_h_included
6 #define __xio_named_h_included 1
8 extern const struct optdesc opt_group_early;
9 extern const struct optdesc opt_perm_early;
10 extern const struct optdesc opt_user_early;
11 /*0 extern const struct optdesc opt_cleanup; */
12 /*0 extern const struct optdesc opt_force; */
13 extern const struct optdesc opt_unlink;
14 extern const struct optdesc opt_unlink_early;
15 extern const struct optdesc opt_unlink_late;
16 extern const struct optdesc opt_unlink_close;
17 extern const struct optdesc opt_umask;
19 extern int
20 applyopts_named(const char *filename, struct opt *opts, unsigned int phase);
21 extern int _xioopen_named_early(int argc, const char *argv[], xiofile_t *xfd,
22 int groups,
23 bool *exists, struct opt *opts);
24 extern int _xioopen_open(const char *path, int rw, struct opt *opts);
26 #endif /* !defined(__xio_named_h_included) */