Ignore:
File:
1 edited

Legend:

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

    r3887aab2 r4805495  
    3838#include <stdint.h>
    3939
    40 #define _UUID_NODE_LEN 6
     40enum {
     41        uuid_bytes = 16
     42};
    4143
    4244/** Universally Unique Identifier */
    43 
    4445typedef struct {
    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];
     46        uint8_t b[uuid_bytes];
    5147} uuid_t;
    5248
Note: See TracChangeset for help on using the changeset viewer.