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.
char name [0]
 The name of what is being resolved.
struct ast_dns_resolverresolver
 The resolver in use for this query.
void * resolver_data
 Resolver-specific data.
struct ast_dns_resultresult
 Result of the DNS query.
int rr_class
 Resource record class.
int rr_type
 Resource record type.
void * user_data
 User-specific data.

Detailed Description

A DNS query.

Definition at line 115 of file dns_internal.h.


Field Documentation

Callback to invoke upon completion.

Definition at line 117 of file dns_internal.h.

Referenced by ast_dns_resolve_async(), and ast_dns_resolver_completed().

char name[0]

The name of what is being resolved.

Definition at line 131 of file dns_internal.h.

Referenced by ast_dns_query_get_name(), and ast_dns_resolve_async().

struct ast_dns_resolver* resolver [read]

The resolver in use for this query.

Definition at line 121 of file dns_internal.h.

Referenced by ast_dns_resolve_async(), and ast_dns_resolve_cancel().

Resolver-specific data.

Definition at line 123 of file dns_internal.h.

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

struct ast_dns_result* result [read]

int rr_class

Resource record class.

Definition at line 129 of file dns_internal.h.

Referenced by ast_dns_query_get_rr_class(), and ast_dns_resolve_async().

int rr_type

Resource record type.

Definition at line 127 of file dns_internal.h.

Referenced by ast_dns_query_get_rr_type(), and ast_dns_resolve_async().

void* user_data

User-specific data.

Definition at line 119 of file dns_internal.h.

Referenced by ast_dns_query_get_data(), ast_dns_resolve_async(), and dns_query_destroy().


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

Generated on Thu Apr 16 06:35:14 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6