diff options
author | Thomas Haller <thaller@redhat.com> | 2015-10-01 14:00:01 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-10-05 17:12:50 +0200 |
commit | da0ded49279cce454c9aefeccd6943e7d58f3475 (patch) | |
tree | 21f9f49dab41d634e493c44ac2b96acab5625a42 /src/nm-config.h | |
parent | 7182304684250a8b52664f6bee34747a05e41bd5 (diff) | |
download | NetworkManager-da0ded49279cce454c9aefeccd6943e7d58f3475.tar.gz |
config: drop global-dns.enable option in favor of .config.enable
No longer support disabling the global-dns configuration via the
"enable" option.
Instead, the user can put the entire dns-configuration in one separate
snippet, and disable it altogether with ".config.enable".
Diffstat (limited to 'src/nm-config.h')
-rw-r--r-- | src/nm-config.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nm-config.h b/src/nm-config.h index 59a3e854b2..eb195138bd 100644 --- a/src/nm-config.h +++ b/src/nm-config.h @@ -63,7 +63,6 @@ G_BEGIN_DECLS #define NM_CONFIG_KEYFILE_GROUP_IFNET "ifnet" #define NM_CONFIG_KEYFILE_KEY_LOGGING_BACKEND "backend" -#define NM_CONFIG_KEYFILE_KEY_GLOBAL_DNS_ENABLE "enable" #define NM_CONFIG_KEYFILE_KEY_CONFIG_ENABLE "enable" #define NM_CONFIG_KEYFILE_KEY_ATOMIC_SECTION_WAS ".was" #define NM_CONFIG_KEYFILE_KEY_IFNET_AUTO_REFRESH "auto_refresh" @@ -145,6 +144,8 @@ void nm_config_keyfile_set_string_list (GKeyFile *keyfile, const char *key, const char *const* strv, gssize len); +gboolean nm_config_keyfile_has_global_dns_config (GKeyFile *keyfile, gboolean internal); + GSList *nm_config_get_match_spec (const GKeyFile *keyfile, const char *group, const char *key, gboolean *out_has_key); void _nm_config_sort_groups (char **groups, gsize ngroups); |