summaryrefslogtreecommitdiff
path: root/connectionList.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-11-06 23:28:11 +0000
committerOthmar Gsenger <otti@anytun.org>2007-11-06 23:28:11 +0000
commit49147bacbfb07337c54ddd3df94499c166a0376c (patch)
treecaca5664c5169353d78846e74395b7c601f67b01 /connectionList.h
parentadded router (diff)
router + connection manage eingebaut
Diffstat (limited to 'connectionList.h')
-rw-r--r--connectionList.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectionList.h b/connectionList.h
index ce467c1..7a3b5c6 100644
--- a/connectionList.h
+++ b/connectionList.h
@@ -44,13 +44,13 @@ class ConnectionList
public:
ConnectionList();
~ConnectionList();
- void addConnection();
+ void addConnection(ConnectionParam &conn, const std::string &name);
void clear();
private:
ConnectionList(const ConnectionList &s);
void operator=(const ConnectionList &s);
- typedef std::map<NetworkAddress, connection_param_t> ConnectionMap;
+ typedef std::map<std::string, ConnectionParam> ConnectionMap;
ConnectionMap connections_;
Mutex mutex_;
};