summaryrefslogtreecommitdiffstats
path: root/g10/call-agent.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-04-01 18:37:02 +0200
committerWerner Koch <wk@gnupg.org>2019-04-01 18:37:02 +0200
commit0fad61de159acf39e38a04f28f162f0beb0e77d6 (patch)
treead14cad4e8bf02130084235f26677f94df55738a /g10/call-agent.h
parentgpg: Remove two unused card related functions. (diff)
downloadgnupg2-0fad61de159acf39e38a04f28f162f0beb0e77d6.tar.xz
gnupg2-0fad61de159acf39e38a04f28f162f0beb0e77d6.zip
gpg: New card function agent_scd_keypairinfo.
* g10/call-agent.c (scd_keypairinfo_status_cb) (agent_scd_keypairinfo): New. Taken from gpgsm. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'g10/call-agent.h')
-rw-r--r--g10/call-agent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/call-agent.h b/g10/call-agent.h
index 86ee8a170..0a545b22e 100644
--- a/g10/call-agent.h
+++ b/g10/call-agent.h
@@ -84,6 +84,9 @@ void agent_release_card_info (struct agent_card_info_s *info);
/* Return card info. */
int agent_scd_learn (struct agent_card_info_s *info, int force);
+/* Get the keypariinfo directly from scdaemon. */
+gpg_error_t agent_scd_keypairinfo (ctrl_t ctrl, strlist_t *r_list);
+
/* Return list of cards. */
int agent_scd_cardlist (strlist_t *result);