ANSC_STATUS SlapEcoUoaUnbindObjDescriptor ( ANSC_HANDLE hThisObject, char* obj_name ) { ANSC_STATUS returnStatus = ANSC_STATUS_SUCCESS; PSLAP_ENV_CONTROLLER_OBJECT pMyObject = (PSLAP_ENV_CONTROLLER_OBJECT)hThisObject; PSLAP_OBJ_MAPPER_OBJECT pSlapObjMapper = (PSLAP_OBJ_MAPPER_OBJECT )pMyObject->hSlapObjMapper; returnStatus = pSlapObjMapper->DelObjEntity ( (ANSC_HANDLE)pSlapObjMapper, obj_name, TRUE ); return returnStatus; }
ANSC_STATUS SlapOmoPopObjEntity ( ANSC_HANDLE hThisObject, char* path ) { ANSC_STATUS returnStatus = ANSC_STATUS_SUCCESS; PSLAP_OBJ_MAPPER_OBJECT pMyObject = (PSLAP_OBJ_MAPPER_OBJECT )hThisObject; PSLAP_OBJ_MAPPER_PROPERTY pProperty = (PSLAP_OBJ_MAPPER_PROPERTY)&pMyObject->Property; PSLAP_OBJ_BROKER_OBJECT pRootObjBroker = (PSLAP_OBJ_BROKER_OBJECT )pMyObject->hRootObjBroker; PSLAP_OBJ_ENTITY_OBJECT pObjEntity = NULL; returnStatus = pMyObject->DelObjEntity ( (ANSC_HANDLE)pMyObject, path, FALSE ); return returnStatus; }