Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
result_output_types.h
1
/*
2
* Copyright (C) 2021 HAW Hamburg
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#ifndef RESULT_OUTPUT_TYPES_H
10
#define RESULT_OUTPUT_TYPES_H
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
#ifndef CONFIG_TURO_MAX_NESTING_LEVELS
17
#define CONFIG_TURO_MAX_NESTING_LEVELS 32
18
#endif
19
24
typedef
enum
{
25
TURO_STATE_UNKNOWN,
26
TURO_STATE_READY,
27
TURO_STATE_CONTAINER,
28
TURO_STATE_DICT_OPENED,
29
TURO_STATE_ARRAY_OPENED
30
} turo_state_t;
37
struct
turo
{
38
size_t
idx
;
39
turo_state_t
states
[CONFIG_TURO_MAX_NESTING_LEVELS];
40
};
41
42
#ifdef __cplusplus
43
}
44
#endif
45
#endif
/* RESULT_OUTPUT_TYPES_H */
turo
turo type
Definition
result_output_types.h:37
turo::states
turo_state_t states[CONFIG_TURO_MAX_NESTING_LEVELS]
state buffer
Definition
result_output_types.h:39
turo::idx
size_t idx
index for states
Definition
result_output_types.h:38
Generated on Sat Nov 23 2024 19:57:25 by
1.9.8