2 * Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc.
4 * This file is part of GnuPG.
6 * GnuPG is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
11 * GnuPG is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
26 #include "../common/iobuf.h"
33 unsigned int binary
:1;
34 unsigned int writeonly
:1;
35 unsigned int madedir
:1;
36 unsigned int use_temp_files
:1;
37 unsigned int keep_temp_files
:1;
42 char *command
,*name
,*tempdir
,*tempfile_in
,*tempfile_out
;
45 int exec_write(struct exec_info
**info
,const char *program
,
46 const char *args_in
,const char *name
,int writeonly
,int binary
);
47 int exec_read(struct exec_info
*info
);
48 int exec_finish(struct exec_info
*info
);
49 int set_exec_path(const char *path
);
51 #endif /* !_EXEC_H_ */