From 7568345034f2890af745747783c5abfbf6eccf0f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 7 Jul 2014 11:49:48 +0200 Subject: shared: make timezone and locale enumeration and validation generic This way we can reuse it other code thatn just localectl/localed + timedatectl/timedated. --- src/shared/time-util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/shared/time-util.h') diff --git a/src/shared/time-util.h b/src/shared/time-util.h index 34ba6c11be..792cd27489 100644 --- a/src/shared/time-util.h +++ b/src/shared/time-util.h @@ -95,3 +95,6 @@ int parse_sec(const char *t, usec_t *usec); int parse_nsec(const char *t, nsec_t *nsec); bool ntp_synced(void); + +int get_timezones(char ***l); +bool timezone_is_valid(const char *name); -- cgit v1.2.3-54-g00ecf