libUPnP  1.8.0
uuid.h
1 /*
2  * Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc.
3  * Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. &
4  * Digital Equipment Corporation, Maynard, Mass.
5  * Copyright (c) 1998 Microsoft.
6  * To anyone who acknowledges that this file is provided "AS IS"
7  * without any express or implied warranty: permission to use, copy,
8  * modify, and distribute this file for any purpose is hereby
9  * granted without fee, provided that the above copyright notices and
10  * this notice appears in all source code copies, and that none of
11  * the names of Open Software Foundation, Inc., Hewlett-Packard
12  * Company, or Digital Equipment Corporation be used in advertising
13  * or publicity pertaining to distribution of the software without
14  * specific, written prior permission. Neither Open Software
15  * Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital Equipment
16  * Corporation makes any representations about the suitability of
17  * this software for any purpose.
18  */
19 
20 
21 #include "sysdep.h"
22 
23 
25 typedef struct _uuid_upnp {
27  unsigned32 time_low;
29  unsigned16 time_mid;
31  unsigned16 time_hi_and_version;
35  unsigned8 clock_seq_low;
37  byte node[6];
38 } uuid_upnp;
39 
40 
44 int uuid_create(
46  uuid_upnp * id);
47 
48 
52 void uuid_unpack(
54  uuid_upnp *u,
56  char *out);
57 
58 
62 void uuid_create_from_name(
64  uuid_upnp *uid,
67  uuid_upnp nsid,
69  void *name,
71  int namelen
72 );
73 
74 
85 int uuid_compare(
87  uuid_upnp *u1,
89  uuid_upnp *u2);
90 
unsigned8 clock_seq_low
Definition: uuid.h:35
Definition: uuid.h:25
unsigned32 time_low
Definition: uuid.h:27
unsigned16 time_hi_and_version
Definition: uuid.h:31
byte node[6]
Definition: uuid.h:37
unsigned16 time_mid
Definition: uuid.h:29
unsigned8 clock_seq_hi_and_reserved
Definition: uuid.h:33