diff options
author | Werner Koch <wk@gnupg.org> | 2002-02-18 21:47:17 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2002-02-18 21:47:17 +0100 |
commit | 49b3340e0f3ee46c803629bf07727fea183acd07 (patch) | |
tree | 4a247a30b3ffd29827ab3696be4aa8da79a6c6cf /scd/scdaemon.h | |
parent | More error codes (diff) | |
download | gnupg2-49b3340e0f3ee46c803629bf07727fea183acd07.tar.xz gnupg2-49b3340e0f3ee46c803629bf07727fea183acd07.zip |
Some experimental code - don't use it.
Diffstat (limited to 'scd/scdaemon.h')
-rw-r--r-- | scd/scdaemon.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h index 76d00b1ce..7d43dc129 100644 --- a/scd/scdaemon.h +++ b/scd/scdaemon.h @@ -21,6 +21,7 @@ #ifndef SCDAEMON_H #define SCDAEMON_H +#include <time.h> #include <gcrypt.h> #include "../common/util.h" #include "../common/errors.h" @@ -55,13 +56,15 @@ struct { #define DBG_ASSUAN (opt.debug & DBG_ASSUAN_VALUE) struct server_local_s; +struct card_ctx_s; struct server_control_s { struct server_local_s *server_local; + struct card_ctx_s *card_ctx; }; typedef struct server_control_s *CTRL; - +typedef struct card_ctx_s *CARD; /*-- scdaemon.c --*/ void scd_exit (int rc); @@ -70,5 +73,11 @@ void scd_init_default_ctrl (CTRL ctrl); /*-- command.c --*/ void scd_command_handler (int); +/*-- card.c --*/ +int card_open (CARD *rcard); +void card_close (CARD card); +int card_get_serial_and_stamp (CARD card, char **serial, time_t *stamp); + + #endif /*SCDAEMON_H*/ |