aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-common.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scd/app-common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/scd/app-common.h b/scd/app-common.h
index c16a15719..6e62bf99d 100644
--- a/scd/app-common.h
+++ b/scd/app-common.h
@@ -23,6 +23,8 @@
#include <ksba.h>
+struct app_local_s; /* Defined by all app-*.c. */
+
struct app_ctx_s {
int initialized; /* The application has been initialied and the
function pointers may be used. Note that for
@@ -37,7 +39,9 @@ struct app_ctx_s {
int force_chv1; /* True if the card does not cache CHV1. */
int did_chv2;
int did_chv3;
+ struct app_local_s *app_local; /* Local to the application. */
struct {
+ void (*deinit) (app_t app);
int (*learn_status) (app_t app, ctrl_t ctrl);
int (*readcert) (app_t app, const char *certid,
unsigned char **cert, size_t *certlen);
@@ -75,7 +79,6 @@ struct app_ctx_s {
void *pincb_arg);
} fnc;
-
};
#if GNUPG_MAJOR_VERSION == 1