static void rwmsgbroker__component__instance_stop( RwTaskletPluginComponent *self, RwTaskletPluginComponentHandle *h_component, RwTaskletPluginInstanceHandle *h_instance) { rwmsgbroker_component_ptr_t component; rwmsgbroker_instance_ptr_t instance; // Validate input parameters component = (rwmsgbroker_component_ptr_t) h_component->priv; RW_CF_TYPE_VALIDATE(component, rwmsgbroker_component_ptr_t); instance = (rwmsgbroker_instance_ptr_t) h_instance->priv; RW_CF_TYPE_VALIDATE(instance, rwmsgbroker_instance_ptr_t); // The instance is started so print a debug message RWTRACE_WARN(instance->rwtasklet_info->rwtrace_instance, RWTRACE_CATEGORY_RWTASKLET, "RW.MsgBroker[%d] -- stop method undefined", instance->rwtasklet_info->identity.rwtasklet_instance_id); }
static void rwlogd__component__instance_stop( RwTaskletPluginComponent * self, RwTaskletPluginComponentHandle * h_component, RwTaskletPluginInstanceHandle * h_instance) { rwlogd_component_ptr_t component; rwlogd_instance_ptr_t instance; // Validate input parameters component = (rwlogd_component_ptr_t) h_component->priv; RW_CF_TYPE_VALIDATE(component, rwlogd_component_ptr_t); instance = (rwlogd_instance_ptr_t) h_instance->priv; RW_CF_TYPE_VALIDATE(instance, rwlogd_instance_ptr_t); rwmsg_clichan_halt(instance->cc); rwmsg_srvchan_halt(instance->sc); rwdts_api_deinit(instance->dts_h); RWTRACE_WARN(instance->rwtasklet_info->rwtrace_instance, RWTRACE_CATEGORY_RWTASKLET, "RW.Logd[%d] -- Stopping ", instance->rwtasklet_info->identity.rwtasklet_instance_id); }