case action_notify: result = CRMD_ACTION_NOTIFY; break;
task2text(enum action_tasks task){	const char *result = "<unknown>";	switch(task)	{		case no_action:			result = "no_action";			break;		case stop_rsc:			result = CRMD_ACTION_STOP;			break;		case stopped_rsc:			result = CRMD_ACTION_STOPPED;			break;		case start_rsc:			result = CRMD_ACTION_START;			break;		case started_rsc:			result = CRMD_ACTION_STARTED;			break;		case shutdown_crm:			result = CRM_OP_SHUTDOWN;			break;		case stonith_node:			result = CRM_OP_FENCE;			break;		case monitor_rsc:			result = CRMD_ACTION_MON;			break;	}		return result;}