reference: add function to get TAI-UTC offset

This commit is contained in:
Chris Perl
2017-10-10 13:23:20 -04:00
committed by Miroslav Lichvar
parent 154b39cf7a
commit a0fe71eef1
2 changed files with 15 additions and 0 deletions

View File

@@ -184,6 +184,9 @@ extern void REF_DisableLocal(void);
and is better to discard any measurements */
extern int REF_IsLeapSecondClose(void);
/* Return TAI-UTC offset corresponding to a time in UTC if available */
extern int REF_GetTaiOffset(struct timespec *ts);
extern void REF_GetTrackingReport(RPT_TrackingReport *rep);
#endif /* GOT_REFERENCE_H */