37 #ifndef LWIP_HDR_APPS_SNTP_H
38 #define LWIP_HDR_APPS_SNTP_H
49 #define SNTP_OPMODE_POLL 0
50 #define SNTP_OPMODE_LISTENONLY 1
61 #if SNTP_MONITOR_SERVER_REACHABILITY
66 void sntp_setservername(
u8_t idx,
const char *server);
67 const char *sntp_getservername(
u8_t idx);
70 #if SNTP_GET_SERVERS_FROM_DHCP
73 #define sntp_servermode_dhcp(x)
uint8_t u8_t
Definition: arch.h:125
ip6_addr_t ip_addr_t
Definition: ip_addr.h:318
const ip_addr_t * sntp_getserver(u8_t idx)
void sntp_setoperatingmode(u8_t operating_mode)
void sntp_setserver(u8_t idx, const ip_addr_t *addr)
u8_t sntp_getoperatingmode(void)
#define sntp_servermode_dhcp(x)
Definition: sntp.h:73