summaryrefslogtreecommitdiff
path: root/src/systemd/sd-network.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-15 14:49:31 +0200
committerTom Gundersen <teg@jklm.no>2014-08-15 15:15:24 +0200
commit67272d157a35e5cda4e5c904eafdcc23d20541d1 (patch)
tree99befd9c7b29c91d355ed02b4236e58aefab7e5a /src/systemd/sd-network.h
parent6192b846ca0d15602e94ddb5da4420b7c60d64a5 (diff)
downloadsystemd-67272d157a35e5cda4e5c904eafdcc23d20541d1.tar.gz
sd-network: add support for wildcard domains
Diffstat (limited to 'src/systemd/sd-network.h')
-rw-r--r--src/systemd/sd-network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/systemd/sd-network.h b/src/systemd/sd-network.h
index db785077ff..52e398a08d 100644
--- a/src/systemd/sd-network.h
+++ b/src/systemd/sd-network.h
@@ -107,6 +107,10 @@ int sd_network_link_get_llmnr(int ifindex, char **llmnr);
/* Get the DNS domain names for a given link. */
int sd_network_link_get_domains(int ifindex, char ***domains);
+/* Returns whether or not domains that don't match any link should be resolved
+ * on this link. 1 for yes, 0 for no and negative value for error */
+int sd_network_link_get_wildcard_domain(int ifindex);
+
/* Monitor object */
typedef struct sd_network_monitor sd_network_monitor;