diff options
author | Dan Winship <danw@gnome.org> | 2014-06-24 12:46:03 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-09-04 09:20:11 -0400 |
commit | 983756578935580a663735cc2c650a6ebfbc8015 (patch) | |
tree | 230b6a7bb1ed9b418f90441e67bd4b5e30613593 /libnm-core/nm-setting-ip6-config.h | |
parent | 9ed6bd2be58606e1700fe193c65e9991cf657ad0 (diff) | |
download | NetworkManager-983756578935580a663735cc2c650a6ebfbc8015.tar.gz |
libnm-core: improve NMSettingIP4Config / NMSettingIP6Config property types
Make the :addresses and :routes properties be GPtrArrays of
NMIP4Address, etc, rather than just reflecting the D-Bus data.
Make the :dns properties be arrays of strings rather than arrays of
binary IP addresses (and update the corresponding APIs as well).
Diffstat (limited to 'libnm-core/nm-setting-ip6-config.h')
-rw-r--r-- | libnm-core/nm-setting-ip6-config.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libnm-core/nm-setting-ip6-config.h b/libnm-core/nm-setting-ip6-config.h index 2dc9c8dde2..349cc36a48 100644 --- a/libnm-core/nm-setting-ip6-config.h +++ b/libnm-core/nm-setting-ip6-config.h @@ -214,10 +214,10 @@ NMSetting * nm_setting_ip6_config_new (void); const char * nm_setting_ip6_config_get_method (NMSettingIP6Config *setting); guint32 nm_setting_ip6_config_get_num_dns (NMSettingIP6Config *setting); -const struct in6_addr *nm_setting_ip6_config_get_dns (NMSettingIP6Config *setting, guint32 i); -gboolean nm_setting_ip6_config_add_dns (NMSettingIP6Config *setting, const struct in6_addr *dns); +const char * nm_setting_ip6_config_get_dns (NMSettingIP6Config *setting, guint32 i); +gboolean nm_setting_ip6_config_add_dns (NMSettingIP6Config *setting, const char *dns); void nm_setting_ip6_config_remove_dns (NMSettingIP6Config *setting, guint32 i); -gboolean nm_setting_ip6_config_remove_dns_by_value (NMSettingIP6Config *setting, const struct in6_addr *dns); +gboolean nm_setting_ip6_config_remove_dns_by_value (NMSettingIP6Config *setting, const char *dns); void nm_setting_ip6_config_clear_dns (NMSettingIP6Config *setting); guint32 nm_setting_ip6_config_get_num_dns_searches (NMSettingIP6Config *setting); |