1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Some experimental code - don't use it.

This commit is contained in:
Werner Koch 2002-02-18 20:47:17 +00:00
parent 1df38417a3
commit 49b3340e0f
4 changed files with 315 additions and 16 deletions

View file

@ -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*/