feat(controller-status): libxce xcecli_ctrlstatus any-node read + decode + free (task 3.1)
This commit is contained in:
parent
e56409cbd4
commit
691cd9199e
12 changed files with 285 additions and 1 deletions
|
|
@ -75,6 +75,13 @@ static int handle_reply(xce_ctx_t* ctx, xce_reply_t* reply)
|
|||
rc = 1;
|
||||
}
|
||||
break;
|
||||
case OPCode_ctrlstatus:
|
||||
rc = -1;
|
||||
if (reply->data_which == RequestReply_data_ctrlstatus) {
|
||||
MOVE_PTR(ctx->reply.u.ctrlstatus, reply->data.ctrlstatus);
|
||||
rc = 1;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
rc = -ENOENT;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue