2020-11-09 05:23:58 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
2013-11-18 16:58:43 +01:00
|
|
|
#pragma once
|
2012-05-07 21:06:55 +02:00
|
|
|
|
2015-10-25 13:14:12 +01:00
|
|
|
#include <time.h>
|
2015-02-10 12:56:53 +01:00
|
|
|
|
2016-02-26 11:25:22 +01:00
|
|
|
int clock_is_localtime(const char* adjtime_path);
|
2014-05-22 14:21:38 +02:00
|
|
|
int clock_set_timezone(int *min);
|
2014-07-27 00:11:08 +02:00
|
|
|
int clock_reset_timewarp(void);
|
2014-05-24 04:26:33 +02:00
|
|
|
int clock_get_hwclock(struct tm *tm);
|
|
|
|
int clock_set_hwclock(const struct tm *tm);
|
2016-02-03 18:28:40 +01:00
|
|
|
int clock_apply_epoch(void);
|