mirror of
https://gitlab.com/chrony/chrony.git
synced 2026-01-20 21:00:20 -05:00
local: add new driver call to set synchronization status
This will be used to set the kernel adjtimex() variables to allow other applications running on the system to know if the system clock is synchronized and the estimated error and the maximum error.
This commit is contained in:
4
local.h
4
local.h
@@ -206,4 +206,8 @@ extern void LCL_SetLeap(int leap);
|
||||
due to clamping or rounding). */
|
||||
extern double LCL_SetTempComp(double comp);
|
||||
|
||||
/* Routine to update the synchronisation status in the kernel to allow other
|
||||
applications to know if the system clock is synchronised and error bounds */
|
||||
extern void LCL_SetSyncStatus(int synchronised, double est_error, double max_error);
|
||||
|
||||
#endif /* GOT_LOCAL_H */
|
||||
|
||||
Reference in New Issue
Block a user