aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'scd/app-common.h')
-rw-r--r--scd/app-common.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/scd/app-common.h b/scd/app-common.h
index 8a25cda55..cf51d26fe 100644
--- a/scd/app-common.h
+++ b/scd/app-common.h
@@ -126,11 +126,13 @@ struct app_ctx_s {
gpg_error_t (*check_pin) (app_t app, const char *keyidstr,
gpg_error_t (*pincb)(void*, const char *, char **),
void *pincb_arg);
- int (*with_keygrip) (app_t app, ctrl_t ctrl, int action,
- const char *keygrip_str);
+ gpg_error_t (*with_keygrip) (app_t app, ctrl_t ctrl, int action,
+ const char *keygrip_str);
} fnc;
};
+
+/* Action values for app_do_with_keygrip. */
enum
{
KEYGRIP_ACTION_SEND_DATA,
@@ -138,6 +140,7 @@ enum
KEYGRIP_ACTION_LOOKUP
};
+
/*-- app-help.c --*/
unsigned int app_help_count_bits (const unsigned char *a, size_t len);
gpg_error_t app_help_get_keygrip_string_pk (const void *pk, size_t pklen,