-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrnkl_series.api
45 lines (38 loc) · 951 Bytes
/
brnkl_series.api
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
DEFINE N_MAX_RECORDS = 1000;
DEFINE MAX_KEY_SIZE = 500;
DEFINE MAX_STR_SIZE = 2048;
DEFINE MAX_STRLIST_SIZE = 20480;
FUNCTION le_result_t recordInt(
string key[MAX_KEY_SIZE] IN,
int32 value IN,
uint64 timestamp IN
);
FUNCTION le_result_t recordDouble(
string key[MAX_KEY_SIZE] IN,
double value IN,
uint64 timestamp IN
);
FUNCTION le_result_t recordString(
string key[MAX_KEY_SIZE] IN,
string value[MAX_STR_SIZE] IN,
uint64 timestamp IN
);
FUNCTION le_result_t getInt(
string key[MAX_KEY_SIZE] IN,
int32 value [N_MAX_RECORDS] OUT,
uint64 timestamps [N_MAX_RECORDS] OUT
);
FUNCTION le_result_t getDouble(
string key[MAX_KEY_SIZE] IN,
double value [N_MAX_RECORDS] OUT,
uint64 timestamps [N_MAX_RECORDS] OUT
);
FUNCTION le_result_t clear(
string key[MAX_KEY_SIZE] IN,
int32 clearAll IN,
uint32 size OUT
);
FUNCTION le_result_t getAllKeys(
string val[MAX_STRLIST_SIZE] OUT,
int32 types [N_MAX_RECORDS] OUT
);