summaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
authorErwin Nindl <nine@wirdorange.org>2008-02-27 21:21:05 +0000
committerErwin Nindl <nine@wirdorange.org>2008-02-27 21:21:05 +0000
commit63cc38e6bd6329dfe0021adc2f8609bf7819fc49 (patch)
tree07bceb456776f1f0b98dcc53a843097f612f37ef /options.h
parentremoved debug statements (diff)
added mux to options
Diffstat (limited to 'options.h')
-rw-r--r--options.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/options.h b/options.h
index b533695..b34e012 100644
--- a/options.h
+++ b/options.h
@@ -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;