diff options
Diffstat (limited to 'src/connectionList.h')
-rw-r--r-- | src/connectionList.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/connectionList.h b/src/connectionList.h index 949889d..750a142 100644 --- a/src/connectionList.h +++ b/src/connectionList.h @@ -40,7 +40,7 @@ #include "datatypes.h" #include "connectionParam.h" #include "networkAddress.h" -typedef std::map<u_int16_t, ConnectionParam> ConnectionMap; +typedef std::map<uint16_t, ConnectionParam> ConnectionMap; class ConnectionList { @@ -48,13 +48,13 @@ public: ConnectionList(); ~ConnectionList(); static ConnectionList& instance(); - void addConnection(ConnectionParam& conn, u_int16_t mux); - const ConnectionMap::iterator getConnection(u_int16_t mux); + void addConnection(ConnectionParam& conn, uint16_t mux); + const ConnectionMap::iterator getConnection(uint16_t mux); const ConnectionMap::iterator getEnd(); ConnectionMap::iterator getEndUnlocked(); ConnectionMap::iterator getBeginUnlocked(); const ConnectionMap::iterator getBegin(); - ConnectionParam& getOrNewConnectionUnlocked(u_int16_t mux); + ConnectionParam& getOrNewConnectionUnlocked(uint16_t mux); bool empty(); void clear(); Mutex& getMutex(); |