Changeset ebb1489 in mainline for uspace/lib/c/include/types/uuid.h


Ignore:
Timestamp:
2024-10-13T08:23:40Z (8 weeks ago)
Author:
GitHub <noreply@…>
Children:
0472cf17
Parents:
2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
git-committer:
GitHub <noreply@…> (2024-10-13 08:23:40)
Message:

Merge branch 'HelenOS:master' into topic/packet-capture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/types/uuid.h

    r2a0c827c rebb1489  
    3838#include <stdint.h>
    3939
    40 enum {
    41         uuid_bytes = 16
    42 };
     40#define _UUID_NODE_LEN 6
    4341
    4442/** Universally Unique Identifier */
     43
    4544typedef 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];
    4751} uuid_t;
    4852
Note: See TracChangeset for help on using the changeset viewer.