aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
Diffstat (limited to 'agent/agent.h')
-rw-r--r--agent/agent.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h
index b80c6a05c..0c83b274d 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -130,6 +130,11 @@ struct
/* This global option enables the ssh-agent subsystem. */
int ssh_support;
+
+ /* This global options indicates the use of an extra socket. Note
+ that we use a hack for cleanup handling in gpg-agent.c: If the
+ value is less than 2 the name has not yet been malloced. */
+ int extra_socket;
} opt;
@@ -171,6 +176,9 @@ struct server_control_s
gnupg_fd_t fd;
} thread_startup;
+ /* Flag indicating the connection is run in restricted mode. */
+ int restricted;
+
/* Private data of the server (command.c). */
struct server_local_s *server_local;