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