Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
resolver_data Struct Reference

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
 

Detailed Description

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.

Field Documentation

ast_cond_t cancel_cond

Condition variable used to coordinate canceling a query

Definition at line 654 of file test_dns.c.

int canceled

True if the resolver's cancel() method has been called

Definition at line 648 of file test_dns.c.

Lock used for protecting cancel_cond

Definition at line 652 of file test_dns.c.

int resolution_complete

True if resolution successfully completed. This is mutually exclusive with canceled

Definition at line 650 of file test_dns.c.

int resolve_called

True if the resolver's resolve() method has been called

Definition at line 646 of file test_dns.c.


The documentation for this struct was generated from the following file: