Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
dns_synchronous_resolve Struct Reference

Structure used for signaling back for synchronous resolution completion. More...

Collaboration diagram for dns_synchronous_resolve:
Collaboration graph
[legend]

Data Fields

unsigned int completed
 Whether the query has completed. More...
 
ast_cond_t cond
 Condition used for signaling. More...
 
ast_mutex_t lock
 Lock used for signaling. More...
 
struct ast_dns_resultresult
 The result from the query. More...
 

Detailed Description

Structure used for signaling back for synchronous resolution completion.

Definition at line 278 of file dns_core.c.

Field Documentation

◆ completed

unsigned int completed

Whether the query has completed.

Definition at line 284 of file dns_core.c.

Referenced by ast_dns_query_set_resolve_async(), ast_dns_resolve(), ast_query_set_resolve(), and dns_synchronous_resolve_callback().

◆ cond

ast_cond_t cond

◆ lock

◆ result

struct ast_dns_result* result

The result from the query.

Definition at line 286 of file dns_core.c.

Referenced by ast_dns_resolve(), ast_dns_resolve_ipv6_and_ipv4(), dns_synchronous_resolve_callback(), and sort_result().


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