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

Data required for an asynchronous callback. More...

Collaboration diagram for async_data:
Collaboration graph
[legend]

Data Fields

int complete
 
ast_cond_t cond
 
int failed
 
ast_mutex_t lock
 
size_t num_records
 
struct dns_recordrecords
 

Detailed Description

Data required for an asynchronous callback.

Definition at line 602 of file res_resolver_unbound.c.

Field Documentation

◆ complete

int complete

Indicates the asynchronous query is complete

Definition at line 610 of file res_resolver_unbound.c.

Referenced by AST_TEST_DEFINE(), and async_callback().

◆ cond

ast_cond_t cond

◆ failed

int failed

Whether an asynchronous query failed

Definition at line 608 of file res_resolver_unbound.c.

Referenced by async_callback().

◆ lock

◆ num_records

size_t num_records

The number of DNS records on the test

Definition at line 606 of file res_resolver_unbound.c.

Referenced by async_callback(), and async_data_alloc().

◆ records

struct dns_record* records

The set of DNS records on a test

Definition at line 604 of file res_resolver_unbound.c.

Referenced by async_callback(), and async_data_alloc().


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