scripts: Fix Python3 warnings
[tor.git] / src / lib / geoip / country.h
blob9fa1e23f89f1aafedb76d92f5713cfbcc11aef47
1 /* Copyright (c) 2001 Matej Pfajfar.
2 * Copyright (c) 2001-2004, Roger Dingledine.
3 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4 * Copyright (c) 2007-2021, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
7 /**
8 * @file country.h
9 * @brief Country type for geoip.
10 **/
12 #ifndef TOR_COUNTRY_H
13 #define TOR_COUNTRY_H
15 #include "lib/cc/torint.h"
16 /** A signed integer representing a country code. */
17 typedef int16_t country_t;
19 /** Maximum value for country_t. */
20 #define COUNTRY_MAX INT16_MAX
22 #endif /* !defined(TOR_COUNTRY_H) */