mirror of
https://github.com/dgoodlad/rtl8710-sdk.git
synced 2026-07-12 22:35:40 +00:00
Import required parts of ameba sdk 4.0b
This commit is contained in:
parent
2d21e45bba
commit
7319ca1482
737 changed files with 304718 additions and 0 deletions
21
vendor/sdk/component/common/network/sntp/sntp.h
vendored
Normal file
21
vendor/sdk/component/common/network/sntp/sntp.h
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef __SNTP_H__
|
||||
#define __SNTP_H__
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void sntp_init(void);
|
||||
void sntp_stop(void);
|
||||
|
||||
/* Realtek added */
|
||||
void sntp_get_lasttime(long *sec, long *usec, unsigned int *tick);
|
||||
struct tm sntp_gen_system_time(int timezone);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SNTP_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue