diff libpurple/util.h @ 29523:ecd2136ff818

Broke out the generation of random UUIDs to its own function Adapted the Google group chat functionallity to use the new function
author Marcus Lundblad <ml@update.uu.se>
date Tue, 13 Oct 2009 22:13:57 +0000
parents 63cb8c4f3c66
children b8235e92ede7
line wrap: on
line diff
--- a/libpurple/util.h	Mon Oct 12 22:40:37 2009 +0000
+++ b/libpurple/util.h	Tue Oct 13 22:13:57 2009 +0000
@@ -1427,6 +1427,14 @@
  */
 const gchar *purple_get_host_name(void);
 
+/**
+ * Returns a type 4 (random) UUID
+ *
+ * @return A UUID, caller is responsible for freeing it
+ * @since 2.7.0
+ */
+gchar *purple_uuid_random(void);
+
 #ifdef __cplusplus
 }
 #endif