29 #include <uuid/uuid.h> 45 if (uuid_is_null (uuid) == 1)
47 g_warning (
"%s: failed to generate UUID", __FUNCTION__);
52 id = g_malloc0 (
sizeof (
char) * 37);
55 g_warning (
"%s: Cannot export UUID to text: out of memory", __FUNCTION__);
60 uuid_unparse (uuid,
id);
char * gvm_uuid_make(void)
Make a new universal identifier.