/* SPDX-License-Identifier: MIT Copyright (c) 2023 John Watts and the LuminaSensum contributors */ #ifndef CLOCK_H #define CLOCK_H #include "NetworkInterface.h" #include "sntp.h" #include <time.h> void clock_setup(void); struct timeval clock_time(void); SNTPError clock_sync(NetworkInterface &net); const char *clock_timestring(const char *format); const char *clock_iso8601string(void); #endif