complete linux interface and rename folder
[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 int value;
11 bool used;
12 };
13
14 void sds_init(void);
15 void sds_register(void);
16 bool sds_update(void);
17 void sds_publish(int id);
18 int sds_fetch(int id);
19 void sds_store(int id, int val);
20
21 #endif