40 #define OC_UUID_LEN (37)
void oc_gen_uuid(oc_uuid_t *uuid)
Generate a random Universally Unique IDentifier (UUID)
void oc_str_to_uuid(const char *str, oc_uuid_t *uuid)
Convert a UUID string representation to a 128-bit oc_uuid_t.
void oc_uuid_to_str(const oc_uuid_t *uuid, char *buffer, int buflen)
Convert the 128 bit oc_uuid_t to a sting representation.