barebox/include/sntp.h
Sascha Hauer f98b02365f net: Add SNTP support
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>
2016-01-07 08:46:09 +01:00

9 lines
108 B
C

#ifndef __SNTP_H
#define __SNTP_H
#include <types.h>
s64 sntp(const char *server);
#endif /* __SNTP_H */