test code for our MBED board

Dependencies:   mbed lwip

Revision:
1:6877bb99aa17
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sntp.h	Wed May 04 08:30:52 2011 +0000
@@ -0,0 +1,18 @@
+#ifndef __SNTP_H__
+#define __SNTP_H__
+
+void sntp_init(void);
+
+// [iva2k] Plugging SYS_
+#if NO_SYS
+void sntp_sys_timeout(u32_t timeout_ms, void (*func)(void *arg), void *arg);
+void sntp_sys_untimeout(void (*sntp_request)(void *arg), void *arg);
+#endif  // NO_SYS
+
+#undef sys_timeout
+#define sys_timeout sntp_sys_timeout
+
+#undef sys_untimeout
+#define sys_untimeout sntp_sys_untimeout
+
+#endif /* __SNTP_H__ */
\ No newline at end of file