提交 72e123d1 编写于 作者: X xionglei6

fix: commitid

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 be9d1866
......@@ -307,6 +307,12 @@ int SystemGetParameterCommitId(ParamHandle handle, uint32_t *commitId)
return ReadParamCommitId(&g_clientSpace.paramSpace, handle, commitId);
}
long long GetSystemCommitId()
{
PARAM_CHECK(g_clientSpace.paramSpace.paramSpace.area != NULL, return 0, "The handle is null");
return g_clientSpace.paramSpace.paramSpace.area->commitId;
}
int SystemGetParameterName(ParamHandle handle, char *name, unsigned int len)
{
PARAM_CHECK(name != NULL && handle != 0, return -1, "The name is null");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册