{
return AddParams(pszParams);
}
- else if ( strcmp(pszApiName, "HOS_MAX_ALMID") == 0 )
+ else if ( strcmp(pszApiName, "KERNEL_MAX_ALMID") == 0 )
{
int iId;
return CFG_ERR_OK;
}
- else if ( strcmp(pszApiName, "HOS_RES_ALMOBJ") == 0 )
+ else if ( strcmp(pszApiName, "KERNEL_RSV_ALMID") == 0 )
{
int iId;
- if ( m_iMaxId > 0 )
+ if ( m_iMaxId > 0 )
{
- return CFG_ERR_DEF_CONFLICT;
+ return CFG_ERR_DEF_CONFLICT;
}
- if ( (iId = atoi(pszParams)) <= 0 )
+ if ( (iId = atoi(pszParams)) <= 0 )
{
- return CFG_ERR_PARAM;
+ return CFG_ERR_PARAM;
}
- m_iResObj += iId;
+ m_iResObj += iId;
- return CFG_ERR_OK;
- }
+ return CFG_ERR_OK;
+ }
return CFG_ERR_NOPROC;
}