diff options
author | Thomas Haller <thaller@redhat.com> | 2019-08-23 18:08:44 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-09-22 16:05:50 +0200 |
commit | e688e70b372a2661dcad17d277ca7233ffad4f6d (patch) | |
tree | 9f4565eaa3a50574e725b63b29de0793a03298d0 /shared/nm-glib-aux/nm-shared-utils.h | |
parent | 2667a46874b7b853af0be2645cc38a4e965c3b9e (diff) | |
download | NetworkManager-e688e70b372a2661dcad17d277ca7233ffad4f6d.tar.gz |
shared: add nm_utils_hash_values_to_array() helper
Diffstat (limited to 'shared/nm-glib-aux/nm-shared-utils.h')
-rw-r--r-- | shared/nm-glib-aux/nm-shared-utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/nm-glib-aux/nm-shared-utils.h b/shared/nm-glib-aux/nm-shared-utils.h index d3ec5ceb7d..75b5d387c5 100644 --- a/shared/nm-glib-aux/nm-shared-utils.h +++ b/shared/nm-glib-aux/nm-shared-utils.h @@ -955,6 +955,11 @@ gpointer *nm_utils_hash_keys_to_array (GHashTable *hash, gpointer user_data, guint *out_len); +gpointer *nm_utils_hash_values_to_array (GHashTable *hash, + GCompareDataFunc compare_func, + gpointer user_data, + guint *out_len); + static inline const char ** nm_utils_strdict_get_keys (const GHashTable *hash, gboolean sorted, |