summaryrefslogtreecommitdiff
path: root/src/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.h')
-rw-r--r--src/message.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/message.h b/src/message.h
index 383fa73..92e58ac 100644
--- a/src/message.h
+++ b/src/message.h
@@ -69,21 +69,20 @@ typedef struct {
typedef struct {
taskid_t id;
- char title[256];
+ std::string name;
+ std::string value;
} update_t;
typedef struct {
cmd::cmd_t cmd;
- union {
- observe_t observe;
- unobserve_t unobserve;
- create_t create;
- remove_t remove;
- move_t move;
- update_t update;
- };
+ observe_t observe;
+ unobserve_t unobserve;
+ create_t create;
+ remove_t remove;
+ move_t move;
+ update_t update;
TaskIdList nodes;