Asterisk - The Open Source Telephony Project GIT-master-f36a736
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]

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...
 
struct {
   size_t   current
 
   struct dns_query_set_query *   elems
 
   size_t   max
 
queries
 DNS queries. 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.

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().

◆ current

size_t current

Definition at line 187 of file dns_internal.h.

◆ elems

struct dns_query_set_query* elems

Definition at line 187 of file dns_internal.h.

◆ 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().

◆ max

size_t max

Definition at line 187 of file dns_internal.h.

◆ 

struct { ... } queries

◆ 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: