XROAD
xroad_node_types.h
Go to the documentation of this file.
1 
6 #pragma once
7 
9 #include <common/xroad_string.h>
10 #include <stdint.h>
11 
12 #ifdef __cplusplus
13 extern "C"
14 {
15 #endif
16 
20 #define XROAD_INIT_NODE_ID 1
21 
25 #define XROAD_NODE_COUNT_MAX 1024
26 
27 typedef uint64_t xroad_object_id_t;
28 
29 typedef uint16_t xroad_node_id_t;
30 
31 xroad_str_decl(xroad_node_name, 32u);
32 
33 xroad_str_decl(xroad_config_name, 32u);
34 
35 xroad_str_decl(xroad_group_name, 32u);
36 
37 xroad_str_decl(xroad_system_name, 32u);
38 
39 xroad_str_decl(xroad_link_name, 64u);
40 
41 xroad_str_decl(xroad_git_hash, 7u);
42 
43 xroad_str_decl(xroad_arch, 16u);
44 
45 #ifdef __cplusplus
46 }
47 #endif
#define xroad_str_decl(name, sz)
Definition: xroad_string.h:267