Changeset 3887aab2 in mainline for uspace/lib/c/include/types/uuid.h
- Timestamp:
- 2024-06-13T16:03:39Z (3 weeks ago)
- Branches:
- master
- Children:
- c15296b
- Parents:
- 0b1f01c
- git-author:
- Miroslav Cimerman <mc@…> (2024-06-12 21:08:14)
- git-committer:
- jxsvoboda <5887334+jxsvoboda@…> (2024-06-13 16:03:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/types/uuid.h
r0b1f01c r3887aab2 38 38 #include <stdint.h> 39 39 40 enum { 41 uuid_bytes = 16 42 }; 40 #define _UUID_NODE_LEN 6 43 41 44 42 /** Universally Unique Identifier */ 43 45 44 typedef struct { 46 uint8_t b[uuid_bytes]; 45 uint32_t time_low; 46 uint16_t time_mid; 47 uint16_t time_hi_and_version; 48 uint8_t clock_seq_hi_and_reserved; 49 uint8_t clock_seq_low; 50 uint8_t node[_UUID_NODE_LEN]; 47 51 } uuid_t; 48 52
Note:
See TracChangeset
for help on using the changeset viewer.