mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-28 08:54:24 +01:00
24 lines
612 B
C
24 lines
612 B
C
|
/* Copyright (c) 2020, The Tor Project, Inc. */
|
||
|
/* See LICENSE for licensing information */
|
||
|
|
||
|
/**
|
||
|
* \file relay_resolve_addr.h
|
||
|
* \brief Header file for relay_resolve_addr.c.
|
||
|
**/
|
||
|
|
||
|
#ifndef TOR_RELAY_RESOLVE_ADDR_H
|
||
|
#define TOR_RELAY_RESOLVE_ADDR_H
|
||
|
|
||
|
MOCK_DECL(int, router_pick_published_address,
|
||
|
(const or_options_t *options, uint32_t *addr, int cache_only));
|
||
|
|
||
|
void router_new_address_suggestion(const char *suggestion,
|
||
|
const dir_connection_t *d_conn);
|
||
|
|
||
|
#ifdef RELAY_RESOLVE_ADDR_PRIVATE
|
||
|
|
||
|
#endif /* RELAY_RESOLVE_ADDR_PRIVATE */
|
||
|
|
||
|
#endif /* TOR_RELAY_RESOLVE_ADDR_H */
|
||
|
|