repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shares are dynamically allocated as well:)
[mTask.git]
/
client
/
sds.h
diff --git
a/client/sds.h
b/client/sds.h
index
f99bb1e
..
4d3a178
100644
(file)
--- a/
client/sds.h
+++ b/
client/sds.h
@@
-9,15
+9,13
@@
extern "C" {
struct sds {
int id;
struct sds {
int id;
- bool used;
- char type;
int value;
int value;
+ char type;
};
};
-void sds_init(void);
void sds_register(void);
void sds_register(void);
-void sds_delete(
void
);
-bool sds_update(
vo
id);
+void sds_delete(
uint8_t cs
);
+bool sds_update(
uint8_t
id);
void sds_publish(int id);
int sds_fetch(int id);
void sds_store(int id, int val);
void sds_publish(int id);
int sds_fetch(int id);
void sds_store(int id, int val);