diff options
author | Werner Koch <[email protected]> | 2008-06-24 16:00:29 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2008-06-24 16:00:29 +0000 |
commit | 4817ff652827d3b715315655c2272f774c20f42c (patch) | |
tree | 417ea337575f4e85c3bd9ca8cca822f10f548e1e /scd/app-common.h | |
parent | Code cleanup. (diff) | |
download | gnupg-4817ff652827d3b715315655c2272f774c20f42c.tar.gz gnupg-4817ff652827d3b715315655c2272f774c20f42c.zip |
Add support for the TCOS NullPIN feature.
Diffstat (limited to 'scd/app-common.h')
-rw-r--r-- | scd/app-common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scd/app-common.h b/scd/app-common.h index 5ddf0c0dc..dc1581e50 100644 --- a/scd/app-common.h +++ b/scd/app-common.h @@ -31,6 +31,10 @@ #endif +#define APP_CHANGE_FLAG_RESET 1 +#define APP_CHANGE_FLAG_NULLPIN 2 + + struct app_local_s; /* Defined by all app-*.c. */ struct app_ctx_s { @@ -101,7 +105,7 @@ struct app_ctx_s { gpg_error_t (*pincb)(void*, const char *, char **), void *pincb_arg); gpg_error_t (*change_pin) (app_t app, ctrl_t ctrl, - const char *chvnostr, int reset_mode, + const char *chvnostr, unsigned int flags, gpg_error_t (*pincb)(void*, const char *, char **), void *pincb_arg); gpg_error_t (*check_pin) (app_t app, const char *keyidstr, |