aboutsummaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-11-20 16:49:41 +0000
committerWerner Koch <[email protected]>2006-11-20 16:49:41 +0000
commit5885142c83823b153689acd272103403127a3cd3 (patch)
tree514e8325f9201775785b3249b176e9ac051776ff /scd/scdaemon.h
parentNo need for thsi script. Use ./autogen.sh --build-w32 instead. (diff)
downloadgnupg-5885142c83823b153689acd272103403127a3cd3.tar.gz
gnupg-5885142c83823b153689acd272103403127a3cd3.zip
Made some PIN pads work.
Some cleanups for 64 bit CPUs.
Diffstat (limited to '')
-rw-r--r--scd/scdaemon.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h
index 2d20b0231..7e5b9fb9b 100644
--- a/scd/scdaemon.h
+++ b/scd/scdaemon.h
@@ -90,6 +90,12 @@ struct app_ctx_s;
struct server_control_s
{
+ /* Private data used to fire up the connection thread. We use this
+ structure do avoid an extra allocation for just a few bytes. */
+ struct {
+ int fd;
+ } thread_startup;
+
/* Local data of the server; used only in command.c. */
struct server_local_s *server_local;
@@ -115,11 +121,10 @@ typedef struct app_ctx_s *app_t;
/*-- scdaemon.c --*/
void scd_exit (int rc);
-void scd_init_default_ctrl (ctrl_t ctrl);
const char *scd_get_socket_name (void);
/*-- command.c --*/
-void scd_command_handler (int);
+void scd_command_handler (ctrl_t, int);
void send_status_info (ctrl_t ctrl, const char *keyword, ...)
GNUPG_GCC_A_SENTINEL(1);
void scd_update_reader_status_file (void);