aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorDaiki Ueno <[email protected]>2015-06-09 12:07:00 +0000
committerWerner Koch <[email protected]>2015-06-10 13:16:06 +0000
commit691dae270b3b741178912599724d69adabdb48b9 (patch)
tree83e874177d92b18481cddad587d5dbde76247fda /agent/agent.h
parentdoc: Do not used fixed file names in the manuals. (diff)
downloadgnupg-691dae270b3b741178912599724d69adabdb48b9.tar.gz
gnupg-691dae270b3b741178912599724d69adabdb48b9.zip
agent: Add option --allow-emacs-pinentry
* agent/agent.h (opt): Add field allow_emacs_pinentry. * agent/call-pinentry.c (start_pinentry): Act upon new var. * agent/gpg-agent.c (oAllowEmacsPinentry): New. (opts): Add option --allow-emacs-pinentry. (parse_rereadable_options): Set this option. * tools/gpgconf-comp.c (gc_options_gpg_agent): Add new option. -- gpgconf-comp and manual entry added by wk. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--agent/agent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h
index dbbf68922..ab8dc9f22 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -133,6 +133,10 @@ struct
to allow it to enable such a cache. */
int allow_external_cache;
+ /* If this global option is true, the Assuan option of Pinentry
+ allow-emacs-prompt is allowed. */
+ int allow_emacs_pinentry;
+
int keep_tty; /* Don't switch the TTY (for pinentry) on request */
int keep_display; /* Don't switch the DISPLAY (for pinentry) on request */