objc

Typedefs | Functions
ntp.h File Reference

Network Time Protocol (NTP) interface. More...

#include <runtime-sys/date.h>
#include <stdbool.h>
Include dependency graph for ntp.h:
This graph shows which files directly or indirectly include this file:

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_tnet_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...
 

Detailed Description

Network Time Protocol (NTP) interface.

Definition in file ntp.h.