diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-17 01:03:39 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-17 01:03:39 +0200 |
commit | 03cc26dda4cb59207fea3dd4fd1fa4608746739c (patch) | |
tree | 668d68fb3f7803ed5c7ce4a04e227bdbff030b0b /src/shared/time-util.h | |
parent | aacf3b483b70b9a9ff16217f6376d143cbfe4636 (diff) |
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.
Diffstat (limited to 'src/shared/time-util.h')
-rw-r--r-- | src/shared/time-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |