From f6f5430e5014f90b685420447dffe89b220e2663 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 7 Jul 2009 10:02:41 +0000 Subject: Reworked passing of envars to Pinentry. --- g10/options.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'g10/options.h') diff --git a/g10/options.h b/g10/options.h index 40bd23029..a99ca22e8 100644 --- a/g10/options.h +++ b/g10/options.h @@ -24,6 +24,7 @@ #include #include "main.h" #include "packet.h" +#include "../common/session-env.h" #ifndef EXTERN_UNLESS_MAIN_MODULE /* Norcraft can't cope with common symbols */ @@ -85,13 +86,11 @@ struct int max_cert_depth; const char *homedir; const char *agent_program; - char *display; /* 5 options to be passed to the gpg-agent */ - char *ttyname; - char *ttytype; + + /* Options to be passed to the gpg-agent */ + session_env_t session_env; char *lc_ctype; char *lc_messages; - char *xauthority; - char *pinentry_user_data; int skip_verify; int compress_keys; -- cgit v1.2.3