Network Time Protocol (NTP) interface. More...
Go to the source code of this file.
Typedefs | |
typedef struct net_ntp_t | net_ntp_t |
Opaque NTP manager handle. More... | |
typedef void(* | net_ntp_callback_t) (net_ntp_t *ntp, const sys_date_t *date, void *user_data) |
Callback invoked when system time should be updated. More... | |
Functions | |
net_ntp_t * | net_ntp_init (net_ntp_callback_t callback, void *user_data) |
Initialize (or re-initialize) the NTP manager. More... | |
bool | net_ntp_valid (net_ntp_t *ntp) |
Determine if the NTP handle is checking for time updates. More... | |
void | net_ntp_finalize (net_ntp_t *ntp) |
Release NTP resources. More... | |