2008-01-28 16:37:16 -05:00
|
|
|
/* source: xio-progcall.h */
|
2008-06-07 04:14:56 -04:00
|
|
|
/* Copyright Gerhard Rieger 2001-2008 */
|
2008-01-27 07:00:08 -05:00
|
|
|
/* 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 rw, /* O_RDONLY etc. */
|
|
|
|
struct single *fd,
|
|
|
|
unsigned groups,
|
2008-06-07 04:14:56 -04:00
|
|
|
struct opt **opts,
|
|
|
|
int *duptostderr
|
2008-01-27 07:00:08 -05:00
|
|
|
);
|
|
|
|
extern int setopt_path(struct opt *opts, char **path);
|
2008-06-07 04:14:56 -04:00
|
|
|
extern
|
|
|
|
int _xioopen_redir_stderr(int fdo);
|
2008-01-27 07:00:08 -05:00
|
|
|
|
|
|
|
#endif /* !defined(__xio_progcall_h_included) */
|