diff options
Diffstat (limited to '')
-rw-r--r-- | g10/cardglue.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/cardglue.h b/g10/cardglue.h index 076849866..42a22b542 100644 --- a/g10/cardglue.h +++ b/g10/cardglue.h @@ -84,7 +84,7 @@ typedef struct ctrl_ctx_s *CTRL; #define GPG_ERR_USE_CONDITIONS G10ERR_GENERAL #define GPG_ERR_WRONG_CARD G10ERR_GENERAL #define GPG_ERR_WRONG_SECKEY G10ERR_WRONG_SECKEY - +#define GPG_ERR_PIN_NOT_SYNCED G10ERR_GENERAL typedef int gpg_error_t; typedef int gpg_err_code_t; @@ -130,6 +130,9 @@ int agent_learn (struct agent_card_info_s *info); is available. Return 0 for yes or an error code. */ int agent_havekey (const char *hexkeygrip); +/* Return card info. */ +int agent_scd_getattr (const char *name, struct agent_card_info_s *info); + /* Send a SETATTR command to the SCdaemon. */ int agent_scd_setattr (const char *name, const unsigned char *value, size_t valuelen); |