From 547d50940fb66aae0a9d702913f3b02096a3304e Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Sun, 23 Dec 2007 18:15:44 +0000 Subject: mesh syncing works now --- options.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'options.h') diff --git a/options.h b/options.h index 191b303..9a4a4ed 100644 --- a/options.h +++ b/options.h @@ -33,6 +33,15 @@ #include "datatypes.h" #include "threadUtils.hpp" +#include + +typedef struct OptionConnectTo +{ + std::string host; + uint16_t port; +}; + +typedef std::list 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_; -- cgit v1.2.3