tor/src/feature/relay/relay_resolve_addr.h

24 lines
612 B
C
Raw Normal View History

/* 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 */