Skip to content
Snippets Groups Projects
Commit 7795dd7e authored by David Goulet's avatar David Goulet :panda_face:
Browse files

addr: Refactor last resolved address cache accessors


Series of things done in this commit:

  1. Rename the functions to better reflect the namespace of the file.

  2. Make both reset and get function to operate on the last_resolved_addrs
     cache that is per family.

  3. Make the get function to take a tor_addr_t.

  4. Change all callsite to use the new convention.

Part of #33233

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent b8042c9d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment