case A_TE_CANCEL: actionAsText = "A_TE_CANCEL"; break;
fsa_action2string(long long action){	const char *actionAsText = NULL;		switch(action){		case A_NOTHING:			actionAsText = "A_NOTHING";			break;		case O_SHUTDOWN:			actionAsText = "O_SHUTDOWN";			break;		case O_RELEASE:			actionAsText = "O_RELEASE";			break;		case A_STARTUP:			actionAsText = "A_STARTUP";			break;		case A_STARTED:			actionAsText = "A_STARTED";			break;		case A_HA_CONNECT:			actionAsText = "A_HA_CONNECT";			break;		case A_HA_DISCONNECT:			actionAsText = "A_HA_DISCONNECT";			break;		case A_LRM_CONNECT:			actionAsText = "A_LRM_CONNECT";			break;		case A_LRM_DISCONNECT:			actionAsText = "A_LRM_DISCONNECT";			break;		case O_DC_TIMER_RESTART:			actionAsText = "O_DC_TIMER_RESTART";			break;		case A_DC_TIMER_STOP:			actionAsText = "A_DC_TIMER_STOP";			break;		case A_DC_TIMER_START:			actionAsText = "A_DC_TIMER_START";			break;		case A_ELECTION_COUNT:			actionAsText = "A_ELECTION_COUNT";			break;		case A_ELECTION_TIMEOUT:			actionAsText = "A_ELECTION_TIMEOUT";			break;		case A_ELECT_TIMER_START:			actionAsText = "A_ELECT_TIMER_START";			break;		case A_ELECT_TIMER_STOP:			actionAsText = "A_ELECT_TIMER_STOP";			break;		case A_ELECTION_VOTE:			actionAsText = "A_ELECTION_VOTE";			break;		case A_ANNOUNCE:			actionAsText = "A_ANNOUNCE";			break;		case A_JOIN_ACK:			actionAsText = "A_JOIN_ACK";			break;		case A_JOIN_WELCOME:			actionAsText = "A_JOIN_WELCOME";			break;		case A_JOIN_WELCOME_ALL:			actionAsText = "A_JOIN_WELCOME_ALL";			break;		case A_JOIN_PROCESS_ACK:			actionAsText = "A_JOIN_PROCESS_ACK";			break;		case A_MSG_PROCESS:			actionAsText = "A_MSG_PROCESS";			break;		case A_MSG_ROUTE:			actionAsText = "A_MSG_ROUTE";			break;		case A_MSG_STORE:			actionAsText = "A_MSG_STORE";			break;		case A_RECOVER:			actionAsText = "A_RECOVER";			break;		case A_DC_RELEASE:			actionAsText = "A_DC_RELEASE";			break;		case A_DC_RELEASED:			actionAsText = "A_DC_RELEASED";			break;		case A_DC_TAKEOVER:			actionAsText = "A_DC_TAKEOVER";			break;		case A_SHUTDOWN:			actionAsText = "A_SHUTDOWN";			break;		case A_SHUTDOWN_REQ:			actionAsText = "A_SHUTDOWN_REQ";			break;		case A_STOP:			actionAsText = "A_STOP  ";			break;		case A_EXIT_0:			actionAsText = "A_EXIT_0";			break;		case A_EXIT_1:			actionAsText = "A_EXIT_1";			break;		case A_CCM_CONNECT:			actionAsText = "A_CCM_CONNECT";			break;		case A_CCM_DISCONNECT:			actionAsText = "A_CCM_DISCONNECT";			break;		case A_CCM_EVENT:			actionAsText = "A_CCM_EVENT";			break;		case A_CCM_UPDATE_CACHE:			actionAsText = "A_CCM_UPDATE_CACHE";			break;		case A_CIB_BUMPGEN:			actionAsText = "A_CIB_BUMPGEN";			break;		case A_CIB_INVOKE:			actionAsText = "A_CIB_INVOKE";			break;		case O_CIB_RESTART:			actionAsText = "O_CIB_RESTART";			break;		case A_CIB_START:			actionAsText = "A_CIB_START";			break;		case A_CIB_STOP:			actionAsText = "A_CIB_STOP";			break;		case A_TE_INVOKE:			actionAsText = "A_TE_INVOKE";			break;		case O_TE_RESTART:			actionAsText = "O_TE_RESTART";			break;		case A_TE_START:			actionAsText = "A_TE_START";			break;		case A_TE_STOP:			actionAsText = "A_TE_STOP";			break;		case A_TE_COPYTO:			actionAsText = "A_TE_COPYTO";			break;		case A_PE_INVOKE:			actionAsText = "A_PE_INVOKE";			break;		case O_PE_RESTART:			actionAsText = "O_PE_RESTART";			break;		case A_PE_START:			actionAsText = "A_PE_START";			break;		case A_PE_STOP:			actionAsText = "A_PE_STOP";			break;		case A_NODE_BLOCK:			actionAsText = "A_NODE_BLOCK";			break;		case A_UPDATE_NODESTATUS:			actionAsText = "A_UPDATE_NODESTATUS";			break;		case A_LOG:			actionAsText = "A_LOG   ";			break;		case A_ERROR:			actionAsText = "A_ERROR ";			break;		case A_WARN:			actionAsText = "A_WARN  ";			break;	}	if(actionAsText == NULL) {		cl_log(LOG_ERR, "Action %.16llx is unknown", action);		actionAsText = "<UNKNOWN_ACTION>";	}		return actionAsText;}