mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Detect non operational readers.
Backport from 2.0.
This commit is contained in:
parent
05a3f56391
commit
ca2d315765
5 changed files with 52 additions and 10 deletions
|
@ -80,8 +80,8 @@ enum {
|
|||
#define APDU_CARD_ACTIVE (4) /* Card is active. */
|
||||
|
||||
|
||||
/* Note , that apdu_open_reader returns no status word but -1 on error. */
|
||||
int apdu_open_reader (const char *portstr);
|
||||
/* Note, that apdu_open_reader returns no status word but -1 on error. */
|
||||
int apdu_open_reader (const char *portstr, int *r_no_service);
|
||||
int apdu_open_remote_reader (const char *portstr,
|
||||
const unsigned char *cookie, size_t length,
|
||||
int (*readfnc) (void *opaque,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue