29 #ifndef M2MB_DNS_CLIENT_API_H 30 #define M2MB_DNS_CLIENT_API_H
M2MB_HOST_NAME_TO_IP_T * m2mb_dns_client_get_host_by_name2(UINT8 *name, INT32 af)
Get the IP address from the host name of the server.
enum M2MB_DNS_SERVER_ID M2MB_DNS_SERVER_ID_E
M2MB_STATUS_T m2mb_dns_client_get_server_list(M2MB_NWIF_DNS_SERVER_LIST_T *srv_list)
Get the DNS server list.
M2MB_STATUS_T m2mb_dns_client_deinit(VOID)
De-initialize DNS client module.
struct M2MB_HOST_NAME_TO_IP M2MB_HOST_NAME_TO_IP_T
Structure to get IP address from host name.
M2MB_HOST_NAME_TO_IP_T * m2mb_dns_client_get_host_by_name(UINT8 *name)
Get IP address of host name.
M2MB_STATUS_T m2mb_dns_client_init(VOID)
Initialize DNS client.
M2MB_STATUS_T m2mb_dns_client_svr_delete(M2MB_DNS_SERVER_ID_E serverID)
Delete the DNS server details.
M2MB_STATUS_T m2mb_dns_client_svr_add(UINT8 *ipAddr, M2MB_DNS_SERVER_ID_E serverID)
Add a DNS server.
Structure to get IP address from host name.
Socket IPv4/IPv6 Internet address union.
M2MB_STATUS_T m2mb_dns_client_resolve_host(UINT8 *hostname, M2MB_IP46_ADDR_T *ipaddr)
Resolve the URL details.
For use with m2mb_nwif_cfgget() to get IP addresses of DNS servers.
M2MB_STATUS_T m2mb_dns_client_is_started(VOID)
Check the status of DNS client.