summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-16 19:44:22 +0200
committerTom Gundersen <teg@jklm.no>2014-05-16 19:48:25 +0200
commit2dcf7ec6ec0c28297311108acba119cd6e055e64 (patch)
tree1af3869990bd995f5826e7387887bfc73d54fd5e /src/network/networkd.h
parentd4920165fe753751aaa274fdc568927d26284eea (diff)
networkd: manager - read fallback DNS servers from config file
We will still use the compiled-in defaults if no DNS entry exists in the config file.
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index ebb3075534..eaaf2593f9 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -282,6 +282,12 @@ int manager_save(Manager *m);
DEFINE_TRIVIAL_CLEANUP_FUNC(Manager*, manager_free);
#define _cleanup_manager_free_ _cleanup_(manager_freep)
+const struct ConfigPerfItem* networkd_gperf_lookup(const char *key, unsigned length);
+
+int config_parse_dnsv(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);
+
/* NetDev */
int netdev_load(Manager *manager);