FACT++  1.0
int dic_get_dns_port ( )

Definition at line 130 of file open_dns.c.

References get_dns_pars(), init_dns_list(), MAX_DNS_NODE, and SRC_DIC.

Referenced by app_initialize(), did_init(), DimClient::getDnsPort(), and Java_dim_DimClient_getDnsPort().

131 {
132 int port;
133 char node[MAX_DNS_NODE];
134  init_dns_list();
135  get_dns_pars(DNS_ids[SRC_DIC], node, &port);
136  return(port);
137 }
Definition: dns.c:26
int get_dns_pars(DNS_CONN *connp, char *node, int *port)
Definition: open_dns.c:206
void init_dns_list()
Definition: open_dns.c:171
#define MAX_DNS_NODE
Definition: open_dns.c:13
static DNS_CONN * DNS_ids[3]
Definition: open_dns.c:40

+ Here is the call graph for this function:

+ Here is the caller graph for this function: