chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus-proxyd: fix compatibility with old dbus-1
[elogind.git]
/
src
/
systemd
/
sd-network.h
diff --git
a/src/systemd/sd-network.h
b/src/systemd/sd-network.h
index db785077ff4ac28fc33cd135843bba2ad2a59bd9..203a2a6a47653fac6746313d7dd001f14d7be676 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:
@@
-90,6
+93,9
@@
int sd_network_link_get_setup_state(int ifindex, char **state);
*/
int sd_network_link_get_operational_state(int ifindex, char **state);
*/
int sd_network_link_get_operational_state(int ifindex, char **state);
+/* Get path to .network file applied to link */
+int sd_network_link_get_network_file(int ifindex, char **filename);
+
/* Get DNS entries for a given link. These are string representations of
* IP addresses */
int sd_network_link_get_dns(int ifindex, char ***addr);
/* Get DNS entries for a given link. These are string representations of
* IP addresses */
int sd_network_link_get_dns(int ifindex, char ***addr);
@@
-107,6
+113,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;