ReactOS 0.4.16-dev-297-gc569aee
sntp.h File Reference
#include "lwip/apps/sntp_opts.h"
#include "lwip/ip_addr.h"
Include dependency graph for sntp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SNTP_OPMODE_POLL   0
 
#define SNTP_OPMODE_LISTENONLY   1
 
#define sntp_servermode_dhcp(x)
 

Functions

void sntp_setoperatingmode (u8_t operating_mode)
 
u8_t sntp_getoperatingmode (void)
 
void sntp_init (void)
 
void sntp_stop (void)
 
u8_t sntp_enabled (void)
 
void sntp_setserver (u8_t idx, const ip_addr_t *addr)
 
const ip_addr_tsntp_getserver (u8_t idx)
 
u8_t sntp_getkodreceived (u8_t idx)
 

Detailed Description

SNTP client API

Definition in file sntp.h.

Macro Definition Documentation

◆ SNTP_OPMODE_LISTENONLY

#define SNTP_OPMODE_LISTENONLY   1

Definition at line 50 of file sntp.h.

◆ SNTP_OPMODE_POLL

#define SNTP_OPMODE_POLL   0

Definition at line 49 of file sntp.h.

◆ sntp_servermode_dhcp

#define sntp_servermode_dhcp (   x)

Definition at line 74 of file sntp.h.

Function Documentation

◆ sntp_enabled()

u8_t sntp_enabled ( void  )

◆ sntp_getkodreceived()

u8_t sntp_getkodreceived ( u8_t  idx)

◆ sntp_getoperatingmode()

u8_t sntp_getoperatingmode ( void  )

◆ sntp_getserver()

const ip_addr_t * sntp_getserver ( u8_t  idx)

◆ sntp_init()

void sntp_init ( void  )

◆ sntp_setoperatingmode()

void sntp_setoperatingmode ( u8_t  operating_mode)

◆ sntp_setserver()

void sntp_setserver ( u8_t  idx,
const ip_addr_t addr 
)

◆ sntp_stop()

void sntp_stop ( void  )