mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* cardglue.c (open_card): Use shutdown code if possible.
(check_card_serialno): Ditto. * ccid-driver.c (do_close_reader): Factored some code out from ... (ccid_close_reader): ..here. (ccid_shutdown_reader): New. * apdu.c (apdu_shutdown_reader): New. (shutdown_ccid_reader): New.
This commit is contained in:
parent
ca26884b3a
commit
5576f6ef6c
6 changed files with 179 additions and 43 deletions
|
@ -76,6 +76,7 @@ int apdu_open_remote_reader (const char *portstr,
|
|||
void *writefnc_value,
|
||||
void (*closefnc) (void *opaque),
|
||||
void *closefnc_value);
|
||||
int apdu_shutdown_reader (int slot);
|
||||
int apdu_close_reader (int slot);
|
||||
int apdu_enum_reader (int slot, int *used);
|
||||
unsigned char *apdu_get_atr (int slot, size_t *atrlen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue