summaryrefslogtreecommitdiff
path: root/libnm/libnm.ver
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-11-26 11:24:40 +0100
committerThomas Haller <thaller@redhat.com>2019-11-28 19:20:33 +0100
commit61381b8ee4559c9bc454725790f01bb735c257bc (patch)
tree515e71bb097249fde052ae2c57f549123fd4cece /libnm/libnm.ver
parent5996b4f166f06b9a837e38a996f4fdf0c1a963d3 (diff)
downloadNetworkManager-61381b8ee4559c9bc454725790f01bb735c257bc.tar.gz
libnm: add nm_ip_address_cmp_full() function
Not being able to compare two NMIPAddress instances is a major limitation. Add nm_ip_address_cmp_full(). The choice here for adding a "cmp()" function instead of a "equals()" function is that cmp is more useful. We only want to add one of the two, so choose the more powerful one. Yes, usually its also not the variant we want or the variant that is convenient to use, such is life. Compare this to: - nm_ip_route_equal_full(), which is an equal() method and not a cmp(). - nm_ip_route_equal_full() which has a guint flags argument, instead of a typedef for an enum, with a proper generated GType.
Diffstat (limited to 'libnm/libnm.ver')
-rw-r--r--libnm/libnm.ver2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm/libnm.ver b/libnm/libnm.ver
index 56a8e2cb43..fb5a4f64df 100644
--- a/libnm/libnm.ver
+++ b/libnm/libnm.ver
@@ -1646,6 +1646,8 @@ global:
nm_device_get_interface_flags;
nm_device_interface_flags_get_type;
nm_dhcp_hostname_flags_get_type;
+ nm_ip_address_cmp_flags_get_type;
+ nm_ip_address_cmp_full;
nm_manager_reload_flags_get_type;
nm_setting_gsm_get_auto_config;
nm_setting_ip_config_get_dhcp_hostname_flags;