aboutsummaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'scd/scdaemon.h')
-rw-r--r--scd/scdaemon.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h
index 59d40e519..394a13a1a 100644
--- a/scd/scdaemon.h
+++ b/scd/scdaemon.h
@@ -76,18 +76,22 @@ struct {
struct server_local_s;
struct card_ctx_s;
+struct app_ctx_s;
struct server_control_s {
struct server_local_s *server_local;
struct card_ctx_s *card_ctx;
+ struct app_ctx_s *app_ctx;
struct {
unsigned char *value;
int valuelen;
} in_data; /* helper to store the value we are going to sign */
};
+
typedef struct server_control_s *CTRL;
typedef struct card_ctx_s *CARD;
+typedef struct app_ctx_s *APP;
/*-- scdaemon.c --*/
void scd_exit (int rc);
@@ -95,6 +99,7 @@ void scd_init_default_ctrl (CTRL ctrl);
/*-- command.c --*/
void scd_command_handler (int);
+void send_status_info (CTRL ctrl, const char *keyword, ...);
/*-- card.c --*/
int card_open (CARD *rcard);