crm_err("Unknown value for %s: %s", "strength", strength); return FALSE;
unpack_rsc_to_rsc(xmlNodePtr xml_obj,		  GListPtr rsc_list,		  GListPtr *action_constraints){	const char *id_lh =  xmlGetProp(xml_obj, "from");	const char *id =  xmlGetProp(xml_obj, XML_ATTR_ID);	resource_t *rsc_lh = pe_find_resource(rsc_list, id_lh);	const char *id_rh = xmlGetProp(xml_obj, "to");	resource_t *rsc_rh = pe_find_resource(rsc_list, id_rh);	const char *strength = xmlGetProp(xml_obj, "strength");	const char *type = xmlGetProp(xml_obj, XML_ATTR_TYPE);	enum con_strength strength_e = ignore;	if(rsc_lh == NULL) {		crm_err("No resource (con=%s, rsc=%s)",		       id, id_lh);		return FALSE;	}	if(safe_str_eq(strength, XML_STRENGTH_VAL_MUST)) {		strength_e = must;			} else if(safe_str_eq(strength, XML_STRENGTH_VAL_SHOULD)) {		strength_e = should;			} else if(safe_str_eq(strength, XML_STRENGTH_VAL_SHOULDNOT)) {		strength_e = should_not;			} else if(safe_str_eq(strength, XML_STRENGTH_VAL_MUSTNOT)) {		strength_e = must_not;	} else {		// error	}	if(safe_str_eq(type, "ordering")) {		// make an action_cons instead		return create_ordering(			id, strength_e, rsc_lh, rsc_rh, action_constraints);	}	return create_rsc_to_rsc(id, strength_e, rsc_lh, rsc_rh);}