From 03cc26dda4cb59207fea3dd4fd1fa4608746739c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 17 Oct 2013 01:03:39 +0200 Subject: timedated: expose time and NTP sync flag via the bus This way, timedatectl can be run over the network and determine all properties correctly from the server rather than the client. --- src/shared/time-util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/time-util.h') diff --git a/src/shared/time-util.h b/src/shared/time-util.h index 7660fe1872..a51317dbd6 100644 --- a/src/shared/time-util.h +++ b/src/shared/time-util.h @@ -84,3 +84,5 @@ int parse_timestamp(const char *t, usec_t *usec); int parse_sec(const char *t, usec_t *usec); int parse_nsec(const char *t, nsec_t *nsec); + +bool ntp_synced(void); -- cgit v1.2.3-54-g00ecf