aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dns.h')
-rw-r--r--src/or/dns.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/or/dns.h b/src/or/dns.h
index 6af7796dbb..c2778b216c 100644
--- a/src/or/dns.h
+++ b/src/or/dns.h
@@ -42,6 +42,18 @@ uint8_t answer_type,const cached_resolve_t *resolved));
MOCK_DECL(STATIC void,send_resolved_hostname_cell,(edge_connection_t *conn,
const char *hostname));
+
+cached_resolve_t *dns_get_cache_entry(cached_resolve_t *query);
+void dns_insert_cache_entry(cached_resolve_t *new_entry);
+
+MOCK_DECL(STATIC int,
+set_exitconn_info_from_resolve,(edge_connection_t *exitconn,
+ const cached_resolve_t *resolve,
+ char **hostname_out));
+
+MOCK_DECL(STATIC int,
+launch_resolve,(cached_resolve_t *resolve));
+
#endif
#endif