summaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-12 15:19:27 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-12 15:19:27 +0000
commite706bdc57f6f74f712709d0375e1524af6602f13 (patch)
treee9c01da885a5cbfab45a7b6341e641bceebdfd13 /options.h
parentupdated readme (diff)
added syncConnector Thread
Diffstat (limited to 'options.h')
-rw-r--r--options.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/options.h b/options.h
index 08c299a..191b303 100644
--- a/options.h
+++ b/options.h
@@ -50,6 +50,10 @@ public:
Options& setLocalAddr(std::string l);
std::string getLocalSyncAddr();
Options& setLocalSyncAddr(std::string l);
+ std::string getRemoteSyncAddr();
+ Options& setRemoteSyncAddr(std::string l);
+ u_int16_t getRemoteSyncPort();
+ Options& setRemoteSyncPort(u_int16_t l);
u_int16_t getLocalPort();
Options& setLocalPort(u_int16_t l);
std::string getRemoteAddr();
@@ -83,6 +87,8 @@ private:
std::string local_sync_addr_;
u_int16_t local_port_;
u_int16_t local_sync_port_;
+ std::string remote_sync_addr_;
+ u_int16_t remote_sync_port_;
std::string remote_addr_;
u_int16_t remote_port_;
std::string dev_name_;