aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-08-05 17:11:04 +0000
committerWerner Koch <[email protected]>2003-08-05 17:11:04 +0000
commit1bcf8ef9dea1a9b171c27ef48cadb79df6201e33 (patch)
tree2ad720429f4b04941ebf0fcbe005e63c89fe69c6 /scd/apdu.h
parentThis commit was manufactured by cvs2svn to create branch (diff)
downloadgnupg-1bcf8ef9dea1a9b171c27ef48cadb79df6201e33.tar.gz
gnupg-1bcf8ef9dea1a9b171c27ef48cadb79df6201e33.zip
Cleanups, fixes and PC/SC support
Diffstat (limited to 'scd/apdu.h')
-rw-r--r--scd/apdu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scd/apdu.h b/scd/apdu.h
index 44166a3fe..6e4244ba0 100644
--- a/scd/apdu.h
+++ b/scd/apdu.h
@@ -47,12 +47,13 @@ enum {
between errnos on a failed malloc. */
SW_HOST_INV_VALUE = 0x10002,
SW_HOST_INCOMPLETE_CARD_RESPONSE = 0x10003,
+ SW_HOST_NO_DRIVER = 0x10004
};
/* Note , that apdu_open_reader returns no status word but -1 on error. */
-int apdu_open_reader (int port);
+int apdu_open_reader (const char *portstr);
unsigned char *apdu_get_atr (int slot, size_t *atrlen);