- Implemented RADIUS authentication
[public/netxms.git] / include / uuid.h
CommitLineData
f3d12ff6
VK
1/*
2 * Public include file for the UUID library
3 *
4 * Copyright (C) 1996, 1997, 1998 Theodore Ts'o.
5 *
6 * %Begin-Header%
7 * This file may be redistributed under the terms of the GNU
8 * Library General Public License.
9 * %End-Header%
10 */
11
12#ifndef _UUID_H_
13#define _UUID_H_
14
15#undef uuid_t
16typedef unsigned char uuid_t[16];
17
18/* UUID Variant definitions */
19#define UUID_VARIANT_NCS 0
20#define UUID_VARIANT_DCE 1
21#define UUID_VARIANT_MICROSOFT 2
22#define UUID_VARIANT_OTHER 3
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28void LIBNETXMS_EXPORTABLE uuid_clear(uuid_t uu);
29int LIBNETXMS_EXPORTABLE uuid_compare(uuid_t uu1, uuid_t uu2);
30void LIBNETXMS_EXPORTABLE uuid_copy(uuid_t uu1, uuid_t uu2);
31void LIBNETXMS_EXPORTABLE uuid_generate(uuid_t out);
32int LIBNETXMS_EXPORTABLE uuid_is_null(uuid_t uu);
33
34#ifdef __cplusplus
35}
36#endif
37
38/*
39int uuid_parse(char *in, uuid_t uu);
40void uuid_unparse(uuid_t uu, char *out);
41*/
42
43#endif