src/shared/clock-util.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 | #pragma once |
| 3 | |
| 4 | int clock_is_localtime(const char *adjtime_path); |
| 5 | int clock_set_timezone(int *ret_minutesdelta); |
| 6 | |
| 7 | #define EPOCH_CLOCK_FILE "/usr/lib/clock-epoch" |
| 8 | #define TIMESYNCD_CLOCK_FILE_DIR "/var/lib/systemd/timesync/" |
| 9 | #define TIMESYNCD_CLOCK_FILE TIMESYNCD_CLOCK_FILE_DIR "clock" |