FACT++  1.0
void set_dns_pars ( DNS_CONN connp,
char *  node,
int  port 
)

Definition at line 194 of file open_dns.c.

References dns_ent::node_name, and dns_ent::port_number.

Referenced by dic_set_dns_node(), dic_set_dns_port(), dim_set_dns_node(), dim_set_dns_port(), dis_set_dns_node(), and dis_set_dns_port().

195 {
196  if(node != 0)
197  {
198  strcpy(connp->node_name, node);
199  }
200  if(port != 0)
201  {
202  connp->port_number = port;
203  }
204 }
Definition: dns.c:26
int port_number
Definition: open_dns.c:29
char node_name[MAX_DNS_NODE]
Definition: open_dns.c:27

+ Here is the caller graph for this function: