1/* UUID generation functions
2 *
3 * Project : minidlna
4 * Website : http://sourceforge.net/projects/minidlna/
5 * Author  : Justin Maggard
6 *
7 * MiniDLNA media server
8 * Copyright (C) 2009  Justin Maggard
9 *
10 * This file is part of MiniDLNA.
11 *
12 * MiniDLNA is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License version 2 as
14 * published by the Free Software Foundation.
15 *
16 * MiniDLNA is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with MiniDLNA. If not, see <http://www.gnu.org/licenses/>.
23 */
24#ifndef __UUID_H__
25#define __UUID_H__
26
27#define ETH_ALEN 6
28#ifndef NSEC_PER_SEC
29#define NSEC_PER_SEC 1000000000L
30#endif
31#ifndef NSEC_PER_MSEC
32#define NSEC_PER_MSEC 1000000L
33#endif
34
35int
36get_uuid_string(char *buf);
37
38#endif
39