Example of HTTPServer with additional features: * SNTPClient, DST rules * Link status indication * Local or SDCard-based WebServer * RPC-able class * Static and Dynamic HTML page

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers sntp.h Source File

sntp.h

00001 #ifndef __SNTP_H__
00002 #define __SNTP_H__
00003 
00004 void sntp_init(void);
00005 
00006 // [iva2k] Plugging SYS_
00007 #if NO_SYS
00008 void sntp_sys_timeout(u32_t timeout_ms, void (*func)(void *arg), void *arg);
00009 void sntp_sys_untimeout(void (*sntp_request)(void *arg), void *arg);
00010 #endif  // NO_SYS
00011 
00012 #undef sys_timeout
00013 #define sys_timeout sntp_sys_timeout
00014 
00015 #undef sys_untimeout
00016 #define sys_untimeout sntp_sys_untimeout
00017 
00018 #endif /* __SNTP_H__ */