GDBus: Document GVariant/GValue conversion routines and move to them to utils
[platform/upstream/glib.git] / gio / gdbusutils.h
index b31dc75..73a827f 100644 (file)
@@ -39,6 +39,11 @@ gboolean g_dbus_is_unique_name (const gchar *string);
 gboolean g_dbus_is_member_name (const gchar *string);
 gboolean g_dbus_is_interface_name (const gchar *string);
 
+void g_dbus_gvariant_to_gvalue (GVariant  *value,
+                                GValue    *out_gvalue);
+GVariant *g_dbus_gvalue_to_gvariant (const GValue         *gvalue,
+                                     const GVariantType   *expected_type);
+
 G_END_DECLS
 
 #endif /* __G_DBUS_UTILS_H__ */