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
|
|
@ -324,6 +324,18 @@ int xcecli_clusterconf(xcecli_ctx_t c, xce_clusterconf_t** conf)
|
|||
xce_clusterconf(&(ctx->ctx), conf));
|
||||
}
|
||||
|
||||
int xcecli_ctrlstatus(xcecli_ctx_t c, xce_ctrlstatus_t** status)
|
||||
{
|
||||
api_ctx_t* ctx = (api_ctx_t*)c;
|
||||
|
||||
if (c == NULL) {
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
return XCECLI_FAILOVER_CALL(ctx, /*is_write=*/false,
|
||||
xce_ctrlstatus(&(ctx->ctx), status));
|
||||
}
|
||||
|
||||
int xcecli_notify_jobfinish(xcecli_ctx_t c, xce_jobfinish_t* jfinish)
|
||||
{
|
||||
api_ctx_t* ctx = (api_ctx_t*)c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue