libUPnP
1.6.17
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
upnp
src
inc
uuid.h
1
#ifndef UUID_H
2
#define UUID_H
3
4
/*
5
* Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc.
6
* Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. &
7
* Digital Equipment Corporation, Maynard, Mass.
8
* Copyright (c) 1998 Microsoft.
9
* To anyone who acknowledges that this file is provided "AS IS"
10
* without any express or implied warranty: permission to use, copy,
11
* modify, and distribute this file for any purpose is hereby
12
* granted without fee, provided that the above copyright notices and
13
* this notice appears in all source code copies, and that none of
14
* the names of Open Software Foundation, Inc., Hewlett-Packard
15
* Company, or Digital Equipment Corporation be used in advertising
16
* or publicity pertaining to distribution of the software without
17
* specific, written prior permission. Neither Open Software
18
* Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital Equipment
19
* Corporation makes any representations about the suitability of
20
* this software for any purpose.
21
*/
22
23
#include "
sysdep.h
"
24
26
typedef
struct
_uuid_upnp
{
28
uint32_t
time_low
;
30
uint16_t
time_mid
;
32
uint16_t
time_hi_and_version
;
34
uint8_t
clock_seq_hi_and_reserved
;
36
uint8_t
clock_seq_low
;
38
uint8_t
node
[6];
39
}
uuid_upnp
;
40
44
int
uuid_create
(
46
uuid_upnp
*
id
);
47
51
void
uuid_unpack
(
53
uuid_upnp
* u,
55
char
*out);
56
60
void
uuid_create_from_name
(
62
uuid_upnp
* uid,
65
uuid_upnp
nsid,
67
void
*name,
69
int
namelen);
70
81
int
uuid_compare
(
83
uuid_upnp
* u1,
85
uuid_upnp
* u2);
86
#endif
/* UUID_H */
Generated on Fri Feb 1 2013 21:41:16 for libUPnP by
1.8.1.2