/* Looks and finds the function for the command string.  */
msUartCPFun Cli_FindCommandFunction(uint8_t *cmd)
/* Looks and finds the function for the command string.  */
msUartCPFun Cli_FindCommandFunction(uint8_t *cmd)
{
	msUartCPFun	fp = NULL;
	int32_t		i;
	i = 0;
	while (urtMonCmdFun[i] != NULL) {
		if (strncmp((const char*)cmd, (const char*)kwnUrtMonCmd[i], UART_CMD_LENGTH) == 0) {
			fp = urtMonCmdFun[i];
			break;
		}
		i++;
	}
	return fp;
}