]> git.ipfire.org Git - thirdparty/chrony.git/blame - rtc.h
cmdmon: save NTS cookies and server keys on dump command
[thirdparty/chrony.git] / rtc.h
CommitLineData
88840341 1/*
88840341
RC
2 chronyd/chronyc - Programs for keeping computer clocks accurate.
3
4 **********************************************************************
5 * Copyright (C) Richard P. Curnow 1997-2002
6 *
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.
10 *
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.
15 *
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.,
8e23110a 18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
88840341
RC
19 *
20 **********************************************************************
21
22 =======================================================================
23
24 */
25
26#ifndef GOT_RTC_H
27#define GOT_RTC_H
28
29#include "reports.h"
30
c6e06420 31extern void RTC_Initialise(int initial_set);
88840341 32extern void RTC_Finalise(void);
88840341
RC
33extern void RTC_TimeInit(void (*after_hook)(void *), void *anything);
34extern void RTC_StartMeasurements(void);
35extern int RTC_GetReport(RPT_RTC_Report *report);
36
37#define RTC_ST_OK 0
38#define RTC_ST_NODRV 1
39#define RTC_ST_BADFILE 2
40
41extern int RTC_WriteParameters(void);
42
43extern int RTC_Trim(void);
44
88840341 45#endif /* GOT_RTC_H */