diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-27 09:35:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-27 09:36:52 -0400 |
commit | f403af22076b0092807822ddc9890acdbd62f578 (patch) | |
tree | e8b21036bd9148d765609d9f998baf4350f373c6 /src/feature/control/getinfo_geoip.h | |
parent | 79208ee852b84c94b32db1b13a2ba802cae360f7 (diff) | |
download | tor-f403af22076b0092807822ddc9890acdbd62f578.tar.gz tor-f403af22076b0092807822ddc9890acdbd62f578.zip |
Split geoip from geoip-related stats.
This commit just moves the code to two separate files. The geoip
code still has a few needless dependencies on core/* and features/*.
Diffstat (limited to 'src/feature/control/getinfo_geoip.h')
-rw-r--r-- | src/feature/control/getinfo_geoip.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/feature/control/getinfo_geoip.h b/src/feature/control/getinfo_geoip.h new file mode 100644 index 0000000000..ff77cefecd --- /dev/null +++ b/src/feature/control/getinfo_geoip.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_GETINFO_GEOIP_H +#define TOR_GETINFO_GEOIP_H + +int getinfo_helper_geoip(control_connection_t *control_conn, + const char *question, char **answer, + const char **errmsg); + +#endif |