diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-02 21:22:53 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-03 07:47:25 -0400 |
commit | ac8f6d51f4200b27adc0da9fc1eeb44b89c8ebab (patch) | |
tree | ad358334b7bd52edb77c1fb9700d58c98dcf125e /src/lib/net/resolve.h | |
parent | bca30bcb90a7c01eea453b1fdf2b6ba368500e03 (diff) | |
download | tor-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