summaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2005-05-18 12:48:06 +0200
committerWerner Koch <wk@gnupg.org>2005-05-18 12:48:06 +0200
commit4237a9cc7fce3bad2a41b755fdf349a42ddd5ccf (patch)
tree3c28c859bac5ca2c4c186e447256b3e207259dc5 /agent/agent.h
parent(got_fatal_signal): Print the signal number if we can't (diff)
downloadgnupg2-4237a9cc7fce3bad2a41b755fdf349a42ddd5ccf.tar.xz
gnupg2-4237a9cc7fce3bad2a41b755fdf349a42ddd5ccf.zip
Changed the scdaemon to handle concurrent sessions. Adjusted
gpg-agent accordingly. Code cleanups.
Diffstat (limited to 'agent/agent.h')
-rw-r--r--agent/agent.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h
index 298b5b142..6ab65eeba 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -99,10 +99,19 @@ struct {
#define DBG_ASSUAN (opt.debug & DBG_ASSUAN_VALUE)
struct server_local_s;
+struct scd_local_s;
+/* Collection of data per session (aka connection). */
struct server_control_s {
+
+ /* Private data of the server (command.c). */
struct server_local_s *server_local;
+
+ /* Private data of the SCdaemon (call-scd.c). */
+ struct scd_local_s *scd_local;
+
int connection_fd; /* -1 or an identifier for the current connection. */
+
char *display;
char *ttyname;
char *ttytype;