summaryrefslogtreecommitdiffstats
path: root/scd/ccid-driver.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-04-20 16:17:10 +0200
committerWerner Koch <wk@gnupg.org>2004-04-20 16:17:10 +0200
commite950b01ff56c86d8e04b75a7bac4234afc939199 (patch)
treedf584bfcd6ea6348371a037e2983c393c3f02a0d /scd/ccid-driver.h
parentInclude jnlib/types.h and remove our own (diff)
downloadgnupg2-e950b01ff56c86d8e04b75a7bac4234afc939199.tar.xz
gnupg2-e950b01ff56c86d8e04b75a7bac4234afc939199.zip
* pcsc-wrapper.c: New.
* Makefile.am (pkglib_PROGRAMS): Install it here. * apdu.c (writen, readn): New. (open_pcsc_reader, pcsc_send_apdu, close_pcsc_reader): Use the pcsc-wrapper if we are using Pth.
Diffstat (limited to 'scd/ccid-driver.h')
-rw-r--r--scd/ccid-driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/ccid-driver.h b/scd/ccid-driver.h
index e33be55d9..8b86eb1a5 100644
--- a/scd/ccid-driver.h
+++ b/scd/ccid-driver.h
@@ -63,6 +63,7 @@ int ccid_open_reader (ccid_driver_t *handle, int readerno);
int ccid_close_reader (ccid_driver_t handle);
int ccid_get_atr (ccid_driver_t handle,
unsigned char *atr, size_t maxatrlen, size_t *atrlen);
+int ccid_slot_status (ccid_driver_t handle, int *statusbits);
int ccid_transceive (ccid_driver_t handle,
const unsigned char *apdu, size_t apdulen,
unsigned char *resp, size_t maxresplen, size_t *nresp);