summaryrefslogtreecommitdiff
path: root/src/message.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-06-06 18:32:11 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-06-06 18:32:11 +0200
commitfa5985ed620c3cd4c7b9712b6b80a2e2c1a8ba31 (patch)
tree39e1eff8ce28467536505d2ca58282492be5b1b5 /src/message.h
parent9e81fcd4bdb089b8f8a05c6fbb586ec2a2a14924 (diff)
Rename task to node everywhere.
Diffstat (limited to 'src/message.h')
-rw-r--r--src/message.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/message.h b/src/message.h
index bb56932..876631c 100644
--- a/src/message.h
+++ b/src/message.h
@@ -30,7 +30,7 @@
#include <list>
#include <string>
-#include "task.h"
+#include "node.h"
namespace cmd
{
@@ -59,34 +59,34 @@ typedef struct
typedef struct
{
- taskid_t id;
+ nodeid_t id;
} subscribe_t;
typedef struct
{
- taskid_t id;
+ nodeid_t id;
} unsubscribe_t;
typedef struct
{
- taskid_t id;
- taskid_t parentid;
+ nodeid_t id;
+ nodeid_t parentid;
} create_t;
typedef struct
{
- taskid_t id;
+ nodeid_t id;
} remove_t;
typedef struct
{
- taskid_t id;
- taskid_t parentid;
+ nodeid_t id;
+ nodeid_t parentid;
} move_t;
typedef struct
{
- taskid_t id;
+ nodeid_t id;
std::string attribute;
std::string value;
} update_t;
@@ -104,10 +104,10 @@ typedef struct
move_t move;
update_t update;
- TaskIdList nodes;
+ NodeIdList nodes;
// target node id (subscription node id) used for transmissions only.
- taskid_t tid;
+ nodeid_t tid;
} message_t;