aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-02-18 20:44:48 +0000
committerWerner Koch <[email protected]>2002-02-18 20:44:48 +0000
commit822e682c50764d1efffd2446f8fa2e7c2ef7bb17 (patch)
tree6292f50300464f6f3fa20b253918182864694b3f /agent/agent.h
parent* fopencookie.c: Dummy function. (diff)
downloadgnupg-822e682c50764d1efffd2446f8fa2e7c2ef7bb17.tar.gz
gnupg-822e682c50764d1efffd2446f8fa2e7c2ef7bb17.zip
* command.c (cmd_marktrusted): Implemented.
* trustlist.c (agent_marktrusted): New. (open_list): Add APPEND arg. * query.c (agent_get_confirmation): New.
Diffstat (limited to '')
-rw-r--r--agent/agent.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/agent/agent.h b/agent/agent.h
index 9236ef07a..a4cf8629d 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -110,6 +110,7 @@ int agent_askpin (const char *desc_text, const char *err_text,
int agent_get_passphrase (char **retpass,
const char *desc, const char *prompt,
const char *errtext);
+int agent_get_confirmation (const char *desc, const char *prompt);
/*-- cache.c --*/
int agent_put_cache (const char *key, const char *data, int ttl);
@@ -139,7 +140,7 @@ int agent_private_key_type (const unsigned char *privatekey);
/*-- trustlist.c --*/
int agent_istrusted (const char *fpr);
int agent_listtrusted (void *assuan_context);
-
+int agent_marktrusted (const char *name, const char *fpr, int flag);
#endif /*AGENT_H*/