From cbbefae2849b9f7df8d4e41f1e535d5419799a82 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 21 Jun 2024 16:07:28 +0200 Subject: Add the NTPSynchronized property --- src/timedate.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/timedate.h') diff --git a/src/timedate.h b/src/timedate.h index 40f149a..2b2d1a2 100644 --- a/src/timedate.h +++ b/src/timedate.h @@ -40,6 +40,9 @@ namespace dlackware::timedate // Returns whether NTP is available. bool can_ntp(); + // Shows whether the kernel reports the time as synchronized. + bool ntp_synchronized(); + // Returns the timezones available on the system. std::vector list_timezones(); -- cgit v1.2.3