diff options
author | Werner Koch <[email protected]> | 2007-02-14 16:27:55 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-02-14 16:27:55 +0000 |
commit | 5240d014f87974ae89d792458b63769b950da20f (patch) | |
tree | 22ff17214a36dafacaaf89deea94ad7a6d3e2335 /agent/agent.h | |
parent | * export.c (do_export_stream): Allow reset-subkey-passwd along (diff) | |
download | gnupg-5240d014f87974ae89d792458b63769b950da20f.tar.gz gnupg-5240d014f87974ae89d792458b63769b950da20f.zip |
agent/
* gpg-agent.c: New option --pinentry-touch-file.
(get_agent_socket_name): New.
* agent.h (opt): Add pinentry_touch_file.
* call-pinentry.c (start_pinentry): Send new option to the
pinentry.
Diffstat (limited to '')
-rw-r--r-- | agent/agent.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h index c86ec1e5f..15830de27 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -72,6 +72,10 @@ struct int disable_scdaemon; /* Never use the SCdaemon. */ int no_grab; /* Don't let the pinentry grab the keyboard */ + /* The name of the file pinentry shall tocuh before exiting. If + this is not set the filoe name of the standard socket is used. */ + const char *pinentry_touch_file; + /* The default and maximum TTL of cache entries. */ unsigned long def_cache_ttl; /* Default. */ unsigned long def_cache_ttl_ssh; /* for SSH. */ @@ -186,6 +190,7 @@ cache_mode_t; /*-- gpg-agent.c --*/ void agent_exit (int rc) JNLIB_GCC_A_NR; /* Also implemented in other tools */ +const char *get_agent_socket_name (void); /*-- command.c --*/ gpg_error_t agent_write_status (ctrl_t ctrl, const char *keyword, ...); |