diff rvinterf/etmsync/fscmdtab.c @ 276:909f00c15f27

more fc-fsio foundation
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 23 Feb 2014 21:31:30 +0000
parents
children f77480d3dd21
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rvinterf/etmsync/fscmdtab.c	Sun Feb 23 21:31:30 2014 +0000
@@ -0,0 +1,14 @@
+/*
+ * fc-fsio command dispatch table
+ */
+
+#include "cmdtab.h"
+
+extern int cmd_exec();
+extern int cmd_exit();
+
+struct cmdtab cmdtab[] = {
+	{"exec", 1, 1, cmd_exec},
+	{"exit", 0, 0, cmd_exit},
+	{0, 0, 0, 0}
+};