Split geoip from geoip-related stats.
commitf403af22076b0092807822ddc9890acdbd62f578
authorNick Mathewson <nickm@torproject.org>
Thu, 27 Sep 2018 13:35:47 +0000 (27 09:35 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 27 Sep 2018 13:36:52 +0000 (27 09:36 -0400)
treee8b21036bd9148d765609d9f998baf4350f373c6
parent79208ee852b84c94b32db1b13a2ba802cae360f7
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/*.
21 files changed:
src/app/config/config.c
src/app/main/main.c
src/core/include.am
src/core/mainloop/mainloop.c
src/core/or/channel.c
src/core/or/dos.c
src/core/or/relay.c
src/core/or/status.c
src/feature/control/control.c
src/feature/control/getinfo_geoip.c [new file with mode: 0644]
src/feature/control/getinfo_geoip.h [new file with mode: 0644]
src/feature/dircache/dircache.c
src/feature/dircommon/directory.c
src/feature/relay/router.c
src/feature/stats/geoip.c
src/feature/stats/geoip.h
src/feature/stats/geoip_stats.c [copied from src/feature/stats/geoip.c with 74% similarity]
src/feature/stats/geoip_stats.h [copied from src/feature/stats/geoip.h with 83% similarity]
src/test/test_dir_handle_get.c
src/test/test_dos.c
src/test/test_geoip.c