Header file for dns.c.
More...
Go to the source code of this file.
Header file for dns.c.
Definition in file dns.h.
◆ assert_connection_edge_not_dns_pending
#define assert_connection_edge_not_dns_pending |
( |
|
conn | ) |
((void)(conn)) |
Definition at line 49 of file dns.h.
◆ connection_dns_remove
#define connection_dns_remove |
( |
|
conn | ) |
|
Value: STMT_BEGIN \
(void)(conn); \
tor_assert_nonfatal_unreached(); \
STMT_END
Definition at line 58 of file dns.h.
◆ dns_cache_handle_oom
#define dns_cache_handle_oom |
( |
|
now, |
|
|
|
bytes |
|
) |
| ((void)(now), (void)(bytes), 0) |
Definition at line 53 of file dns.h.
◆ dns_cache_total_allocation
#define dns_cache_total_allocation |
( |
|
void | ) |
(0) |
Definition at line 45 of file dns.h.
◆ dns_init
#define dns_init |
( |
|
void | ) |
(0) |
Definition at line 40 of file dns.h.
◆ dns_new_consensus_params
#define dns_new_consensus_params |
( |
|
ns | ) |
((void) ns) |
Definition at line 55 of file dns.h.
◆ dns_reset_correctness_checks
#define dns_reset_correctness_checks |
( |
|
void | ) |
STMT_NIL |
Definition at line 47 of file dns.h.
◆ dns_seems_to_be_broken
#define dns_seems_to_be_broken |
( |
|
void | ) |
(0) |
Definition at line 43 of file dns.h.
◆ dns_send_resolved_error_cell
#define dns_send_resolved_error_cell |
( |
|
conn, |
|
|
|
answer_type |
|
) |
| ((void)(conn), (void)(answer_type)) |
Definition at line 41 of file dns.h.
◆ dump_dns_mem_usage
#define dump_dns_mem_usage |
( |
|
severity | ) |
((void)(severity)) |
Definition at line 51 of file dns.h.
◆ has_dns_init_failed
#define has_dns_init_failed |
( |
|
void | ) |
(0) |
Definition at line 44 of file dns.h.
◆ dns_reset()
static int dns_reset |
( |
void |
| ) |
|
|
inlinestatic |
Definition at line 65 of file dns.h.
◆ dns_resolve()
Definition at line 70 of file dns.h.