Tor  0.4.7.0-alpha-dev
country.h
Go to the documentation of this file.
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 */
6 
7 /**
8  * @file country.h
9  * @brief Country type for geoip.
10  **/
11 
12 #ifndef TOR_COUNTRY_H
13 #define TOR_COUNTRY_H
14 
15 #include "lib/cc/torint.h"
16 /** A signed integer representing a country code. */
17 typedef int16_t country_t;
18 
19 /** Maximum value for country_t. */
20 #define COUNTRY_MAX INT16_MAX
21 
22 #endif /* !defined(TOR_COUNTRY_H) */
int16_t country_t
Definition: country.h:17
Integer definitions used throughout Tor.