Asterisk - The Open Source Telephony Project  18.5.0
Public Member Functions | Data Fields
ast_dns_query_set Struct Reference

A set of DNS queries. More...

#include <dns_internal.h>

Collaboration diagram for ast_dns_query_set:
Collaboration graph
[legend]

Public Member Functions

 AST_VECTOR (, struct dns_query_set_query) queries
 DNS queries. More...
 

Data Fields

ast_dns_query_set_callback callback
 Callback to invoke upon completion. More...
 
int in_progress
 Whether the query set is in progress or not. More...
 
int queries_cancelled
 The total number of cancelled queries. More...
 
int queries_completed
 The total number of completed queries. More...
 
void * user_data
 User-specific data. More...
 

Detailed Description

A set of DNS queries.

Definition at line 185 of file dns_internal.h.

Member Function Documentation

◆ AST_VECTOR()

AST_VECTOR ( struct dns_query_set_query  )

DNS queries.

Field Documentation

◆ callback

Callback to invoke upon completion.

Definition at line 195 of file dns_internal.h.

Referenced by ast_dns_query_set_resolve_async(), and dns_query_set_callback().

◆ in_progress

int in_progress

Whether the query set is in progress or not.

Definition at line 189 of file dns_internal.h.

Referenced by ast_dns_query_set_add(), and ast_dns_query_set_resolve_async().

◆ queries_cancelled

int queries_cancelled

The total number of cancelled queries.

Definition at line 193 of file dns_internal.h.

Referenced by ast_dns_query_set_resolve_cancel(), and dns_query_set_callback().

◆ queries_completed

int queries_completed

The total number of completed queries.

Definition at line 191 of file dns_internal.h.

Referenced by ast_dns_query_set_get(), and dns_query_set_callback().

◆ user_data

void* user_data

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