Asterisk - The Open Source Telephony Project
18.5.0
|
File-scoped data used during resolver tests. More...
Data Fields | |
ast_cond_t | cancel_cond |
int | canceled |
ast_mutex_t | lock |
int | resolution_complete |
int | resolve_called |
File-scoped data used during resolver tests.
This data has to live at file-scope since it needs to be accessible by multiple threads.
Definition at line 644 of file test_dns.c.
ast_cond_t cancel_cond |
Condition variable used to coordinate canceling a query
Definition at line 654 of file test_dns.c.
Referenced by resolution_thread(), resolver_data_cleanup(), resolver_data_init(), and test_cancel().
int canceled |
True if the resolver's cancel() method has been called
Definition at line 648 of file test_dns.c.
Referenced by AST_TEST_DEFINE(), resolution_thread(), resolver_data_init(), and test_cancel().
ast_mutex_t lock |
Lock used for protecting cancel_cond
Definition at line 652 of file test_dns.c.
Referenced by resolution_thread(), resolver_data_cleanup(), resolver_data_init(), and test_cancel().
int resolution_complete |
True if resolution successfully completed. This is mutually exclusive with canceled
Definition at line 650 of file test_dns.c.
Referenced by AST_TEST_DEFINE(), resolution_thread(), and resolver_data_init().
int resolve_called |
True if the resolver's resolve() method has been called
Definition at line 646 of file test_dns.c.
Referenced by AST_TEST_DEFINE(), resolver_data_init(), and test_resolve().