Embedded TCP/IP stack: fnet_dns_callback_resolved_t

FNET

typedef void(* fnet_dns_callback_resolved_t) (const struct fnet_dns_resolved_addr *addr_list, fnet_size_t addr_list_size, void *cookie)

Prototype of the DNS-client callback function that is called when the DNS client has completed the resolving.

Parameters
addr_familyIP address family.
It determines the address pointed to by addr_list.
addr_listPointer to the list of addresses or FNET_NULL if the resolving is failed.
addr_list_sizeNumber of resolved addresses in addr_list.
cookieUser-application specific parameter. It's set during the DNS-client service initialization as part of fnet_dns_params.
See also
fnet_dns_resolve(), fnet_dns_params

Definition at line 103 of file fnet_dns.h.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net