NIIBE Yutaka
1080e91efd
scd,pcsc: Use a single context.
* scd/apdu.c (pcsc): New variable.
(struct reader_table_s): Remove pcsc.context from member.
(pcsc_get_status, connect_pcsc_card): Use pcsc.context.
(close_pcsc_reader): Release pcsc.context here with reference count.
(pcsc_init): New.
(open_pcsc_reader): Don't call pcsc_establish_context here. Call
close_pcsc_reader instead of pcsc_release_context.
(apdu_open_reader): Call pcsc_init if needed.
(apdu_init): Initialize pcsc.count and pcsc.context.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2019-09-11 10:11:25 +09:00
..
2019-09-11 10:11:25 +09:00
2019-02-21 15:16:11 +09:00
2019-09-04 12:08:07 +02:00
2019-06-25 09:21:14 +02:00
2019-06-25 09:21:14 +02:00
2019-06-21 11:42:59 +02:00
2019-09-04 10:45:29 +02:00
2019-09-05 13:53:58 +02:00
2019-09-04 10:45:29 +02:00
2019-09-05 13:03:00 +02:00
2019-09-04 10:45:29 +02:00
2019-09-05 14:07:27 +02:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2019-09-11 10:11:18 +09:00
2019-09-11 10:11:18 +09:00
2011-12-01 11:09:02 +01:00
2019-09-04 13:50:12 +02:00
2019-07-22 10:14:21 +09:00
2019-03-05 15:49:20 +01:00
2019-01-20 11:45:57 +01:00
2013-05-07 21:35:48 +02:00
2019-09-05 13:02:59 +02:00
2019-09-05 13:02:59 +02:00