GVM User Suite
User tools for the GVM open source project.
types.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2022 2666680 Ontario Inc.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2
7  * of the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  *
18  */
19 #ifndef UTILS_TYPES_H
20 #define UTILS_TYPES_H
21 
22 #include <stdint.h>
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
32 struct UUID {
33  uint32_t time_low;
34  uint16_t time_mid;
37  uint8_t clock_seq_low;
38  uint8_t node[6];
39 };
40 
41 #ifdef __cplusplus
42 };
43 #endif
44 
45 #endif
UUID Data structure.
Definition: types.h:32
uint16_t time_mid
Definition: types.h:34
uint32_t time_low
Definition: types.h:33
uint8_t clock_seq_hi_and_reserved
Definition: types.h:36
uint8_t node[6]
Definition: types.h:38
uint16_t time_hi_and_version
Definition: types.h:35
uint8_t clock_seq_low
Definition: types.h:37