File: xio-progcall.h

package info (click to toggle)
socat 2.0.0~beta9-1
  • links: PTS
  • area: main
  • in suites: experimental
  • size: 3,740 kB
  • sloc: ansic: 30,875; sh: 11,630; makefile: 149
file content (40 lines) | stat: -rw-r--r-- 1,255 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* source: xio-progcall.h */
/* Copyright Gerhard Rieger 2001-2009 */
/* 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_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;
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_commtype;
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_progcall(int xioflags,	/* XIO_RDONLY etc. */
		   struct single *xfd,
		   unsigned groups,
		   struct opt **opts,
		   int *duptostderr,
		   bool inter,
		   int form
		   );

extern int setopt_path(struct opt *opts, char **path);
extern
int _xioopen_redir_stderr(int fdo);

#endif /* !defined(__xio_progcall_h_included) */