summaryrefslogtreecommitdiff
path: root/src/systemd/sd-network.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-15 16:02:14 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-15 16:02:14 +0200
commit8612e9365333d35773a08509b1d80a98911acb44 (patch)
tree5708d87c4df1b60fb638fbd0720ef7a5321d8c38 /src/systemd/sd-network.h
parentd5314fff96221c1b32e4d7c21eba9798dab58764 (diff)
downloadsystemd-8612e9365333d35773a08509b1d80a98911acb44.tar.gz
sd-network: add system-wide sd_network_get_domains() API
Diffstat (limited to 'src/systemd/sd-network.h')
-rw-r--r--src/systemd/sd-network.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/systemd/sd-network.h b/src/systemd/sd-network.h
index 52e398a08d..b2086c7836 100644
--- a/src/systemd/sd-network.h
+++ b/src/systemd/sd-network.h
@@ -58,11 +58,14 @@ int sd_network_get_operational_state(char **state);
/* Get DNS entries for all links. These are string representations of
* IP addresses */
-int sd_network_get_dns(char ***addr);
+int sd_network_get_dns(char ***dns);
/* Get NTP entries for all links. These are domain names or string
* reperesentations of IP addresses */
-int sd_network_get_ntp(char ***addr);
+int sd_network_get_ntp(char ***ntp);
+
+/* Get the search/routing domains for all links. */
+int sd_network_get_domains(char ***domains);
/* Get setup state from ifindex.
* Possible states: