aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-09-30 17:34:38 +0000
committerWerner Koch <[email protected]>2003-09-30 17:34:38 +0000
commit316dc2fd60875bc102bd459a4b3d4a5a59086b02 (patch)
tree304a34a93df7ae9ccb34f26d36a684d6e8249338 /g10/call-agent.h
parentMinor fixes (diff)
downloadgnupg-316dc2fd60875bc102bd459a4b3d4a5a59086b02.tar.gz
gnupg-316dc2fd60875bc102bd459a4b3d4a5a59086b02.zip
* keylist.c (print_card_serialno): New.
(list_keyblock_print): Use it here. * card-util.c (toggle_forcesig): New. (card_edit): New command "forcesig". * card-util.c (print_name, print_isoname): Use 0 and not LF fro the max_n arg of tty_print_utf8_string2. * call-agent.c (agent_scd_getattr): New. (learn_status_cb): Release values before assignment so that it can be used by getattr to update the structure. * card-util.c (change_pin): Simplified. We now have only a PIN and an Admin PIN.
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 e8abfbc7b..101db9574 100644
--- a/g10/call-agent.h
+++ b/g10/call-agent.h
@@ -58,6 +58,9 @@ void agent_release_card_info (struct agent_card_info_s *info);
/* Return card info. */
int agent_learn (struct agent_card_info_s *info);
+/* Update INFO with the attribute NAME. */
+int agent_scd_getattr (const char *name, struct agent_card_info_s *info);
+
/* Check whether the secret key for the key identified by HEXKEYGRIP
is available. Return 0 for yes or an error code. */
int agent_havekey (const char *hexkeygrip);