summaryrefslogtreecommitdiff
path: root/src/lib/geoip/country.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-27 10:26:01 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-27 10:26:01 -0400
commitc8f2a6d2fe17fb1c02116fddaa93ded0ce655af9 (patch)
treef44c26b004897d9d646069a0e3131263ba9ddc31 /src/lib/geoip/country.h
parentfa32574bdb7381f02abc68ad917ad79f354938a4 (diff)
downloadtor-c8f2a6d2fe17fb1c02116fddaa93ded0ce655af9.tar.gz
tor-c8f2a6d2fe17fb1c02116fddaa93ded0ce655af9.zip
Extract the non-stats part of geoip into a new src/lib/geoip.
Diffstat (limited to 'src/lib/geoip/country.h')
-rw-r--r--src/lib/geoip/country.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/geoip/country.h b/src/lib/geoip/country.h
new file mode 100644
index 0000000000..e4ad0752b3
--- /dev/null
+++ b/src/lib/geoip/country.h
@@ -0,0 +1,14 @@
+/* Copyright (c) 2001 Matej Pfajfar.
+ * Copyright (c) 2001-2004, Roger Dingledine.
+ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
+ * Copyright (c) 2007-2018, 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;
+
+#endif