]>
git.ipfire.org Git - thirdparty/chrony.git/blob - rtc.h
2 chronyd/chronyc - Programs for keeping computer clocks accurate.
4 **********************************************************************
5 * Copyright (C) Richard P. Curnow 1997-2002
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of version 2 of the GNU General Public License as
9 * published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 **********************************************************************
22 =======================================================================
31 extern void RTC_Initialise(int initial_set
);
32 extern void RTC_Finalise(void);
33 extern void RTC_TimeInit(void (*after_hook
)(void *), void *anything
);
34 extern void RTC_StartMeasurements(void);
35 extern int RTC_GetReport(RPT_RTC_Report
*report
);
38 #define RTC_ST_NODRV 1
39 #define RTC_ST_BADFILE 2
41 extern int RTC_WriteParameters(void);
43 extern int RTC_Trim(void);
45 #endif /* GOT_RTC_H */