view rvinterf/etmsync/tmscmdtab.c @ 273:18a8fb3d845b

fc-tmsync: user command wrappers implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 16 Nov 2017 23:33:50 +0000
parents 20ed7a320b12
children f22874b351b7
line wrap: on
line source

/*
 * fc-tmsync command dispatch table
 */

#include "cmdtab.h"

extern int cmd_dieid();
extern int cmd_exec();
extern int cmd_exit();
extern int cmd_memdump();
extern int cmd_omemdump();

extern int get_pirelli_imei();

struct cmdtab cmdtab[] = {
	{"dieid", 0, 0, cmd_dieid},
	{"exec", 1, 1, cmd_exec},
	{"exit", 0, 0, cmd_exit},
	{"memdump", 2, 2, cmd_memdump},
	{"omemdump", 2, 2, cmd_omemdump},
	{"pirelli-get-imei", 0, 0, get_pirelli_imei},
	{0, 0, 0, 0}
};