/**************************************************************************** Name : ncs_eda_lib_req Description : This routine is exported to the external entities & is used to create & destroy the EDA library. Arguments : req_info - ptr to the request info Return Values : NCSCC_RC_SUCCESS/NCSCC_RC_FAILURE Notes : None ******************************************************************************/ uns32 ncs_eda_lib_req(NCS_LIB_REQ_INFO *req_info) { uns32 rc = NCSCC_RC_SUCCESS; switch (req_info->i_op) { case NCS_LIB_REQ_CREATE: rc = eda_create(&req_info->info.create); break; case NCS_LIB_REQ_DESTROY: eda_destroy(&req_info->info.destroy); break; default: break; } return rc; }
/**************************************************************************** Name : ncs_eda_lib_req Description : This routine is exported to the external entities & is used to create & destroy the EDA library. Arguments : req_info - ptr to the request info Return Values : NCSCC_RC_SUCCESS/NCSCC_RC_FAILURE Notes : None ******************************************************************************/ uint32_t ncs_eda_lib_req(NCS_LIB_REQ_INFO *req_info) { uint32_t rc = NCSCC_RC_SUCCESS; TRACE_ENTER(); switch (req_info->i_op) { case NCS_LIB_REQ_CREATE: rc = eda_create(&req_info->info.create); break; case NCS_LIB_REQ_DESTROY: eda_destroy(&req_info->info.destroy); break; default: break; } TRACE_LEAVE(); return rc; }