FACT++  1.0
int dis_get_dns_port ( )

Definition at line 139 of file open_dns.c.

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

Referenced by DimServer::getDnsPort(), and Java_dim_DimServer_getDnsPort().

140 {
141 int port;
142 char node[MAX_DNS_NODE];
143  init_dns_list();
144  get_dns_pars(DNS_ids[SRC_DIS], node, &port);
145  return(port);
146 }
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: