summaryrefslogtreecommitdiff
path: root/server/reds-private.h
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2015-01-22 10:44:29 -0600
committerFrediano Ziglio <fziglio@redhat.com>2016-02-02 15:18:30 +0000
commit70a5cc9b09cbba4e634eb27ebc2459b3074e259b (patch)
tree6c0e96fb4c3a2d38ff210ca1fedbf43aef21c583 /server/reds-private.h
parent8b14dc113c464dd35216dc2d2b295d4555bdaaa5 (diff)
Make default_security and channels_security non-global
Move them into the RedsState struct, adjust functions that use these variables to take a RedsState arg. Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'server/reds-private.h')
-rw-r--r--server/reds-private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/reds-private.h b/server/reds-private.h
index fda613d6..89f5b97b 100644
--- a/server/reds-private.h
+++ b/server/reds-private.h
@@ -135,6 +135,8 @@ typedef struct RedsClientMonitorsConfig {
int buffer_pos;
} RedsClientMonitorsConfig;
+typedef struct ChannelSecurityOptions ChannelSecurityOptions;
+
struct RedsState {
int listen_socket;
int secure_listen_socket;
@@ -191,6 +193,9 @@ struct RedsState {
int mm_time_enabled;
uint32_t mm_time_latency;
+ int default_channel_security;
+ ChannelSecurityOptions *channels_security;
+
int spice_port;
int spice_secure_port;
SpiceCharDeviceInstance *vdagent;