Asterisk - The Open Source Telephony Project GIT-master-b023714
Loading...
Searching...
No Matches
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
 
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 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.

Referenced by ast_dnsmgr_changed(), and dnsmgr_refresh().

◆ data

void* data

Data to pass back to update_func

Definition at line 76 of file dnsmgr.c.

Referenced by ast_dnsmgr_lookup_cb(), dnsmgr_refresh(), 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(), dnsmgr_refresh(), and internal_dnsmgr_lookup().

◆ [struct]

struct { ... } list

◆ lock

◆ name

char name[1]

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

Definition at line 82 of file dnsmgr.c.

Referenced by ast_dnsmgr_get_family(), ast_dnsmgr_release(), dnsmgr_refresh(), PathSegment::get_child(), SwaggerType::load(), and refresh_list().

◆ next

struct ast_dnsmgr_entry* next

Definition at line 80 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.

Referenced by ast_dnsmgr_get_family(), and dnsmgr_refresh().

◆ 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.

Referenced by ast_dnsmgr_get_family(), and dnsmgr_refresh().

◆ update_func

dns_update_func update_func

The callback function to execute on address update

Definition at line 78 of file dnsmgr.c.

Referenced by dnsmgr_refresh().


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