cctools
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
dttools
src
uuid.h
1
/*
2
Copyright (C) 2016- The University of Notre Dame
3
This software is distributed under the GNU General Public License.
4
See the file COPYING for details.
5
*/
6
7
#ifndef CCTOOLS_UUID_H
8
#define CCTOOLS_UUID_H
9
10
/* RFC 4122 V4 */
11
#define UUID_LEN (sizeof "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx" - 1)
12
typedef
struct
{
13
char
str[UUID_LEN + 1
/* for NUL */
];
14
}
cctools_uuid_t
;
15
16
void
cctools_uuid_create (
cctools_uuid_t
*uuid);
17
void
cctools_uuid_loadhex (
cctools_uuid_t
*uuid,
const
char
*hex);
18
19
#endif
cctools_uuid_t
Definition:
uuid.h:12
Generated by
1.8.5