dns: Wake up a dormant tor with a DNSPort request
[tor.git] / src / test / resolve_test_helpers.h
blobc7d610379f177ebd718c5ff1d1bc68a2aefe5b07
1 /* Copyright (c) 2001 Matej Pfajfar.
2 * Copyright (c) 2001-2004, Roger Dingledine.
3 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4 * Copyright (c) 2007-2021, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
7 /**
8 * @file resolve_test_helpers.h
9 * @brief Header for test/resolve_test_helpers.c
10 **/
12 #ifndef TOR_TEST_RESOLVE_TEST_HELPERS_H
13 #define TOR_TEST_RESOLVE_TEST_HELPERS_H
15 void mock_hostname_resolver(void);
16 void unmock_hostname_resolver(void);
18 #endif /* !defined(TOR_TEST_RESOLVE_TEST_HELPERS_H) */