set_uuid(fsa_cluster_conn, xml_state, XML_ATTR_UUID, fsa_our_uname); set_xml_property_copy(xml_state, XML_ATTR_UNAME, fsa_our_uname);
do_lrm_query(gboolean is_replace){	crm_data_t *xml_result= NULL;	crm_data_t *xml_state = create_xml_node(NULL, XML_CIB_TAG_STATE);	crm_data_t *xml_data  = create_xml_node(xml_state, XML_CIB_TAG_LRM);	crm_data_t *rsc_list  = create_xml_node(xml_data,XML_LRM_TAG_RESOURCES);	/* Build a list of active (not always running) resources */	build_active_RAs(rsc_list);	if(is_replace) {		set_xml_property_copy(			xml_state, XML_CIB_ATTR_REPLACE, XML_CIB_TAG_LRM);	}	set_uuid(fsa_cluster_conn, xml_state, XML_ATTR_UUID, fsa_our_uname);	set_xml_property_copy(xml_state, XML_ATTR_UNAME, fsa_our_uname);	xml_result = create_cib_fragment(xml_state, NULL);	crm_log_xml_debug_3(xml_state, "Current state of the LRM");		return xml_result;}