Asterisk - The Open Source Telephony Project GIT-master-0bf3178
Data Fields
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
 
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

◆ changed

unsigned int changed

Set to 1 if the entry changes

Definition at line 74 of file dnsmgr.c.

◆ data

void* data

Data to pass back to update_func

Definition at line 76 of file dnsmgr.c.

Referenced by ast_dnsmgr_lookup_cb(), and internal_dnsmgr_lookup().

◆ family

unsigned int family

Address family to filter DNS responses.

Definition at line 72 of file dnsmgr.c.

Referenced by ast_dnsmgr_get_family(), and internal_dnsmgr_lookup().

◆ lock

Definition at line 79 of file dnsmgr.c.

◆ result

struct ast_sockaddr* result

where we will store the resulting IP address and port number

Definition at line 68 of file dnsmgr.c.

◆ service

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.

◆ update_func

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: