aboutsummaryrefslogtreecommitdiff
path: root/src/lib/geoip/country.h
blob: feab554a169939a7722ee90c9764731ac82f6ad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright (c) 2001 Matej Pfajfar.
 * Copyright (c) 2001-2004, Roger Dingledine.
 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
 * Copyright (c) 2007-2020, The Tor Project, Inc. */
/* See LICENSE for licensing information */

/**
 * @file country.h
 * @brief Country type for geoip.
 **/

#ifndef TOR_COUNTRY_H
#define TOR_COUNTRY_H

#include "lib/cc/torint.h"
/** A signed integer representing a country code. */
typedef int16_t country_t;

/** Maximum value for country_t. */
#define COUNTRY_MAX INT16_MAX

#endif /* !defined(TOR_COUNTRY_H) */