aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-08-20 13:43:14 +0000
committerWerner Koch <[email protected]>2004-08-20 13:43:14 +0000
commitebaba6bdab5cff7a7208106454cf9f0af45b69e1 (patch)
treee420f05b55f81e2e7fbfdfc37359c43fdd8a892b /agent/agent.h
parent(start_pinentry): Use a timeout for the pinentry lock. (diff)
downloadgnupg-ebaba6bdab5cff7a7208106454cf9f0af45b69e1.tar.gz
gnupg-ebaba6bdab5cff7a7208106454cf9f0af45b69e1.zip
* gpg-agent.c: New option --max-cache-ttl. Suggested by Alexander
Belopolsky. * cache.c (housekeeping): Use it here instead of the hardwired default of 1 hour.
Diffstat (limited to 'agent/agent.h')
-rw-r--r--agent/agent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h
index 6b7821e30..89fc4285e 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -54,6 +54,7 @@ struct {
const char *scdaemon_program;
int no_grab; /* don't let the pinentry grab the keyboard */
unsigned long def_cache_ttl;
+ unsigned long max_cache_ttl;
int running_detached; /* we are running detached from the tty. */