aboutsummaryrefslogtreecommitdiff
path: root/src/lib/net/resolve.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-02 21:22:53 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-03 07:47:25 -0400
commitac8f6d51f4200b27adc0da9fc1eeb44b89c8ebab (patch)
treead358334b7bd52edb77c1fb9700d58c98dcf125e /src/lib/net/resolve.h
parentbca30bcb90a7c01eea453b1fdf2b6ba368500e03 (diff)
downloadtor-ac8f6d51f4200b27adc0da9fc1eeb44b89c8ebab.tar.gz
tor-ac8f6d51f4200b27adc0da9fc1eeb44b89c8ebab.zip
Unify backend implementations for blocking hostname lookup
We have a getaddrinfo() implementation that we prefer, and a gethostbyname*() implementation that we fall back on. Give them both the same interface, and let them be called by the same name. This is a preparatory step for making them both mockable.
Diffstat (limited to 'src/lib/net/resolve.h')
0 files changed, 0 insertions, 0 deletions