]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/systemd/sd-network.h
Merge pull request #11827 from keszybz/pkgconfig-variables
[thirdparty/systemd.git] / src / systemd / sd-network.h
index fc43e0108e2aa88475cd718c7f72e338c2b6c2c0..cc6bca9f5ee60abd72c9561364072bb491d6ed3c 100644 (file)
@@ -3,8 +3,6 @@
 #define foosdnetworkhfoo
 
 /***
-  Copyright © 2014 Tom Gundersen
-
   systemd is free software; you can redistribute it and/or modify it
   under the terms of the GNU Lesser General Public License as published by
   the Free Software Foundation; either version 2.1 of the License, or
@@ -153,6 +151,9 @@ int sd_network_link_get_search_domains(int ifindex, char ***domains);
 /* Get the route DNS domain names for a given link. */
 int sd_network_link_get_route_domains(int ifindex, char ***domains);
 
+/* Get whether this link shall be used as 'default route' for DNS queries */
+int sd_network_link_get_dns_default_route(int ifindex);
+
 /* Get the carrier interface indexes to which current link is bound to. */
 int sd_network_link_get_carrier_bound_to(int ifindex, int **ifindexes);