Brian Silverman | 431500a | 2013-10-28 19:50:15 -0700 | [diff] [blame] | 1 | #ifndef AOS_COMMON_NETWORK_TEAM_NUMBER_H_ |
2 | #define AOS_COMMON_NETWORK_TEAM_NUMBER_H_ | ||||
3 | |||||
4 | #include <stdint.h> | ||||
5 | |||||
6 | namespace aos { | ||||
7 | namespace network { | ||||
8 | |||||
9 | // Retrieves the current team number based off of the network address. | ||||
10 | // This function will only do the complicated stuff once so it is cheap to call | ||||
11 | // repeatedly. | ||||
12 | uint16_t GetTeamNumber(); | ||||
13 | |||||
14 | } // namespace network | ||||
15 | } // namespace aos | ||||
16 | |||||
17 | #endif // AOS_COMMON_NETWORK_TEAM_NUMBER_H_ |