2008-01-28 21:37:16 +00:00
|
|
|
/* source: xio-progcall.h */
|
2009-04-03 09:30:01 +00:00
|
|
|
/* Copyright Gerhard Rieger 2001-2009 */
|
2008-01-27 12:00:08 +00:00
|
|
|
/* Published under the GNU General Public License V.2, see file COPYING */
|
|
|
|
|
|
|
|
#ifndef __xio_progcall_h_included
|
|
|
|
#define __xio_progcall_h_included 1
|
|
|
|
|
2009-04-03 09:30:01 +00:00
|
|
|
extern const struct optdesc opt_leftfd;
|
|
|
|
extern const struct optdesc opt_leftinfd;
|
|
|
|
extern const struct optdesc opt_leftoutfd;
|
|
|
|
extern const struct optdesc opt_rightfd;
|
|
|
|
extern const struct optdesc opt_rightinfd;
|
|
|
|
extern const struct optdesc opt_rightoutfd;
|
2008-01-27 12:00:08 +00:00
|
|
|
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;
|
2009-04-03 09:30:01 +00:00
|
|
|
extern const struct optdesc opt_commtype;
|
2008-01-27 12:00:08 +00:00
|
|
|
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;
|
|
|
|
|
2009-04-03 09:30:01 +00:00
|
|
|
extern int
|
|
|
|
_xioopen_progcall(int xioflags, /* XIO_RDONLY etc. */
|
|
|
|
struct single *xfd,
|
|
|
|
unsigned groups,
|
|
|
|
struct opt **opts,
|
|
|
|
int *duptostderr,
|
|
|
|
bool inter,
|
|
|
|
int form
|
|
|
|
);
|
2008-10-22 00:33:23 +00:00
|
|
|
|
2008-01-27 12:00:08 +00:00
|
|
|
extern int setopt_path(struct opt *opts, char **path);
|
2008-06-07 08:14:56 +00:00
|
|
|
extern
|
|
|
|
int _xioopen_redir_stderr(int fdo);
|
2008-01-27 12:00:08 +00:00
|
|
|
|
|
|
|
#endif /* !defined(__xio_progcall_h_included) */
|