aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-08-16 14:24:38 +0000
committerWerner Koch <[email protected]>2002-08-16 14:24:38 +0000
commitca7ed726a7f35a3154ecdb8f6f9e4f848cc963b5 (patch)
tree836406c1c3a75e7a8940a0eab6e95883706f6ea3 /agent/agent.h
parent* assuan.h: Renamed Bad_Certificate_Path to Bad_Certificate_Chain. (diff)
downloadgnupg-ca7ed726a7f35a3154ecdb8f6f9e4f848cc963b5.tar.gz
gnupg-ca7ed726a7f35a3154ecdb8f6f9e4f848cc963b5.zip
* call-scd.c (learn_status_cb): Handle CERTINFO status.
(agent_card_learn): Add args for certinfo cb. * learncard.c (release_certinfo,certinfo_cb): New. (send_cert_back): New. With factored out code from .. (agent_handle_learn): here. Return certinfo stuff.
Diffstat (limited to 'agent/agent.h')
-rw-r--r--agent/agent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/agent/agent.h b/agent/agent.h
index 41654a46f..4446cf206 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -173,7 +173,9 @@ int divert_pkdecrypt (const unsigned char *cipher,
/*-- call-scd.c --*/
int agent_card_learn (void (*kpinfo_cb)(void*, const char *),
- void *kpinfo_cb_arg);
+ void *kpinfo_cb_arg,
+ void (*certinfo_cb)(void*, const char *),
+ void *certinfo_cb_arg);
int agent_card_serialno (char **r_serialno);
int agent_card_pksign (const char *keyid,
int (*getpin_cb)(void *, const char *, char*, size_t),