aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-05-03 11:10:49 +0000
committerWerner Koch <[email protected]>2011-01-25 20:51:58 +0000
commitca2d3157656d542ceec50607d0b92f13542a0fe7 (patch)
tree45557ff38af38a9eca3690dadbbf4a7523974487 /scd/apdu.h
parentFix setting of default homedir for Wince (diff)
downloadgnupg-ca2d3157656d542ceec50607d0b92f13542a0fe7.tar.gz
gnupg-ca2d3157656d542ceec50607d0b92f13542a0fe7.zip
Detect non operational readers.
Backport from 2.0.
Diffstat (limited to 'scd/apdu.h')
-rw-r--r--scd/apdu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scd/apdu.h b/scd/apdu.h
index c47dea882..d79f8b48f 100644
--- a/scd/apdu.h
+++ b/scd/apdu.h
@@ -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,