print_state(LOG_ERR);
print_state(LOG_WARNING);
send_abort(const char *text, crm_data_t *msg){		HA_Message *cmd = NULL;	if(msg != NULL) {		crm_info("Sending \"abort\" message... details follow");		crm_xml_info(msg, text);	} else {		crm_info("Sending \"abort\" message... %s", text);	}		print_state(LOG_ERR);	initialize_graph();	cmd = create_request(CRM_OP_TEABORT, NULL, NULL,			     CRM_SYSTEM_DC, CRM_SYSTEM_TENGINE, NULL);	ha_msg_add(cmd, "message", text);#ifdef TESTING	crm_log_message(LOG_ERR, cmd);	g_main_quit(mainloop);	return;#else	send_ipc_message(crm_ch, cmd);#endif	}