From 239a4d53916b47b5b0f0167a9b2c7a8915bb9c52 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sat, 28 May 2016 00:07:09 +0200 Subject: common: Add a status callback to gnupg_exec_tool_stream. * common/exectool.h (exec_tool_status_cb_t): New. * common/exectool.c: Include missing exectool.h. (read_and_log_buffer_t): Replace array by pointer. (gnupg_exec_tool_stream): Add args 'status_cb' and 'status_cb_value'. Change all callers to pass NULL for them. Malloc buffer for FDERRSTATE. (read_and_log_stderr): Implement status_fd feature. Signed-off-by: Werner Koch --- tools/gpgtar-create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gpgtar-create.c') diff --git a/tools/gpgtar-create.c b/tools/gpgtar-create.c index d615fd38d..6adc1f513 100644 --- a/tools/gpgtar-create.c +++ b/tools/gpgtar-create.c @@ -932,7 +932,7 @@ gpgtar_create (char **inpattern, int encrypt, int sign) } err = gnupg_exec_tool_stream (opt.gpg_program, argv, - outstream, NULL, cipher_stream); + outstream, NULL, cipher_stream, NULL, NULL); xfree (argv); if (err) goto leave; -- cgit v1.2.3