]>
Commit | Line | Data |
---|---|---|
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 | Header file for manual time input module. | |
25 | ||
26 | */ | |
27 | ||
28 | #ifndef GOT_MANUAL_H | |
29 | #define GOT_MANUAL_H | |
30 | ||
31 | #include "sysincl.h" | |
32 | #include "reports.h" | |
33 | ||
34 | extern void MNL_Initialise(void); | |
35 | extern void MNL_Finalise(void); | |
01a29c7a | 36 | extern int MNL_AcceptTimestamp(struct timespec *ts, double *reg_offset, double *dfreq_ppm, double *new_afreq_ppm); |
88840341 RC |
37 | |
38 | extern void MNL_Enable(void); | |
39 | extern void MNL_Disable(void); | |
40 | extern void MNL_Reset(void); | |
4e26f487 | 41 | extern int MNL_IsEnabled(void); |
88840341 RC |
42 | |
43 | extern void MNL_ReportSamples(RPT_ManualSamplesReport *report, int max, int *n); | |
44 | extern int MNL_DeleteSample(int index); | |
45 | ||
46 | #endif /* GOT_MANUAL_H */ |