summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-ip-config.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-05-20 12:21:11 +0200
committerThomas Haller <thaller@redhat.com>2015-05-20 12:42:14 +0200
commit533f9fa2d2daedb235f8236ca68db3bc7b429005 (patch)
tree9428919799793b920d0f5329554685652d01acde /libnm-core/nm-setting-ip-config.h
parente47eca8761e060402a05d7c0757b40455307ec90 (diff)
downloadNetworkManager-533f9fa2d2daedb235f8236ca68db3bc7b429005.tar.gz
libnm: move internal dns-option helpers to "nm-core-internal.h"
"nm-utils-private.h" should not be used outside of libnm-core/. core/ should only use public API or "nm-core-internal.h". Also, "nm-setting-ip-config.h" is a public header and should not contain internal defines. Move them to "nm-core-internal.h" too. Fixes: 019943bb5d9efea52392610b207dececafa6fdb3
Diffstat (limited to 'libnm-core/nm-setting-ip-config.h')
-rw-r--r--libnm-core/nm-setting-ip-config.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/libnm-core/nm-setting-ip-config.h b/libnm-core/nm-setting-ip-config.h
index 1e88a8bfde..b150a3178d 100644
--- a/libnm-core/nm-setting-ip-config.h
+++ b/libnm-core/nm-setting-ip-config.h
@@ -145,14 +145,6 @@ void nm_ip_route_set_attribute (NMIPRoute *route,
#define NM_SETTING_IP_CONFIG_NEVER_DEFAULT "never-default"
#define NM_SETTING_IP_CONFIG_MAY_FAIL "may-fail"
-typedef struct {
- const char *name;
- gboolean numeric;
- gboolean ipv6_only;
-} DNSOptionDesc;
-
-extern const DNSOptionDesc dns_option_descs[];
-
#define NM_SETTING_DNS_OPTION_DEBUG "debug"
#define NM_SETTING_DNS_OPTION_NDOTS "ndots"
#define NM_SETTING_DNS_OPTION_TIMEOUT "timeout"