summaryrefslogtreecommitdiff
path: root/connectionList.h
diff options
context:
space:
mode:
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_;
};