te_cib_conn, XML_CIB_TAG_STATUS,update,NULL,cib_none);
te_cib_conn, XML_CIB_TAG_STATUS, update, NULL, cib_quorum_override);
tengine_stonith_callback(stonith_ops_t * op, void * private_data){	int action_id = -1;		if(op == NULL) {		crm_err("Called with a NULL op!");		return;	}		crm_info("optype=%d, node_name=%s, result=%d, node_list=%s",		 op->optype, op->node_name, op->op_result,		 (char *)op->node_list);	/* this will mark the event complete if a match is found */	action_id = match_down_event(op->node_name, XML_CIB_ATTR_STONITH, op->op_result);		if(op->op_result == STONITH_SUCCEEDED) {		enum cib_errors rc = cib_ok;		const char *target = op->node_name;		const char *uuid   = op->node_uuid;				/* zero out the node-status & remove all LRM status info */		crm_data_t *update = NULL;		crm_data_t *node_state = create_xml_node(			NULL, XML_CIB_TAG_STATE);		CRM_DEV_ASSERT(op->node_name != NULL);		CRM_DEV_ASSERT(op->node_uuid != NULL);		set_xml_property_copy(node_state, XML_ATTR_UUID, uuid);		set_xml_property_copy(node_state, XML_ATTR_UNAME, target);		set_xml_property_copy(			node_state, XML_CIB_ATTR_HASTATE, DEADSTATUS);		set_xml_property_copy(			node_state, XML_CIB_ATTR_INCCM, XML_BOOLEAN_NO);		set_xml_property_copy(			node_state, XML_CIB_ATTR_CRMDSTATE, OFFLINESTATUS);		set_xml_property_copy(			node_state, XML_CIB_ATTR_JOINSTATE,CRMD_JOINSTATE_DOWN);		set_xml_property_copy(			node_state, XML_CIB_ATTR_EXPSTATE, CRMD_JOINSTATE_DOWN);		set_xml_property_copy(			node_state, XML_CIB_ATTR_REPLACE, XML_CIB_TAG_LRM);		create_xml_node(node_state, XML_CIB_TAG_LRM);				update = create_cib_fragment(node_state, NULL);		free_xml(node_state);			rc = te_cib_conn->cmds->modify(			te_cib_conn, XML_CIB_TAG_STATUS,update,NULL,cib_none);			if(action_id < 0) {			send_complete("Stonith not matched", update, te_update);		} else if(rc != cib_ok) {			send_complete("Couldnt update CIB after stonith",				      update, te_failed);					} else {			process_trigger(action_id);			check_for_completion();		}		free_xml(update);			} else {		send_complete("Fencing op failed", NULL, te_failed);	}}