diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-12-05 15:37:09 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-12-05 15:37:09 +0100 |
commit | c513e4db1cd7fdbecd59c6d385bc5f970827401e (patch) | |
tree | 9ad3b55e30bbfc04d879e35ee8158410886d333b /src/message.h | |
parent | 4781ca61960a86f2cae8191c0bdcbdae0acb5d1d (diff) |
Add login/logout.
Diffstat (limited to 'src/message.h')
-rw-r--r-- | src/message.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/message.h b/src/message.h index 92e58ac..6e1804d 100644 --- a/src/message.h +++ b/src/message.h @@ -41,11 +41,18 @@ namespace cmd { move, create, remove, - error + login, + logout, + error, } cmd_t; }; typedef struct { + std::string user; + std::string password; +} login_t; + +typedef struct { taskid_t id; } observe_t; @@ -83,6 +90,7 @@ typedef struct { remove_t remove; move_t move; update_t update; + login_t login; TaskIdList nodes; |