aboutsummaryrefslogtreecommitdiff
path: root/src/lib/geoip/geoip.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-11-06 14:40:20 -0500
committerNick Mathewson <nickm@torproject.org>2019-11-06 14:40:20 -0500
commit9687efb386141e5fc46ab295b32bf2dff1f9845b (patch)
tree78b2ff8497ec3532205b7247e7e2ac1ea7b3f6b3 /src/lib/geoip/geoip.h
parentb994397f1af193f841703151af846ac497bbc0f7 (diff)
downloadtor-9687efb386141e5fc46ab295b32bf2dff1f9845b.tar.gz
tor-9687efb386141e5fc46ab295b32bf2dff1f9845b.zip
Add a bunch of doxygen for things in src/lib.
Diffstat (limited to 'src/lib/geoip/geoip.h')
-rw-r--r--src/lib/geoip/geoip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/geoip/geoip.h b/src/lib/geoip/geoip.h
index f872ebd25f..1407d0a1ea 100644
--- a/src/lib/geoip/geoip.h
+++ b/src/lib/geoip/geoip.h
@@ -31,6 +31,7 @@ int geoip_get_country_by_ipv6(const struct in6_addr *addr);
/** A per-country GeoIP record. */
typedef struct geoip_country_t {
+ /** A nul-terminated two-letter country-code. */
char countrycode[3];
} geoip_country_t;