data_point.h
Go to the documentation of this file.
1 
9 #ifndef DATA_POINT_H_
10 #define DATA_POINT_H_
11 
12 #include "mcl_core/mcl_json_util.h"
13 
17 typedef struct mcl_data_point_t
18 {
19  char *id;
20  char *name;
21  char *description;
22  char *type;
23  char *unit;
25 } data_point_t;
26 
38 
39 #endif //DATA_POINT_H_
#define MCL_LOCAL
struct mcl_data_point_t mcl_data_point_t
char * id
Agent-unique identifier of the data point.
Definition: data_point.h:19
void mcl_json_t
mcl_int32_t mcl_error_t
char * name
Name of the data point.
Definition: data_point.h:20
MCL_LOCAL mcl_error_t data_point_validate(data_point_t *data_point)
Definition: data_point.c:92
char * description
Description of the data point.
Definition: data_point.h:21
char * unit
Measurement unit of the data point.
Definition: data_point.h:23
char * type
Type of the data point.
Definition: data_point.h:22
mcl_json_t * custom_data
Custom parameters for the data point.
Definition: data_point.h:24