summaryrefslogtreecommitdiff
path: root/connectionList.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-11-04 17:46:23 +0000
committerOthmar Gsenger <otti@anytun.org>2007-11-04 17:46:23 +0000
commitdccdd15402b2b7e0e8453c715fc451b3e3510272 (patch)
tree40c0f5536a49d134b557bab6ee3986c15e28c4da /connectionList.h
parentaddeded connection Parameters (diff)
added Address Class and Connection List
Diffstat (limited to 'connectionList.h')
-rw-r--r--connectionList.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/connectionList.h b/connectionList.h
index 926a9ba..45dcd7d 100644
--- a/connectionList.h
+++ b/connectionList.h
@@ -36,6 +36,7 @@
#include "threadUtils.hpp"
#include "datatypes.h"
+#include "connectionParam.h"
class ConnectionList
{
@@ -48,7 +49,8 @@ public:
private:
ConnectionList(const ConnectionList &s);
void operator=(const ConnectionList &s);
-
+ typedef std::map<NetworkAddress, connection_param_t> ConnectionMap;
+ ConnectionMap connections_;
Mutex mutex_;
};