diff options
author | Othmar Gsenger <otti@anytun.org> | 2007-12-23 18:15:44 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2007-12-23 18:15:44 +0000 |
commit | 547d50940fb66aae0a9d702913f3b02096a3304e (patch) | |
tree | a5a659e31967b82c218f33367a8f531494dc04e0 /options.h | |
parent | parser now understands lists (diff) |
mesh syncing works now
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -33,6 +33,15 @@ #include "datatypes.h" #include "threadUtils.hpp" +#include <list> + +typedef struct OptionConnectTo +{ + std::string host; + uint16_t port; +}; + +typedef std::list<OptionConnectTo> ConnectToList; class Options { @@ -77,10 +86,12 @@ public: Options& setCypher(std::string c); std::string getAuthAlgo(); Options& setAuthAlgo(std::string a); + ConnectToList getConnectTo(); private: Mutex mutex; + ConnectToList connect_to_; std::string progname_; sender_id_t sender_id_; std::string local_addr_; |