mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 06:52:22 +03:00
sd-network: Provice APIs to access SIP servers given by DHCP4 server
This commit is contained in:
parent
be1af90585
commit
eb46288cca
@ -240,6 +240,10 @@ _public_ int sd_network_link_get_ntp(int ifindex, char ***ret) {
|
||||
return network_link_get_strv(ifindex, "NTP", ret);
|
||||
}
|
||||
|
||||
_public_ int sd_network_link_get_sip(int ifindex, char ***ret) {
|
||||
return network_link_get_strv(ifindex, "SIP", ret);
|
||||
}
|
||||
|
||||
_public_ int sd_network_link_get_search_domains(int ifindex, char ***ret) {
|
||||
return network_link_get_strv(ifindex, "DOMAINS", ret);
|
||||
}
|
||||
|
@ -118,6 +118,10 @@ int sd_network_link_get_dhcp4_address(int ifindex, char **ret);
|
||||
* representations of IP addresses */
|
||||
int sd_network_link_get_ntp(int ifindex, char ***ret);
|
||||
|
||||
/* Get SIP entries for a given link. These are string
|
||||
* representations of IP addresses */
|
||||
int sd_network_link_get_sip(int ifindex, char ***ret);
|
||||
|
||||
/* Indicates whether or not LLMNR should be enabled for the link
|
||||
* Possible levels of support: yes, no, resolve
|
||||
* Possible return codes:
|
||||
|
Loading…
Reference in New Issue
Block a user