diff options
Diffstat (limited to 'core/subsurface-time.h')
-rw-r--r-- | core/subsurface-time.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/core/subsurface-time.h b/core/subsurface-time.h new file mode 100644 index 000000000..38d6c10de --- /dev/null +++ b/core/subsurface-time.h @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef TIME_H +#define TIME_H + +#include "units.h" +#include <time.h> + +#ifdef __cplusplus +extern "C" { +#endif + +extern timestamp_t utc_mktime(struct tm *tm); +extern void utc_mkdate(timestamp_t, struct tm *tm); + +#ifdef __cplusplus +} +#endif + +#endif |