scd: Add reder information to --card-status.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 9 Nov 2015 07:15:44 +0000 (16:15 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 9 Nov 2015 07:15:44 +0000 (16:15 +0900)
commitbce0e3f71df0709a7d323a688ddf2690c1727a6c
treeed4c60607c098596b578d323ff1566f78d3a22fd
parent2242658efe0c975a46c3316bc9171ddbce085e2c
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.
g10/call-agent.c
g10/call-agent.h
g10/card-util.c
scd/apdu.c
scd/apdu.h
scd/ccid-driver.c
scd/ccid-driver.h
scd/command.c