xmlNodePtr event = create_xml_node(NULL, XML_CIB_TAG_STATE);
crm_data_t *event = create_xml_node(NULL, XML_CIB_TAG_STATE);
create_shutdown_event(const char *node, int op_status){	xmlNodePtr event = create_xml_node(NULL, XML_CIB_TAG_STATE);	char *code = crm_itoa(op_status);	set_xml_property_copy(event, XML_LRM_ATTR_TARGET, node);/*	event_rsc    = set_xml_property_copy(event, XML_ATTR_ID); */	set_xml_property_copy(event, XML_LRM_ATTR_RC, "0");	set_xml_property_copy(		event, XML_LRM_ATTR_LASTOP, XML_CIB_ATTR_SHUTDOWN);	set_xml_property_copy(		event, XML_LRM_ATTR_RSCSTATE, CRMD_RSCSTATE_GENERIC_OK);	set_xml_property_copy(event, XML_LRM_ATTR_OPSTATUS, code);		crm_free(code);	return event;}