Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_dnsmgr_entry Struct Reference

Data Fields

unsigned int changed:1
 
void * data
 
unsigned int family
 
ast_mutex_t lock
 
struct ast_sockaddrresult
 
char * service
 
dns_update_func update_func
 

Detailed Description

Definition at line 66 of file dnsmgr.c.

Field Documentation

unsigned int changed

Set to 1 if the entry changes

Definition at line 74 of file dnsmgr.c.

Referenced by ast_dnsmgr_changed().

void* data

Data to pass back to update_func

Definition at line 76 of file dnsmgr.c.

unsigned int family

Address family to filter DNS responses.

Definition at line 72 of file dnsmgr.c.

Referenced by ast_dnsmgr_get_family().

struct ast_sockaddr* result

where we will store the resulting IP address and port number

Definition at line 68 of file dnsmgr.c.

Referenced by ast_dnsmgr_get_family().

char* service

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

Definition at line 70 of file dnsmgr.c.

Referenced by ast_dnsmgr_get_family().

dns_update_func update_func

The callback function to execute on address update

Definition at line 78 of file dnsmgr.c.


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