ntp.h 335 B

123456789101112131415161718
  1. //
  2. // Created by janco on 25-2-16.
  3. //
  4. #ifndef _Ntp_H
  5. #define _Ntp_H
  6. typedef enum {false, true} bool;
  7. extern bool NtpIsSyncing(void);
  8. extern void NtpInit(void);
  9. extern void NtpSync(void);
  10. extern bool NtpTimeIsValid(void);
  11. void NtpCheckValidTime(void);
  12. void NtpWriteTimeToEeprom(tm);
  13. bool NtpCompareTime(tm, tm);
  14. #endif /* _Ntp_H */