mirror of
https://github.com/moparisthebest/socat
synced 2024-11-16 05:55:11 -05:00
39 lines
1.1 KiB
C
39 lines
1.1 KiB
C
/* source: xio-progcall.h */
|
|
/* Copyright Gerhard Rieger 2001-2008 */
|
|
/* Published under the GNU General Public License V.2, see file COPYING */
|
|
|
|
#ifndef __xio_progcall_h_included
|
|
#define __xio_progcall_h_included 1
|
|
|
|
extern const struct optdesc opt_fdin;
|
|
extern const struct optdesc opt_fdout;
|
|
extern const struct optdesc opt_path;
|
|
extern const struct optdesc opt_pipes;
|
|
extern const struct optdesc opt_pty;
|
|
extern const struct optdesc opt_openpty;
|
|
extern const struct optdesc opt_ptmx;
|
|
extern const struct optdesc opt_stderr;
|
|
extern const struct optdesc opt_nofork;
|
|
extern const struct optdesc opt_sighup;
|
|
extern const struct optdesc opt_sigint;
|
|
extern const struct optdesc opt_sigquit;
|
|
|
|
extern int _xioopen_foxec_int(int rw, /* O_RDONLY etc. */
|
|
struct single *fd,
|
|
unsigned groups,
|
|
struct opt **opts,
|
|
int *duptostderr
|
|
);
|
|
extern int _xioopen_foxec_end(int xioflags, /* XIO_RDONLY etc. */
|
|
struct single *fd,
|
|
unsigned groups,
|
|
struct opt **opts,
|
|
int *duptostderr
|
|
);
|
|
|
|
extern int setopt_path(struct opt *opts, char **path);
|
|
extern
|
|
int _xioopen_redir_stderr(int fdo);
|
|
|
|
#endif /* !defined(__xio_progcall_h_included) */
|