chiark / gitweb /
stupid test program now shares nmra code with to-be fancy one
[trains.git] / hostside / commands.c
1 /**/
2
3 #include "hostside.h"
4
5 #if 0
6 static void cmd_nmra_c(ParseState *ps, const CmdInfo *ci) {
7   
8 }
9 #endif
10
11 static void cmd_noop(ParseState *ps, const CmdInfo *ci) {
12   oprintf(&ps->cl->ch,"noop successful\n");
13 }
14
15 const CmdInfo toplevel_cmds[]= {
16 #if 0
17   { "nmra-cx",     cmd_nmra_c     }, /* eg nmra-c1 speed28 3 13 1 */
18   { "nmra-c1",     cmd_nmra_c, 1  },
19   { "nmra-hx",     cmd_nmra_h     },
20   { "nmra-h1",     cmd_nmra_h, 1  }, /* eg nmra-h1 0348 */
21   { "nmra-rx",     cmd_nmra_r     },
22   { "nmra-r1",     cmd_nmra_r, 1  }, /* eg nmra-r1 03484b */
23   { "pic",         cmd_pic        }, /* eg pic point 3 */
24   { "pic-raw",     cmd_pic_raw    }, /* pic-raw 7f7f00644197, pic-raw a003 */
25 #endif
26   { "noop",        cmd_noop       },
27   { 0 }
28 };