summaryrefslogtreecommitdiff
path: root/src/timesync/timesyncd-conf.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-12 19:48:24 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-12 19:48:24 +0200
commit874ff7bf4d6fe693542209f127d23cd89adc499b (patch)
tree3918bc0e967ca64ca3e4b8cad39ccd9f47754d4f /src/timesync/timesyncd-conf.h
parent96e6e394431dcc1db52847be311e2c8e61d7a9d6 (diff)
timesyncd: beef up NTP server selection logic, and acquire NTP servers from DHCP
Diffstat (limited to 'src/timesync/timesyncd-conf.h')
-rw-r--r--src/timesync/timesyncd-conf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/timesync/timesyncd-conf.h b/src/timesync/timesyncd-conf.h
index 2102599e92..56466fe462 100644
--- a/src/timesync/timesyncd-conf.h
+++ b/src/timesync/timesyncd-conf.h
@@ -23,6 +23,12 @@
#include "conf-parser.h"
+#include "timesyncd-manager.h"
+
const struct ConfigPerfItem* timesyncd_gperf_lookup(const char *key, unsigned length);
+int manager_parse_server_string(Manager *m, ServerType type, const char *string);
+
int config_parse_servers(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
+
+int manager_parse_config_file(Manager *m);