From b02f59d4a459cb1f0a4d5cac014f595ff008fe0e Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 26 Mar 2015 09:23:12 +0100 Subject: core: add DNS options property to NMIP4Config and NMIP6Config --- src/nm-ip6-config.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/nm-ip6-config.h') diff --git a/src/nm-ip6-config.h b/src/nm-ip6-config.h index e0527e5e55..28513c2174 100644 --- a/src/nm-ip6-config.h +++ b/src/nm-ip6-config.h @@ -49,6 +49,7 @@ typedef struct { #define NM_IP6_CONFIG_NAMESERVERS "nameservers" #define NM_IP6_CONFIG_DOMAINS "domains" #define NM_IP6_CONFIG_SEARCHES "searches" +#define NM_IP6_CONFIG_DNS_OPTIONS "dns-options" /* deprecated */ #define NM_IP6_CONFIG_ADDRESSES "addresses" @@ -126,6 +127,13 @@ void nm_ip6_config_del_search (NMIP6Config *config, guint i); guint32 nm_ip6_config_get_num_searches (const NMIP6Config *config); const char * nm_ip6_config_get_search (const NMIP6Config *config, guint i); +/* DNS options */ +void nm_ip6_config_reset_dns_options (NMIP6Config *config); +void nm_ip6_config_add_dns_option (NMIP6Config *config, const char *option); +void nm_ip6_config_del_dns_option (NMIP6Config *config, guint i); +guint32 nm_ip6_config_get_num_dns_options (const NMIP6Config *config); +const char * nm_ip6_config_get_dns_option (const NMIP6Config *config, guint i); + /* MSS */ void nm_ip6_config_set_mss (NMIP6Config *config, guint32 mss); guint32 nm_ip6_config_get_mss (const NMIP6Config *config); -- cgit v1.2.1