diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2015-11-09 08:15:44 +0100 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2015-11-09 08:15:44 +0100 |
commit | bce0e3f71df0709a7d323a688ddf2690c1727a6c (patch) | |
tree | ed4c60607c098596b578d323ff1566f78d3a22fd /g10/call-agent.h | |
parent | gpg: Avoid new strings. (diff) | |
download | gnupg2-bce0e3f71df0709a7d323a688ddf2690c1727a6c.tar.xz gnupg2-bce0e3f71df0709a7d323a688ddf2690c1727a6c.zip |
scd: Add reder information to --card-status.
* g10/call-agent.h, g10/call-agent.c (agent_release_card_info)
g10/card-util.c (card_status): Add READER.
* scd/apdu.c (close_ccid_reader, open_ccid_reader): Handle RDRNAME.
(apdu_get_reader_name): New.
* scd/ccid-driver.c (ccid_open_reader): Add argument to RDRNAME_P.
* scd/command.c (cmd_learn): Return READER information.
Diffstat (limited to 'g10/call-agent.h')
-rw-r--r-- | g10/call-agent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/call-agent.h b/g10/call-agent.h index 70421dba4..fa1b88a29 100644 --- a/g10/call-agent.h +++ b/g10/call-agent.h @@ -23,6 +23,7 @@ struct agent_card_info_s { int error; /* private. */ + char *reader; /* Reader information. */ char *apptype; /* Malloced application type string. */ char *serialno; /* malloced hex string. */ char *disp_name; /* malloced. */ |