aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.h
diff options
context:
space:
mode:
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);