crm_info("Resource state: %s %s " "[%s (rc=%s) after %s] on %s", rsc_id, rsc_state, op_status, last_rc, last_op, node_id);
dump_rsc_info(void){	xmlNodePtr local_cib = get_cib_copy();	xmlNodePtr root      = get_object_root(XML_CIB_TAG_STATUS, local_cib);	xmlNodePtr resources = NULL;	const char *rsc_id    = NULL;	const char *node_id   = NULL;	const char *rsc_state = NULL;	const char *op_status = NULL;	const char *last_rc   = NULL;	const char *last_op   = NULL;		const char *path[] = {		XML_CIB_TAG_LRM,		XML_LRM_TAG_RESOURCES	};	xml_child_iter(		root, node, XML_CIB_TAG_STATE,				resources = find_xml_node_nested(node, path, DIMOF(path));		xml_child_iter(			resources, rsc, XML_LRM_TAG_RESOURCE,			rsc_id    = xmlGetProp(rsc, XML_ATTR_ID);			node_id   = xmlGetProp(rsc, XML_LRM_ATTR_TARGET);			rsc_state = xmlGetProp(rsc, XML_LRM_ATTR_RSCSTATE);			op_status = xmlGetProp(rsc, XML_LRM_ATTR_OPSTATUS);			last_rc   = xmlGetProp(rsc, XML_LRM_ATTR_RC);			last_op   = xmlGetProp(rsc, XML_LRM_ATTR_LASTOP);			/* 			if(safe_str_eq(rsc_state, "stopped")) { *//* 				continue; *//* 			} */						crm_info("Resource state: %s %s "				 "[%s (rc=%s) after %s] on %s",				 rsc_id, rsc_state,				 op_status, last_rc, last_op, node_id);			);		);}