Move UST registry into sessiond and implement notifiers
[lttng-tools.git] / src / common / compat / uuid.h
index 5bf8beb406f0b018dd40bb25959c7b8018f610c6..35faf538875053ccc240ceb2253230d39cdf695e 100644 (file)
  * Includes final \0.
  */
 #define UUID_STR_LEN           37
+#define UUID_LEN               16
 
 #ifdef LTTNG_HAVE_LIBUUID
 #include <uuid/uuid.h>
 
+/*
+ * uuid_out is of len UUID_LEN.
+ */
 static inline
 int lttng_uuid_generate(unsigned char *uuid_out)
 {
@@ -43,6 +47,9 @@ int lttng_uuid_generate(unsigned char *uuid_out)
 #include <uuid.h>
 #include <stdint.h>
 
+/*
+ * uuid_out is of len UUID_LEN.
+ */
 static inline
 int lttng_uuid_generate(unsigned char *uuid_out)
 {
This page took 0.024633 seconds and 5 git commands to generate.