VSF Documented
Data Structures | Macros | Variables
uuid.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  uuid_t
 
struct  guid_t
 

Macros

#define UUID_SIZE   16
 
#define UUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7)
 
#define UUID_STRING_LEN   36
 
#define GUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7)
 

Variables

const guid_t guid_null
 
const uuid_t uuid_null
 

Macro Definition Documentation

◆ UUID_SIZE

#define UUID_SIZE   16

◆ UUID_INIT

#define UUID_INIT (   a,
  b,
  c,
  d0,
  d1,
  d2,
  d3,
  d4,
  d5,
  d6,
  d7 
)
Value:
((uuid_t){{ \
((a) >> 24) & 0xff, ((a) >> 16) & 0xff, ((a) >> 8) & 0xff, (a) & 0xff, \
((b) >> 8) & 0xff, (b) & 0xff, \
((c) >> 8) & 0xff, (c) & 0xff, \
(d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) \
}})
Definition uuid.h:11

◆ UUID_STRING_LEN

#define UUID_STRING_LEN   36

◆ GUID_INIT

#define GUID_INIT (   a,
  b,
  c,
  d0,
  d1,
  d2,
  d3,
  d4,
  d5,
  d6,
  d7 
)
Value:
((guid_t){{ \
(a) & 0xff, ((a) >> 8) & 0xff, ((a) >> 16) & 0xff, ((a) >> 24) & 0xff, \
(b) & 0xff, ((b) >> 8) & 0xff, \
(c) & 0xff, ((c) >> 8) & 0xff, \
(d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7), \
}})
Definition uuid.h:24

Variable Documentation

◆ guid_null

const guid_t guid_null
extern

◆ uuid_null

const uuid_t uuid_null
extern