Tue Mar 2 17:34:49 2010

Asterisk developer's documentation


ast_dnsmgr_entry Struct Reference

Data Fields

int changed:1
struct sockaddr_in last
ast_mutex_t lock
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().

Definition at line 61 of file dnsmgr.c.

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

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 2 Mar 2010 for Asterisk - the Open Source PBX by  doxygen 1.6.1