summaryrefslogtreecommitdiffstats
path: root/core/subsurface-time.h
blob: 38d6c10decf6957ab1c4c80f9202b27b330a487b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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