summaryrefslogtreecommitdiff
path: root/src/feature/relay/relay_find_addr.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-05-05 15:34:58 -0400
committerDavid Goulet <dgoulet@torproject.org>2020-05-05 15:34:58 -0400
commitc81c5a2646763c651a9bc17b6213bd25a480eca9 (patch)
tree20a54b752b8818765fd1abeae7987ad8c63ad044 /src/feature/relay/relay_find_addr.h
parent2e519fbfb03e981b27d3e1309eb2681cd38f1d4c (diff)
downloadtor-c81c5a2646763c651a9bc17b6213bd25a480eca9.tar.gz
tor-c81c5a2646763c651a9bc17b6213bd25a480eca9.zip
relay: Rename relay_resolve_addr.{c|h} file
New name is more accurate semantically. Closes #33789 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/relay/relay_find_addr.h')
-rw-r--r--src/feature/relay/relay_find_addr.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/feature/relay/relay_find_addr.h b/src/feature/relay/relay_find_addr.h
new file mode 100644
index 0000000000..ac51a977e6
--- /dev/null
+++ b/src/feature/relay/relay_find_addr.h
@@ -0,0 +1,23 @@
+/* Copyright (c) 2020, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+/**
+ * \file relay_find_addr.h
+ * \brief Header file for relay_find_addr.c.
+ **/
+
+#ifndef TOR_RELAY_FIND_ADDR_H
+#define TOR_RELAY_FIND_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_FIND_ADDR_PRIVATE
+
+#endif /* RELAY_FIND_ADDR_PRIVATE */
+
+#endif /* TOR_RELAY_FIND_ADDR_H */
+