Thu Apr 16 06:48:39 2015

Asterisk developer's documentation


ast_dnsmgr_entry Struct Reference

Collaboration diagram for ast_dnsmgr_entry:

Collaboration graph
[legend]

Data Fields

unsigned int changed:1
void * data
unsigned int family
struct {
   struct ast_dnsmgr_entry *   next
list
ast_mutex_t lock
char name [1]
struct ast_sockaddrresult
char * service
dns_update_func update_func

Detailed Description

Definition at line 56 of file dnsmgr.c.


Field Documentation

unsigned int changed

Set to 1 if the entry changes

Definition at line 64 of file dnsmgr.c.

Referenced by ast_dnsmgr_changed(), and dnsmgr_refresh().

void* data

Data to pass back to update_func

Definition at line 66 of file dnsmgr.c.

Referenced by dnsmgr_refresh().

unsigned int family

Address family to filter DNS responses.

Definition at line 62 of file dnsmgr.c.

Referenced by ast_dnsmgr_get_family(), dnsmgr_refresh(), and internal_dnsmgr_lookup().

struct { ... } list

char name[1]

just 1 here, but we use calloc to allocate the correct size

Definition at line 72 of file dnsmgr.c.

Referenced by ast_dnsmgr_get_family(), ast_dnsmgr_release(), dnsmgr_refresh(), and refresh_list().

struct ast_dnsmgr_entry* next [read]

Definition at line 70 of file dnsmgr.c.

struct ast_sockaddr* result [read]

where we will store the resulting IP address and port number

Definition at line 58 of file dnsmgr.c.

Referenced by ast_dnsmgr_get_family(), and dnsmgr_refresh().

char* service

SRV record to lookup, if provided. Composed of service, protocol, and domain name: _Service._Proto.Name

Definition at line 60 of file dnsmgr.c.

Referenced by ast_dnsmgr_get_family(), and dnsmgr_refresh().

The callback function to execute on address update

Definition at line 68 of file dnsmgr.c.

Referenced by dnsmgr_refresh().


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

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