summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-ip-config.h
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2016-04-23 15:57:04 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2016-05-12 17:13:50 +0200
commitbdd0e7fec0a2af12331b815bfaf3de182ed6eebb (patch)
tree650873b096b02e74f963264659bb0dbf293e385d /libnm-core/nm-setting-ip-config.h
parente53aa0dcffc5b722669652f10671a2bc5fbe4fa0 (diff)
downloadNetworkManager-bdd0e7fec0a2af12331b815bfaf3de182ed6eebb.tar.gz
libnm-core: add dns-priority to NMSettingIPConfig
Diffstat (limited to 'libnm-core/nm-setting-ip-config.h')
-rw-r--r--libnm-core/nm-setting-ip-config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm-core/nm-setting-ip-config.h b/libnm-core/nm-setting-ip-config.h
index 79c7e63921..b18d6a9439 100644
--- a/libnm-core/nm-setting-ip-config.h
+++ b/libnm-core/nm-setting-ip-config.h
@@ -136,6 +136,7 @@ void nm_ip_route_set_attribute (NMIPRoute *route,
#define NM_SETTING_IP_CONFIG_DNS "dns"
#define NM_SETTING_IP_CONFIG_DNS_SEARCH "dns-search"
#define NM_SETTING_IP_CONFIG_DNS_OPTIONS "dns-options"
+#define NM_SETTING_IP_CONFIG_DNS_PRIORITY "dns-priority"
#define NM_SETTING_IP_CONFIG_ADDRESSES "addresses"
#define NM_SETTING_IP_CONFIG_GATEWAY "gateway"
#define NM_SETTING_IP_CONFIG_ROUTES "routes"
@@ -219,6 +220,9 @@ gboolean nm_setting_ip_config_remove_dns_option_by_value (NMSettingIPConfig
const char *dns_option);
void nm_setting_ip_config_clear_dns_options (NMSettingIPConfig *setting, gboolean is_set);
+NM_AVAILABLE_IN_1_4
+gint nm_setting_ip_config_get_dns_priority (NMSettingIPConfig *setting);
+
guint nm_setting_ip_config_get_num_addresses (NMSettingIPConfig *setting);
NMIPAddress *nm_setting_ip_config_get_address (NMSettingIPConfig *setting,
int idx);