diff options
author | NIIBE Yutaka <[email protected]> | 2015-11-09 07:15:44 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2015-11-09 07:15:44 +0000 |
commit | bce0e3f71df0709a7d323a688ddf2690c1727a6c (patch) | |
tree | ed4c60607c098596b578d323ff1566f78d3a22fd /scd/apdu.h | |
parent | gpg: Avoid new strings. (diff) | |
download | gnupg-bce0e3f71df0709a7d323a688ddf2690c1727a6c.tar.gz gnupg-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 'scd/apdu.h')
-rw-r--r-- | scd/apdu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/apdu.h b/scd/apdu.h index 7e30f761b..1694eac80 100644 --- a/scd/apdu.h +++ b/scd/apdu.h @@ -134,6 +134,6 @@ int apdu_send_direct (int slot, size_t extended_length, const unsigned char *apdudata, size_t apdudatalen, int handle_more, unsigned char **retbuf, size_t *retbuflen); - +const char *apdu_get_reader_name (int slot); #endif /*APDU_H*/ |