From e191eab68d905bfe14e3590a92fa653f0ae2ebce Mon Sep 17 00:00:00 2001 From: Markus Grüneis Date: Thu, 18 Feb 2010 09:15:27 +0000 Subject: non-functional changes only: use standard writing of stdint.h types; still import from boost (compiler compatibility) --- src/routingTable.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/routingTable.h') diff --git a/src/routingTable.h b/src/routingTable.h index 8fb1f64..48e7617 100644 --- a/src/routingTable.h +++ b/src/routingTable.h @@ -42,7 +42,7 @@ #include "networkPrefix.h" #include "routingTreeNode.h" #include "boost/array.hpp" -typedef std::map RoutingMap; +typedef std::map RoutingMap; class RoutingTable { @@ -50,15 +50,15 @@ public: static RoutingTable& instance(); RoutingTable(); ~RoutingTable(); - void addRoute(const NetworkPrefix& ,u_int16_t); + void addRoute(const NetworkPrefix& ,uint16_t); void updateRouteTreeUnlocked(const NetworkPrefix& pref); void delRoute(const NetworkPrefix&); - u_int16_t getRoute(const NetworkAddress&); + uint16_t getRoute(const NetworkAddress&); bool empty(network_address_type_t type); void clear(network_address_type_t type); Mutex& getMutex(); - u_int16_t* getOrNewRoutingTEUnlocked(const NetworkPrefix& addr); - u_int16_t getCountUnlocked(network_address_type_t type); + uint16_t* getOrNewRoutingTEUnlocked(const NetworkPrefix& addr); + uint16_t getCountUnlocked(network_address_type_t type); RoutingMap::iterator getBeginUnlocked(network_address_type_t type); RoutingMap::iterator getEndUnlocked(network_address_type_t type); -- cgit v1.2.3