aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-03-08 12:18:19 +0000
committerWerner Koch <[email protected]>2010-03-08 12:18:19 +0000
commit37088de63df8a2d15a0fb1fc1e0e295225015c7a (patch)
tree4d0bd855a9ff91c7161ea9cfa4e5dc547b28422c /common/exechelp.h
parentFirst steps towards the W32CE port (diff)
downloadgnupg-37088de63df8a2d15a0fb1fc1e0e295225015c7a.tar.gz
gnupg-37088de63df8a2d15a0fb1fc1e0e295225015c7a.zip
Changes required to use estream in gpgsm.
Diffstat (limited to '')
-rw-r--r--common/exechelp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/exechelp.h b/common/exechelp.h
index 8f056891c..06cb79c29 100644
--- a/common/exechelp.h
+++ b/common/exechelp.h
@@ -20,6 +20,9 @@
#ifndef GNUPG_COMMON_EXECHELP_H
#define GNUPG_COMMON_EXECHELP_H
+#include "estream.h"
+
+
/* Return the maximum number of currently allowed file descriptors.
Only useful on POSIX systems. */
int get_max_fds (void);
@@ -59,7 +62,7 @@ gpg_error_t gnupg_create_outbound_pipe (int filedes[2]);
details. Calling gnupg_wait_process is required. Returns 0 on
success or an error code. */
gpg_error_t gnupg_spawn_process (const char *pgmname, const char *argv[],
- FILE *infile, FILE *outfile,
+ FILE *infile, estream_t outfile,
void (*preexec)(void), unsigned int flags,
FILE **statusfile, pid_t *pid);