Here is a new version of the patch to xen-api-libs.hg:
<snip/>
(** Create a fresh UUID *) val make_uuid : unit -> 'a t +val make_uuid_prng : unit -> 'a t +val make_uuid_urnd : unit -> 'a t +val make_uuid_rnd : unit -> 'a t
I recommend adding some ocamldoc comments in the mli file, to explain the semantics. Looking at the interface on its own, I'd guess that:
+val make_uuid_prng : unit -> 'a t
This one comes from a pseudo-random number generator.
+val make_uuid_urnd : unit -> 'a t
This one comes straight from /dev/urandom
+val make_uuid_rnd : unit -> 'a t
This one comes straight from /dev/random Are my guesses correct? Cheers, Jonathan _______________________________________________ xen-api mailing list [email protected] http://lists.xensource.com/mailman/listinfo/xen-api
