update device name instead of record
[mTask.git] / client / sds.h
index 1cc5b3b..4179f47 100644 (file)
@@ -3,16 +3,16 @@
 
 #include <stdbool.h>
 
-#define MAXSDSS 100
-
 struct sds {
        int id;
-       int value;
        bool used;
+       char type;
+       int value;
 };
 
 void sds_init(void);
 void sds_register(void);
+void sds_delete(void);
 bool sds_update(void);
 void sds_publish(int id);
 int sds_fetch(int id);