aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-01-19 20:59:19 +0000
committerWerner Koch <[email protected]>2002-01-19 20:59:19 +0000
commiteac306fc907a0c7c081b2508d72843fffa56b29f (patch)
tree3549b77f290a1c68a4dae21dc3dd631716e28414 /agent/agent.h
parent* sysutils.c: New. This is the misc.c file from gnupg 1.0.6 with (diff)
downloadgnupg-eac306fc907a0c7c081b2508d72843fffa56b29f.tar.gz
gnupg-eac306fc907a0c7c081b2508d72843fffa56b29f.zip
* gpg-agent.c (main): Disable core dumps.
* cache.c: New. * command.c (cmd_get_passphrase): Use the cache. (cmd_clear_passphrase): Ditto. * gpg-agent.c: Removed unused cruft and implement the socket based server. (my_strusage): Take bug report address from configure.ac. * command.c (start_command_handler): Add an argument to start as regular server. (start_command_handler): Enable Assuan logging.
Diffstat (limited to '')
-rw-r--r--agent/agent.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h
index ad0a6e8b7..ca70150c8 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -100,6 +100,12 @@ int agent_get_passphrase (char **retpass,
const char *desc, const char *prompt,
const char *errtext);
+/*-- cache.c --*/
+int agent_put_cache (const char *key, const char *data, int ttl);
+const char *agent_get_cache (const char *key);
+
+
+
/*-- pksign.c --*/
int agent_pksign (CTRL ctrl, FILE *outfp);