summaryrefslogtreecommitdiffstats
path: root/client/red_client.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2010-03-18 10:21:47 +0100
committerAlexander Larsson <alexl@redhat.com>2010-03-18 10:21:47 +0100
commit457693fcfac7c178bdc9ca23295aa52d815ea0d6 (patch)
treef3176bcb321373b2f8974f6dcdeceb4082dba0cf /client/red_client.h
parentf16e16393e128a335b5e2d22c21315881409e99f (diff)
downloadspice-457693fcfac7c178bdc9ca23295aa52d815ea0d6.tar.gz
spice-457693fcfac7c178bdc9ca23295aa52d815ea0d6.tar.xz
spice-457693fcfac7c178bdc9ca23295aa52d815ea0d6.zip
client: add command line support for ciphers, ca file, and host certificate subject
Diffstat (limited to 'client/red_client.h')
-rw-r--r--client/red_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/red_client.h b/client/red_client.h
index e62ed77b..5e783a5f 100644
--- a/client/red_client.h
+++ b/client/red_client.h
@@ -77,6 +77,7 @@ private:
int _port;
int _sport;
RedPeer::HostAuthOptions _auth_options;
+ std::string _con_ciphers;
Thread* _thread;
Mutex _lock;
Condition _cond;
@@ -155,6 +156,7 @@ public:
bool is_auto_display_res() { return _auto_display_res;}
RedPeer::ConnectionOptions::Type get_connection_options(uint32_t channel_type);
RedPeer::HostAuthOptions& get_host_auth_options() { return _host_auth_opt;}
+ const std::string& get_connection_ciphers() { return _con_ciphers;}
void get_sync_info(uint8_t channel_type, uint8_t channel_id, SyncInfo& info);
void wait_for_channels(int wait_list_size, SpiceWaitForChannel* wait_list);
PixmapCache& get_pixmap_cache() {return _pixmap_cache;}
@@ -225,6 +227,7 @@ private:
PeerConnectionOptMap _con_opt_map;
RedPeer::HostAuthOptions _host_auth_opt;
+ std::string _con_ciphers;
Migrate _migrate;
Mutex _channels_lock;
typedef std::list<ChannelFactory*> Factorys;