diff options
author | Werner Koch <[email protected]> | 2003-09-28 13:41:58 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2003-09-28 13:41:58 +0000 |
commit | e369270a655fdab6b78053231c03bc2d82b672a9 (patch) | |
tree | 52d106255c5a1ce9dbfdffd09cb9b3f08197eb77 /g10/options.h | |
parent | First bits of a card support backport from 1.9. It is not enabled by (diff) | |
download | gnupg-e369270a655fdab6b78053231c03bc2d82b672a9.tar.gz gnupg-e369270a655fdab6b78053231c03bc2d82b672a9.zip |
* g10.c (main): New commands --card-edit, --card-status and
--change-pin. New options --ctapi-driver, --pcsc-driver and
--disable-ccid
* options.h (DBG_CARD_IO): New.
* cardglue.c, cardclue.h: Enhanced.
* card-util.c: New. Taken from current the gnupg 1.9 branch.
* app-common.h, app-openpgp.c, iso7816.c, iso7816.h, apdu.c
* apdu.h, ccid-driver.c, ccid-driver.h: New. Takem from the current
gnupg 1.9 branch withy minor changes to include directives.
* Makefile.am: Added these files.
Diffstat (limited to '')
-rw-r--r-- | g10/options.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h index 2ac5680d6..c4fd89d52 100644 --- a/g10/options.h +++ b/g10/options.h @@ -182,6 +182,13 @@ struct { int strict; int mangle_dos_filenames; int enable_progress_filter; + +#ifdef ENABLE_CARD_SUPPORT + const char *ctapi_driver; /* Library to access the ctAPI. */ + const char *pcsc_driver; /* Library to access the PC/SC system. */ + int disable_ccid; /* Disable the use of the internal CCID driver. */ +#endif /*ENABLE_CARD_SUPPORT*/ + } opt; @@ -199,6 +206,7 @@ struct { #define DBG_TRUST_VALUE 256 /* debug the trustdb */ #define DBG_HASHING_VALUE 512 /* debug hashing operations */ #define DBG_EXTPROG_VALUE 1024 /* debug external program calls */ +#define DBG_CARD_IO_VALUE 2048 #define DBG_PACKET (opt.debug & DBG_PACKET_VALUE) @@ -207,6 +215,7 @@ struct { #define DBG_TRUST (opt.debug & DBG_TRUST_VALUE) #define DBG_HASHING (opt.debug & DBG_HASHING_VALUE) #define DBG_EXTPROG (opt.debug & DBG_EXTPROG_VALUE) +#define DBG_CARD_IO (opt.debug & DBG_CARD_IO_VALUE) #define GNUPG (opt.compliance==CO_GNUPG) #define RFC1991 (opt.compliance==CO_RFC1991 || opt.compliance==CO_PGP2) |