2012-05-07 21:06:55 +02:00
|
|
|
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
|
|
|
|
|
2013-11-18 16:58:43 +01:00
|
|
|
#pragma once
|
2012-05-07 21:06:55 +02:00
|
|
|
|
|
|
|
/***
|
|
|
|
This file is part of systemd.
|
|
|
|
|
|
|
|
Copyright 2010-2012 Lennart Poettering
|
|
|
|
|
|
|
|
systemd is free software; you can redistribute it and/or modify it
|
|
|
|
under the terms of the GNU Lesser General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
systemd is distributed in the hope that it will be useful, but
|
|
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public License
|
|
|
|
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
***/
|
|
|
|
|
2015-02-10 12:56:53 +01:00
|
|
|
|
2014-05-22 14:21:38 +02:00
|
|
|
int clock_is_localtime(void);
|
|
|
|
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);
|