]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/clock-util.h
380f40061d9132bd21cab56d7653daeaab381429
[thirdparty/systemd.git] / src / basic / clock-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5 Copyright 2010-2012 Lennart Poettering
6 ***/
7
8 #include <time.h>
9
10 int clock_is_localtime(const char* adjtime_path);
11 int clock_set_timezone(int *min);
12 int clock_reset_timewarp(void);
13 int clock_get_hwclock(struct tm *tm);
14 int clock_set_hwclock(const struct tm *tm);
15 int clock_apply_epoch(void);