From 37088de63df8a2d15a0fb1fc1e0e295225015c7a Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 8 Mar 2010 12:18:19 +0000 Subject: Changes required to use estream in gpgsm. --- common/exechelp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common/exechelp.h') 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); -- cgit v1.2.3