Embedded TCP/IP stack
4.7.0
|
typedef void(* fnet_dns_callback_resolved_t) (const fnet_dns_resolved_addr_t *addr_list, fnet_size_t addr_list_size, const fnet_char_t *host_name, void *cookie) |
Prototype of the DNS-client callback function that is called when the DNS client has completed the resolving.
addr_list | Pointer to the list of addresses or FNET_NULL if the resolving is failed. |
addr_list_size | Number of resolved addresses in addr_list . Its maximu number is defined by FNET_CFG_DNS_RESOLVED_ADDR_MAX. |
host_name | Pointer to the resolved host name. It's set during the DNS-client service initialization as part of fnet_dns_params. |
cookie | User-application specific parameter. It's set during the DNS-client service initialization as part of fnet_dns_params. |
Definition at line 105 of file fnet_dns.h.