Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_dns_query Struct Reference

A DNS query. More...

#include <dns_internal.h>

Collaboration diagram for ast_dns_query:
Collaboration graph
[legend]

Data Fields

ast_dns_resolve_callback callback
 Callback to invoke upon completion. More...
 
char name [0]
 The name of what is being resolved. More...
 
struct ast_dns_resolverresolver
 The resolver in use for this query. More...
 
void * resolver_data
 Resolver-specific data. More...
 
struct ast_dns_resultresult
 Result of the DNS query. More...
 
int rr_class
 Resource record class. More...
 
int rr_type
 Resource record type. More...
 
void * user_data
 User-specific data. More...
 

Detailed Description

A DNS query.

Definition at line 137 of file dns_internal.h.

Field Documentation

◆ callback

Callback to invoke upon completion.

Definition at line 139 of file dns_internal.h.

Referenced by ast_dns_query_set_resolve_async(), ast_dns_resolver_completed(), dns_query_alloc(), and dns_query_recurring_resolution_callback().

◆ name

char name[0]

◆ resolver

struct ast_dns_resolver* resolver

◆ resolver_data

Resolver-specific data.

Definition at line 145 of file dns_internal.h.

Referenced by ast_dns_resolver_get_data(), ast_dns_resolver_set_data(), and dns_query_destroy().

◆ result

struct ast_dns_result* result

◆ rr_class

int rr_class

Resource record class.

Definition at line 151 of file dns_internal.h.

Referenced by ast_dns_query_get_rr_class(), dns_query_alloc(), and dns_query_recurring_resolution_callback().

◆ rr_type

int rr_type

Resource record type.

Definition at line 149 of file dns_internal.h.

Referenced by ast_dns_query_get_rr_type(), dns_query_alloc(), and dns_query_recurring_resolution_callback().

◆ user_data

void* user_data

User-specific data.

Definition at line 141 of file dns_internal.h.

Referenced by ast_dns_query_get_data(), ast_dns_query_set_resolve_async(), dns_query_alloc(), and dns_query_destroy().


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