(reader_table_s): Add function pointers for the backends.
authorWerner Koch <wk@gnupg.org>
Fri, 16 Jul 2004 15:45:25 +0000 (15:45 +0000)
committerWerner Koch <wk@gnupg.org>
Fri, 16 Jul 2004 15:45:25 +0000 (15:45 +0000)
commit8add759d64b3cca6881a78205dce6a129141d26f
tree77eb954fddcbca06aa7752c9c1ad36a95ac2f340
parentc4e52b1531816cc9bd39f4a326010eb8ee221f1f
(reader_table_s):  Add function pointers for the backends.
(apdu_close_reader, apdu_get_status, apdu_activate)
(send_apdu): Make use of them.
(new_reader_slot): Intialize them to NULL.
(dump_ccid_reader_status, ct_dump_reader_status): New.
(dump_pcsc_reader_status): New.
(open_ct_reader, open_pcsc_reader, open_ccid_reader)
(open_osc_reader, open_rapdu_reader): Intialize function pointers.
(ct_activate_card, ct_send_apdu, pcsc_send_apdu, osc_send_apdu)
(error_string): Removed.  Replaced by apdu_strerror.
(get_ccid_error_string): Removed.
(ct_activate_card): Remove the unused loop.
(reset_ct_reader): Implemented.
(ct_send_apdu): Activate the card if not yet done.
(pcsc_send_apdu): Ditto.
scd/ChangeLog
scd/apdu.c
scd/apdu.h
scd/ccid-driver.c
scd/ccid-driver.h
scd/iso7816.c