aboutsummaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-06-27 20:53:09 +0000
committerWerner Koch <[email protected]>2003-06-27 20:53:09 +0000
commitf5db59fc21f172a2a71ed0c10f249efaa7ad794e (patch)
tree4d6e8c746037a053f972c2da4da1575bb076e4fd /scd/scdaemon.h
parentFinished the bulk of changes for gnupg 1.9. This included switching (diff)
downloadgnupg-f5db59fc21f172a2a71ed0c10f249efaa7ad794e.tar.gz
gnupg-f5db59fc21f172a2a71ed0c10f249efaa7ad794e.zip
Key generation and signing using the OpenPGP card does rudimentary work.
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);