Function gio::dbus_generate_guid[][src]

pub fn dbus_generate_guid() -> GString
Expand description

Generate a D-Bus GUID that can be used with e.g. DBusConnection::new().

See the D-Bus specification regarding what strings are valid D-Bus GUID (for example, D-Bus GUIDs are not RFC-4122 compliant).

Returns

A valid D-Bus GUID. Free with g_free().