op = stop_action(incarnation_data->self, NULL); op->optional = !incarnation_data->child_stopping;
op = stop_action(incarnation_data->self, NULL, !incarnation_data->child_stopping);
void incarnation_create_actions(resource_t *rsc, pe_working_set_t *data_set){	action_t *op = NULL;	resource_t *last_start_rsc = NULL;	resource_t *last_stop_rsc = NULL;	incarnation_variant_data_t *incarnation_data = NULL;	get_incarnation_variant_data(incarnation_data, rsc);		slist_iter(		child_rsc, resource_t, incarnation_data->child_list, lpc,		child_rsc->fns->create_actions(child_rsc, data_set);		incarnation_update_pseudo_status(rsc, child_rsc);		if(child_rsc->starting) {			last_start_rsc = child_rsc;		}		if(child_rsc->stopping) {			last_stop_rsc = child_rsc;		}		);	op = start_action(incarnation_data->self, NULL);	op->optional = !incarnation_data->child_starting;	op->pseudo   = TRUE;		op = custom_action(incarnation_data->self, started_key(rsc),		      CRMD_ACTION_STARTED, NULL, data_set); 	op->optional = !incarnation_data->child_starting;	op->pseudo   = TRUE;	child_starting_constraints(		incarnation_data, pe_ordering_optional,		NULL, last_start_rsc, data_set);		op = stop_action(incarnation_data->self, NULL);	op->optional = !incarnation_data->child_stopping;	op->pseudo   = TRUE;	op = custom_action(incarnation_data->self, stopped_key(rsc),		      CRMD_ACTION_STOPPED, NULL, data_set); 	op->optional = !incarnation_data->child_stopping;	op->pseudo   = TRUE;	child_stopping_constraints(		incarnation_data, pe_ordering_optional,		NULL, last_stop_rsc, data_set);}