diff options
author | Dan Winship <danw@gnome.org> | 2014-02-11 09:53:35 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-03-06 09:37:20 -0500 |
commit | 4a5e2ced0854acc9008cdbd5322d61c30acee6b3 (patch) | |
tree | 1a76948f9a442afe1da3e67a04240df6e0f47933 /libnm-util/nm-utils.h | |
parent | a9c8addc91e7b8487bd450e7d5ea7c31a5220427 (diff) | |
download | NetworkManager-4a5e2ced0854acc9008cdbd5322d61c30acee6b3.tar.gz |
libnm-util: add nm_utils_check_virtual_device_compatibility()
Add a function encoding the logic of what virtual types support what
slave/parent types, so clients don't need to encode it themselves.
Diffstat (limited to 'libnm-util/nm-utils.h')
-rw-r--r-- | libnm-util/nm-utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libnm-util/nm-utils.h b/libnm-util/nm-utils.h index 12b3e8de21..582600420b 100644 --- a/libnm-util/nm-utils.h +++ b/libnm-util/nm-utils.h @@ -174,6 +174,9 @@ const char *nm_utils_inet4_ntop (in_addr_t inaddr, char *dst); NM_AVAILABLE_IN_0_9_10 const char *nm_utils_inet6_ntop (const struct in6_addr *in6addr, char *dst); +NM_AVAILABLE_IN_0_9_10 +gboolean nm_utils_check_virtual_device_compatibility (GType virtual_type, GType other_type); + G_END_DECLS #endif /* NM_UTILS_H */ |