chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-bus: don't include internal header memfd.h in public header sd-bus.h
[elogind.git]
/
src
/
systemd
/
sd-network.h
diff --git
a/src/systemd/sd-network.h
b/src/systemd/sd-network.h
index db785077ff4ac28fc33cd135843bba2ad2a59bd9..b2086c7836f8471668bb69e84c70ee1fb95d5bc3 100644
(file)
--- 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 */
/* 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 */
/* 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:
/* Get setup state from ifindex.
* Possible states:
@@
-107,6
+110,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);
/* 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;
/* Monitor object */
typedef struct sd_network_monitor sd_network_monitor;