break;
case UUID_DCE:
count = 16;
+ break;
+ case UUID_DCE_STRING:
+ count = 36;
+ break;
}
memcpy(id->uuid_raw, buf, count);
+ id->uuid_raw_len = count;
/* if set, create string in the same format, the native platform uses */
for (i = 0; i < count; i++)
buf[8], buf[9],
buf[10], buf[11], buf[12], buf[13], buf[14],buf[15]);
break;
+ case UUID_DCE_STRING:
+ memcpy(id->uuid, buf, count);
+ id->uuid[count] = '\0';
+ break;
}
}