aboutsummaryrefslogtreecommitdiff
path: root/src/uuid.cpp
blob: b8de9e16bbcf37c40ad836a1899da214593a4756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
 *
 * This file is part of the libbu++ library and is released under the
 * terms of the license contained in the file LICENSE.
 */

#include "bu/uuid.h"

Bu::Uuid::Uuid()
{
	clear();
}

Bu::Uuid::~Uuid()
{
}

#define msb( i ) (1<<(7-i))

void Bu::Uuid::clear()
{
	data[7] = msb(0);
}