diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2013-11-03 16:56:09 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2013-11-03 16:57:40 +0100 |
commit | ec4787ad2b51de26535c29ea56ffa992887f20bd (patch) | |
tree | b366a032a2129bbe96136295d62c514d365ac119 /gtk | |
parent | 113b26b8ca1b64bb91b627817a28db92e3cda6fc (diff) |
util: document spice_uuid_to_string
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/spice-util.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/spice-util.c b/gtk/spice-util.c index e7c2dd7..1f35629 100644 --- a/gtk/spice-util.c +++ b/gtk/spice-util.c @@ -123,6 +123,16 @@ gboolean spice_strv_contains(const GStrv strv, const gchar *str) return FALSE; } +/** + * spice_uuid_to_string: + * @uuid: UUID byte array + * + * Creates a string representation of @uuid, of the form + * "06e023d5-86d8-420e-8103-383e4566087a" + * + * Returns: A string that should be freed with g_free(). + * Since: 0.22 + **/ gchar* spice_uuid_to_string(const guint8 uuid[16]) { return g_strdup_printf(UUID_FMT, uuid[0], uuid[1], |