diff options
author | Joe Thornber <thornber@redhat.com> | 2001-10-12 10:32:06 +0000 |
---|---|---|
committer | Joe Thornber <thornber@redhat.com> | 2001-10-12 10:32:06 +0000 |
commit | 72a5e12b5c19e9c85561fa8e946a9bc2e67501e1 (patch) | |
tree | d5f933b663a66541b4e2429266155cfefd21932c /lib/uuid/uuid.h | |
parent | 03505a0f58040672af119ae8674a7352463641c7 (diff) | |
download | lvm2-72a5e12b5c19e9c85561fa8e946a9bc2e67501e1.tar.gz lvm2-72a5e12b5c19e9c85561fa8e946a9bc2e67501e1.tar.xz lvm2-72a5e12b5c19e9c85561fa8e946a9bc2e67501e1.zip |
o pvcreate
o added uuid unit
o stubbed partition stuff
Diffstat (limited to 'lib/uuid/uuid.h')
-rw-r--r-- | lib/uuid/uuid.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/uuid/uuid.h b/lib/uuid/uuid.h new file mode 100644 index 00000000..15de1b7d --- /dev/null +++ b/lib/uuid/uuid.h @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2001 Sistina Software (UK) Limited. + * + * This file is released under the GPL. + */ + +#ifndef _LVM_UUID_H +#define _LVM_UUID_H + +#include "lvm-types.h" + +#define ID_LEN 32 + +struct id { + uint8_t uuid[ID_LEN]; +}; + +int id_create(struct id *id); +int id_valid(struct id *id); +int id_cmp(struct id *lhs, struct id *rhs); + +#endif |