fsa_cause2string(int cause)
fsa_cause2string(enum crmd_fsa_cause cause)
fsa_cause2string(int cause){	const char *causeAsText = NULL;		switch(cause){		case C_UNKNOWN:			causeAsText = "C_UNKNOWN";			break;		case C_STARTUP:			causeAsText = "C_STARTUP";			break;		case C_IPC_MESSAGE:			causeAsText = "C_IPC_MESSAGE";			break;		case C_HA_MESSAGE:			causeAsText = "C_HA_MESSAGE";			break;		case C_CCM_CALLBACK:			causeAsText = "C_CCM_CALLBACK";			break;		case C_TIMER_POPPED:			causeAsText = "C_TIMER_POPPED";			break;		case C_SHUTDOWN:			causeAsText = "C_SHUTDOWN";			break;		case C_HEARTBEAT_FAILED:			causeAsText = "C_HEARTBEAT_FAILED";			break;		case C_SUBSYSTEM_CONNECT:			causeAsText = "C_SUBSYSTEM_CONNECT";			break;		case C_ILLEGAL:			causeAsText = "C_ILLEGAL";			break;	}	if(causeAsText == NULL) {		cl_log(LOG_ERR, "Cause %d is unknown", cause);		causeAsText = "<UNKNOWN_CAUSE>";	}		return causeAsText;}