diff options
author | Erwin Nindl <nine@wirdorange.org> | 2008-02-27 21:21:05 +0000 |
---|---|---|
committer | Erwin Nindl <nine@wirdorange.org> | 2008-02-27 21:21:05 +0000 |
commit | 63cc38e6bd6329dfe0021adc2f8609bf7819fc49 (patch) | |
tree | 07bceb456776f1f0b98dcc53a843097f612f37ef /options.h | |
parent | removed debug statements (diff) |
added mux to options
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -32,6 +32,7 @@ #define _OPTIONS_H_ #include "datatypes.h" +#include "buffer.h" #include "threadUtils.hpp" #include <list> @@ -90,6 +91,12 @@ public: std::string getAuthAlgo(); Options& setAuthAlgo(std::string a); ConnectToList getConnectTo(); + Options& setMux(u_int16_t m); + u_int16_t getMux(); + Options& setKey(std::string k); + Buffer getKey(); + Options& setSalt(std::string s); + Buffer getSalt(); private: Options(); @@ -128,6 +135,9 @@ private: std::string cipher_; std::string kd_prf_; std::string auth_algo_; + u_int16_t mux_; + Buffer key_; + Buffer salt_; }; extern Options& gOpt; |