de8342101b931b6e36c2bf82976155b7a5d8af05
[mTask.git] / client / sds.h
1 #ifndef SDS_H
2 #define SDS_H
3
4 #include <stdbool.h>
5
6 #define MAXSDSS 100
7
8 struct sds {
9 int id;
10 bool used;
11 char type;
12 int value;
13 };
14
15 void sds_init(void);
16 void sds_register(void);
17 void sds_delete(void);
18 bool sds_update(void);
19 void sds_publish(int id);
20 int sds_fetch(int id);
21 void sds_store(int id, int val);
22
23 #endif