diff options
author | Dan Winship <danw@gnome.org> | 2014-09-16 16:42:46 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-11-07 07:49:40 -0500 |
commit | 21c8a6b20effbe1e689505a0cbb23594be06068c (patch) | |
tree | 15e43867853d0242950e40e049499e1c2d29cc78 /libnm-core/nm-utils.h | |
parent | 303e84e65e5b9b5a403e4f8366e094447d51a9fa (diff) | |
download | NetworkManager-21c8a6b20effbe1e689505a0cbb23594be06068c.tar.gz |
libnm-core, all: merge IPv4 and IPv6 address/route types
Merge NMIP4Address and NMIP6Address into NMIPAddress, and NMIP4Route
and NMIP6Route into NMIPRoute. The new types represent IP addresses as
strings, rather than in binary, and so are address-family agnostic.
Diffstat (limited to 'libnm-core/nm-utils.h')
-rw-r--r-- | libnm-core/nm-utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-core/nm-utils.h b/libnm-core/nm-utils.h index 5dd3a84342..ccf15f7b84 100644 --- a/libnm-core/nm-utils.h +++ b/libnm-core/nm-utils.h @@ -174,6 +174,8 @@ gboolean nm_utils_is_uuid (const char *str); const char *nm_utils_inet4_ntop (in_addr_t inaddr, char *dst); const char *nm_utils_inet6_ntop (const struct in6_addr *in6addr, char *dst); +gboolean nm_utils_ipaddr_valid (int family, const char *ip); + gboolean nm_utils_check_virtual_device_compatibility (GType virtual_type, GType other_type); G_END_DECLS |