1/*
2 * uuid.h -- private header file for uuids
3 *
4 * Copyright (C) 1996, 1997 Theodore Ts'o.
5 *
6 * %Begin-Header%
7 * This file may be redistributed under the terms of the GNU
8 * Library General Public License.
9 * %End-Header%
10 */
11
12#include <sys/types.h>
13//#include <uuid/uuid_types.h>
14#include "uuid_types.h"
15#include "uuid.h"
16
17/*
18 * Offset between 15-Oct-1582 and 1-Jan-70
19 */
20#define TIME_OFFSET_HIGH 0x01B21DD2
21#define TIME_OFFSET_LOW  0x13814000
22
23struct uuid {
24	__u32	time_low;
25	__u16	time_mid;
26	__u16	time_hi_and_version;
27	__u16	clock_seq;
28	__u8	node[6];
29};
30
31
32/*
33 * prototypes
34 */
35void uuid_pack(const struct uuid *uu, uuid_t ptr);
36void uuid_unpack(const uuid_t in, struct uuid *uu);
37
38
39
40
41