diff options
Diffstat (limited to 'src/anyrtpproxy/connectionList.h')
-rw-r--r-- | src/anyrtpproxy/connectionList.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/anyrtpproxy/connectionList.h b/src/anyrtpproxy/connectionList.h index 62da471..8df0781 100644 --- a/src/anyrtpproxy/connectionList.h +++ b/src/anyrtpproxy/connectionList.h @@ -39,19 +39,19 @@ #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 { public: ConnectionList(); ~ConnectionList(); - 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(); - ConnectionParam& getOrNewConnectionUnlocked(u_int16_t mux); + ConnectionParam& getOrNewConnectionUnlocked(uint16_t mux); bool empty(); void clear(); Mutex& getMutex(); |