summaryrefslogtreecommitdiff
path: root/libnm-core/nm-utils-private.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-06-24 17:40:08 -0400
committerDan Winship <danw@gnome.org>2014-09-04 09:20:11 -0400
commit9ed6bd2be58606e1700fe193c65e9991cf657ad0 (patch)
tree41506dcaa74b61265e8475ca2270c939816b17e6 /libnm-core/nm-utils-private.h
parent6a4127cfa063a77e3ee886a999441c71f6a0e11c (diff)
downloadNetworkManager-9ed6bd2be58606e1700fe193c65e9991cf657ad0.tar.gz
libnm-core: change map-of-string properties to G_TYPE_HASH_TABLE
Change all DBUS_TYPE_G_MAP_OF_STRING properties to G_TYPE_HASH_TABLE, with annotations indicating they are string->string. Not much outside libnm-core needs to changed for this, since DBUS_TYPE_G_MAP_OF_STRING was already represented as a hash table. (One change needed within libnm-core is that we now need to copy the hash tables in get_property(), or else the caller will receive a reffed copy of the object's own hash table, which we don't want.)
Diffstat (limited to 'libnm-core/nm-utils-private.h')
-rw-r--r--libnm-core/nm-utils-private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libnm-core/nm-utils-private.h b/libnm-core/nm-utils-private.h
index b4ddf6e8a0..9154a40598 100644
--- a/libnm-core/nm-utils-private.h
+++ b/libnm-core/nm-utils-private.h
@@ -39,6 +39,11 @@ void _nm_utils_hwaddr_to_dbus (const GValue *prop_value,
void _nm_utils_hwaddr_from_dbus (const GValue *dbus_value,
GValue *prop_value);
+void _nm_utils_strdict_to_dbus (const GValue *prop_value,
+ GValue *dbus_value);
+void _nm_utils_strdict_from_dbus (const GValue *dbus_value,
+ GValue *prop_value);
+
GSList * _nm_utils_strv_to_slist (char **strv);
char ** _nm_utils_slist_to_strv (GSList *slist);