scd: Clean up old code.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 6 Mar 2017 05:18:06 +0000 (14:18 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 6 Mar 2017 05:18:06 +0000 (14:18 +0900)
commitcb6337329d3c858c695a7e56e2fc31d9d50ca3fe
tree959ff2c7ab7ec284cdf6e510c9f5b453b22a51f4
parent0703de01c8fbc417a99ecf8e950fc306b8c8ac9c
scd: Clean up old code.

* scd/apdu.c (CT_init, CT_data, CT_close): Remove.
(ct_error_string, ct_activate_card, close_ct_reader, reset_ct_reader)
(ct_get_status, ct_send_apdu, open_ct_reader): Remove.
(new_reader_slot) [NEED_PCSC_WRAPPER]: Remove fd and pid handling.
(writen, readn): Remove.
(pcsc_get_status, pcsc_send_apdu, control_pcsc, close_pcsc_reader)
(reset_pcsc_reader, open_pcsc_reader): Only DIRECT version.
(apdu_open_one_reader): Remove CT_api handling.
(apdu_get_status_internal, send_le): Fix to stop warnings.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/apdu.c