repositories
/
mTask.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
nodeMCU client is working
[mTask.git]
/
client
/
sds.h
1
#ifndef SDS_H
2
#define SDS_H
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
#include <stdbool.h>
9
10
struct
sds
{
11
int
id
;
12
bool
used
;
13
char
type
;
14
int
value
;
15
};
16
17
void
sds_init
(
void
);
18
void
sds_register
(
void
);
19
void
sds_delete
(
void
);
20
bool
sds_update
(
void
);
21
void
sds_publish
(
int
id
);
22
int
sds_fetch
(
int
id
);
23
void
sds_store
(
int
id
,
int
val
);
24
25
#ifdef __cplusplus
26
}
27
#endif
28
#endif