diff rvinterf/etmsync/tmscmdtab.c @ 269:20ed7a320b12

fc-tmsync skeleton started
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 16 Nov 2017 18:43:52 +0000
parents
children f22874b351b7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rvinterf/etmsync/tmscmdtab.c	Thu Nov 16 18:43:52 2017 +0000
@@ -0,0 +1,23 @@
+/*
+ * 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}
+};