Embedded TCP/IP stack: fnet_sntp_callback_resolved_t

FNET

typedef void(* fnet_sntp_callback_resolved_t) (const fnet_sntp_timestamp_t *timestamp, void *cookie)

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

Parameters
timestampPointer to the received timestamp or FNET_NULL if the resolving is failed.
cookieUser-application specific parameter. It's set during the SNTP-client service initialization as part of fnet_sntp_params.
See also
fnet_sntp_init(), fnet_sntp_params

Definition at line 101 of file fnet_sntp.h.


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