char *tmp = crm_itoa(status); set_xml_property_copy(iter, "op_status", tmp); cl_free(tmp);  tmp = crm_itoa(rc); set_xml_property_copy(iter, "op_code", tmp); cl_free(tmp);
do_update_resource(lrm_rsc_t *rsc, int status, int rc, const char *op_type){/*<status>    <nodes_status id=uname>        <lrm>	   <lrm_resources>	       <lrm_resource id=>	   </...>*/	xmlNodePtr update, iter;		update = create_xml_node(NULL, "node_state");	set_xml_property_copy(update, XML_ATTR_ID, fsa_our_uname);	iter = create_xml_node(update, "lrm");	iter = create_xml_node(iter, "lrm_resources");	iter = create_xml_node(iter, "lrm_resource");		set_xml_property_copy(iter, XML_ATTR_ID, rsc->id);//	set_xml_property_copy(iter, "op_status", status);//	set_xml_property_copy(iter, "op_code", rc);	set_xml_property_copy(iter, "last_op", op_type);	send_cib_status_update(update, FALSE);	free_xml(update);}