DNSc_CfgServerByStr

Configure DNS server that must be used by default using a string.

Files

dns-c.h/dns-c.c

Prototype

void  DNSc_CfgServerByStr (CPU_CHAR  *p_server,
                           DNSc_ERR  *p_err);


Arguments

p_server
Pointer to a string that contains the IP address of the DNS server.
p_err
Pointer to variable that will receive the return error code from this function.


Returned Values

None.

Required Configuration

None.

Notes / Warnings

None.

Example Usage

DNSc_ERR  err;
           
DNSc_CfgServerByStr("8.8.8.8", &err);