repositories
/
mTask.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
shares are now lenses
[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
int
value
;
13
char
type
;
14
};
15
16
void
sds_register
(
void
);
17
void
sds_delete
(
uint8_t
cs
);
18
bool
sds_update
(
uint8_t
id
);
19
void
sds_publish
(
int
id
);
20
int
sds_fetch
(
int
id
);
21
void
sds_store
(
int
id
,
int
val
);
22
23
#ifdef __cplusplus
24
}
25
#endif
26
#endif