diff options
author | Vincent Blut <vincent.debian@free.fr> | 2021-04-22 17:27:01 +0200 |
---|---|---|
committer | Vincent Blut <vincent.debian@free.fr> | 2021-04-22 17:27:01 +0200 |
commit | 40a31d6f7c2f62ed5b3309b998f250b23cf10783 (patch) | |
tree | c3c12b7504870e0ff6ba48141faa966678c6283f /local.h | |
parent | f3aaaa0e178dde6a6110b734f1c653791d85f89f (diff) |
New upstream version 4.1-pre1
Diffstat (limited to 'local.h')
-rw-r--r-- | local.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -149,7 +149,7 @@ extern void LCL_AccumulateDeltaFrequency(double dfreq); forwards (i.e. it is currently slow of true time). Provided is also a suggested correction rate (correction time * offset). */ -extern void LCL_AccumulateOffset(double offset, double corr_rate); +extern int LCL_AccumulateOffset(double offset, double corr_rate); /* Routine to apply an immediate offset by doing a sudden step if possible. (Intended for use after an initial estimate of offset has @@ -171,7 +171,7 @@ extern void LCL_NotifyLeap(int leap); /* Perform the combination of modifying the frequency and applying a slew, in one easy step */ -extern void LCL_AccumulateFrequencyAndOffset(double dfreq, double doffset, double corr_rate); +extern int LCL_AccumulateFrequencyAndOffset(double dfreq, double doffset, double corr_rate); /* Routine to read the system precision as a log to base 2 value. */ extern int LCL_GetSysPrecisionAsLog(void); @@ -197,6 +197,9 @@ extern void LCL_Finalise(void); to a timezone problem. */ extern int LCL_MakeStep(void); +/* Routine to cancel the outstanding system clock correction */ +extern void LCL_CancelOffsetCorrection(void); + /* Check if the system driver supports leap seconds, i.e. LCL_SetSystemLeap does something */ extern int LCL_CanSystemLeap(void); |