Wed Oct 28 11:53:41 2009

Asterisk developer's documentation


ast_dnsmgr_entry Struct Reference

Collaboration diagram for ast_dnsmgr_entry:

Collaboration graph
[legend]

Data Fields

int changed:1
struct sockaddr_in last
struct {
   struct ast_dnsmgr_entry *   next
list
ast_mutex_t lock
char name [1]
struct sockaddr_in * result
char * service

Detailed Description

Definition at line 52 of file dnsmgr.c.


Field Documentation

int changed

Set to 1 if the entry changes

Definition at line 60 of file dnsmgr.c.

Referenced by ast_dnsmgr_changed(), and dnsmgr_refresh().

struct sockaddr_in last [read]

the last result, used to check if address/port has changed

Definition at line 56 of file dnsmgr.c.

Referenced by ast_dnsmgr_get(), and dnsmgr_refresh().

struct { ... } list

Definition at line 61 of file dnsmgr.c.

Referenced by ast_dnsmgr_changed(), ast_dnsmgr_get(), ast_dnsmgr_release(), and dnsmgr_refresh().

char name[1]

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

Definition at line 64 of file dnsmgr.c.

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

struct ast_dnsmgr_entry* next [read]

Definition at line 62 of file dnsmgr.c.

struct sockaddr_in* result [read]

where we will store the resulting IP address and port number

Definition at line 54 of file dnsmgr.c.

Referenced by ast_dnsmgr_get(), and dnsmgr_refresh().

char* service

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

Definition at line 58 of file dnsmgr.c.

Referenced by ast_dnsmgr_get(), and dnsmgr_refresh().


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

Generated on Wed Oct 28 11:53:41 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6