diff options
author | Marcus Brinkmann <[email protected]> | 2002-04-24 23:18:53 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2002-04-24 23:18:53 +0000 |
commit | b4f8fcb0e11a5079783b6a95d7c9a80b49d886b9 (patch) | |
tree | d8ca7d236377df0b8afd10cfee0716a5e90b6208 /agent/agent.h | |
parent | 2002-04-25 Marcus Brinkmann <[email protected]> (diff) | |
download | gnupg-b4f8fcb0e11a5079783b6a95d7c9a80b49d886b9.tar.gz gnupg-b4f8fcb0e11a5079783b6a95d7c9a80b49d886b9.zip |
2002-04-25 Marcus Brinkmann <[email protected]>
* agent.h (agent_get_confirmation): Replace paramter prompt with
two parameters ok and cancel.
* query.c (agent_get_confirmation): Likewise. Implement this.
* trustlist.c (agent_marktrusted): Fix invocation of
agent_get_confirmation.
* divert-scd.c (ask_for_card): Likewise.
Diffstat (limited to 'agent/agent.h')
-rw-r--r-- | agent/agent.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/agent/agent.h b/agent/agent.h index b6bdb0caa..4dad5181c 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -119,7 +119,8 @@ 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); +int agent_get_confirmation (const char *desc, const char *ok, + const char *cancel); /*-- cache.c --*/ int agent_put_cache (const char *key, const char *data, int ttl); |