aboutsummaryrefslogtreecommitdiff
path: root/src/lib/geoip/country.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/geoip/country.h')
-rw-r--r--src/lib/geoip/country.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/geoip/country.h b/src/lib/geoip/country.h
new file mode 100644
index 0000000000..9a8911d494
--- /dev/null
+++ b/src/lib/geoip/country.h
@@ -0,0 +1,16 @@
+/* Copyright (c) 2001 Matej Pfajfar.
+ * Copyright (c) 2001-2004, Roger Dingledine.
+ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
+ * Copyright (c) 2007-2019, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+#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;
+
+#define COUNTRY_MAX INT16_MAX
+
+#endif