aboutsummaryrefslogtreecommitdiffstats
path: root/scd/ccid-driver.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-11-28 11:52:25 +0000
committerWerner Koch <[email protected]>2005-11-28 11:52:25 +0000
commit6a13cf2c3dbacb9f3afd3f64e5d0c78b9c0e77e9 (patch)
tree86758522ae4f5ed44068bc6dbf5d2adb068a3ea1 /scd/ccid-driver.h
parentAdd translations (diff)
downloadgnupg-6a13cf2c3dbacb9f3afd3f64e5d0c78b9c0e77e9.tar.gz
gnupg-6a13cf2c3dbacb9f3afd3f64e5d0c78b9c0e77e9.zip
Preparing an interim release
Diffstat (limited to 'scd/ccid-driver.h')
-rw-r--r--scd/ccid-driver.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/scd/ccid-driver.h b/scd/ccid-driver.h
index 1b9ac2f85..6f6527108 100644
--- a/scd/ccid-driver.h
+++ b/scd/ccid-driver.h
@@ -58,7 +58,7 @@
#ifndef CCID_DRIVER_H
#define CCID_DRIVER_H
-/* The CID driver returns the same error codes as the statsu words
+/* The CID driver returns the same error codes as the status words
used by GnuPG's apdu.h. For ease of maintenance they should always
match. */
#define CCID_DRIVER_ERR_OUT_OF_CORE 0x10001
@@ -74,6 +74,7 @@
#define CCID_DRIVER_ERR_GENERAL_ERROR 0x1000b
#define CCID_DRIVER_ERR_NO_READER 0x1000c
#define CCID_DRIVER_ERR_ABORTED 0x1000d
+#define CCID_DRIVER_ERR_NO_KEYPAD 0x1000e
struct ccid_driver_s;
typedef struct ccid_driver_s *ccid_driver_t;
@@ -94,6 +95,10 @@ int ccid_transceive_secure (ccid_driver_t handle,
int pin_mode,
int pinlen_min, int pinlen_max, int pin_padlen,
unsigned char *resp, size_t maxresplen, size_t *nresp);
+int ccid_transceive_escape (ccid_driver_t handle,
+ const unsigned char *data, size_t datalen,
+ unsigned char *resp, size_t maxresplen,
+ size_t *nresp);