diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2010-03-18 10:21:47 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-03-18 10:21:47 +0100 |
commit | 457693fcfac7c178bdc9ca23295aa52d815ea0d6 (patch) | |
tree | f3176bcb321373b2f8974f6dcdeceb4082dba0cf /client/application.h | |
parent | f16e16393e128a335b5e2d22c21315881409e99f (diff) | |
download | spice-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/application.h')
-rw-r--r-- | client/application.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/application.h b/client/application.h index b2a18d37..adf25175 100644 --- a/client/application.h +++ b/client/application.h @@ -188,6 +188,7 @@ public: void connect(); const PeerConnectionOptMap& get_con_opt_map() {return _peer_con_opt;} const RedPeer::HostAuthOptions& get_host_auth_opt() { return _host_auth_opt;} + const std::string& get_connection_ciphers() { return _con_ciphers;} uint32_t get_mouse_mode(); const std::vector<int>& get_canvas_types() { return _canvas_types;} @@ -217,6 +218,9 @@ public: private: bool set_channels_security(CmdLineParser& parser, bool on, char *val, const char* arg0); + bool set_connection_ciphers(const char* ciphers, const char* arg0); + bool set_ca_file(const char* ca_file, const char* arg0); + bool set_host_cert_subject(const char* subject, const char* arg0); bool set_enable_channels(CmdLineParser& parser, bool enable, char *val, const char* arg0); bool set_canvas_option(CmdLineParser& parser, char *val, const char* arg0); void on_cmd_line_invalid_arg(const char* arg0, const char* what, const char* val); @@ -283,6 +287,7 @@ private: RedClient _client; PeerConnectionOptMap _peer_con_opt; RedPeer::HostAuthOptions _host_auth_opt; + std::string _con_ciphers; std::vector<bool> _enabled_channels; std::vector<RedScreen*> _screens; RedScreen* _main_screen; |