Move the predicted ports code out of rephist.c
commit241c1505ccb4a501c1b56af7b6e12e055db29e09
authorNick Mathewson <nickm@torproject.org>
Thu, 27 Sep 2018 12:21:17 +0000 (27 08:21 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 27 Sep 2018 12:21:17 +0000 (27 08:21 -0400)
tree9cb06190b6ee07cf2c7347540912b05051d41d0f
parentde0b07c634c45297bad794567cb44ab91988b0ca
Move the predicted ports code out of rephist.c

It differs from the rest of the rephist code in that it's actually
necessary for Tor to operate, so it should probably go somewhere
else.  I'm not sure where yet, so I'll leave it in the same
directory, but give it its own file.
17 files changed:
src/app/config/config.c
src/app/main/main.c
src/core/include.am
src/core/mainloop/mainloop.c
src/core/or/circuitbuild.c
src/core/or/circuitlist.c
src/core/or/circuituse.c
src/core/or/connection_edge.c
src/feature/control/control.c
src/feature/dircache/dirserv.c
src/feature/dirclient/dirclient.c
src/feature/rend/rendservice.c
src/feature/stats/predict_ports.c [new file with mode: 0644]
src/feature/stats/predict_ports.h [new file with mode: 0644]
src/feature/stats/rephist.c
src/feature/stats/rephist.h
src/test/testing_common.c