order_stop_stop(rsc_rh, rsc_lh); 
if(rsc_rh->restart_type == pe_restart_restart){ order_stop_stop(rsc_rh, rsc_lh, pe_ordering_recover); } order_stop_stop(rsc_rh, rsc_lh, pe_ordering_optional); 
unpack_rsc_order(crm_data_t * xml_obj, pe_working_set_t *data_set){	gboolean type_is_after    = TRUE;	gboolean action_is_start  = TRUE;	gboolean symmetrical_bool = TRUE;		const char *id     = crm_element_value(xml_obj, XML_ATTR_ID);	const char *type   = crm_element_value(xml_obj, XML_ATTR_TYPE);	const char *id_rh  = crm_element_value(xml_obj, XML_CONS_ATTR_TO);	const char *id_lh  = crm_element_value(xml_obj, XML_CONS_ATTR_FROM);	const char *action = crm_element_value(xml_obj, XML_CONS_ATTR_ACTION);	const char *symmetrical = crm_element_value(		xml_obj, XML_CONS_ATTR_SYMMETRICAL);	resource_t *rsc_lh   = pe_find_resource(data_set->resources, id_lh);	resource_t *rsc_rh   = pe_find_resource(data_set->resources, id_rh);	if(xml_obj == NULL) {		pe_err("No constraint object to process.");		return FALSE;	} else if(id == NULL) {		pe_err("%s constraint must have an id",			crm_element_name(xml_obj));		return FALSE;			} else if(rsc_lh == NULL || rsc_rh == NULL) {		pe_err("Constraint %s needs two sides lh: %p rh: %p"			" (NULL indicates missing side)",			id, rsc_lh, rsc_rh);		return FALSE;		}	crm_str_to_boolean(symmetrical, &symmetrical_bool);	if(safe_str_eq(type, "before")) {		type_is_after = FALSE;	}	if(safe_str_eq(action, task2text(stop_rsc))) {		action_is_start = FALSE;	}#if 1	if((type_is_after && action_is_start)	   || (type_is_after == FALSE && action_is_start == FALSE)){		if(symmetrical_bool || action_is_start == FALSE) {			order_stop_stop(rsc_lh, rsc_rh);		}				if(symmetrical_bool || action_is_start) {			order_start_start(rsc_rh, rsc_lh);		}	} else {		if(symmetrical_bool || action_is_start == FALSE) {			order_stop_stop(rsc_rh, rsc_lh);		}		if(symmetrical_bool || action_is_start) {			order_start_start(rsc_lh, rsc_rh);		}	}	#else		if(type_is_after) {		order_stop_stop(rsc_lh, rsc_rh);		order_start_start(rsc_rh, rsc_lh);	} else {		order_stop_stop(rsc_rh, rsc_lh);		order_start_start(rsc_lh, rsc_rh);	}#endif	return TRUE;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/30b69aa0ec9a0b9f92425e506c4644630504e1f5/unpack.c/clean/crm/pengine/unpack.c