This adds support for retrieving the time via Simple Network Time Protocol (SNTP). No fancy features are supported, only plainly getting the current time. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
9 lines
108 B
C
9 lines
108 B
C
#ifndef __SNTP_H
|
|
#define __SNTP_H
|
|
|
|
#include <types.h>
|
|
|
|
s64 sntp(const char *server);
|
|
|
|
#endif /* __SNTP_H */
|