comparison simtool/dispatch.c @ 108:e17940d7ce35

fc-simtool a38: support output redirection
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 Feb 2021 06:45:42 +0000
parents f1836c8d36cb
children 8a27f45bc1e6
comparison
equal deleted inserted replaced
107:f1836c8d36cb 108:e17940d7ce35
90 int minargs; 90 int minargs;
91 int maxargs; 91 int maxargs;
92 int allow_redir; 92 int allow_redir;
93 int (*func)(); 93 int (*func)();
94 } cmdtab[] = { 94 } cmdtab[] = {
95 {"a38", 1, 1, 0, cmd_a38}, 95 {"a38", 1, 1, 1, cmd_a38},
96 {"atr", 0, 0, 0, retrieve_atr}, 96 {"atr", 0, 0, 0, retrieve_atr},
97 {"change-chv1", 2, 2, 0, cmd_change_chv}, 97 {"change-chv1", 2, 2, 0, cmd_change_chv},
98 {"change-chv2", 2, 2, 0, cmd_change_chv}, 98 {"change-chv2", 2, 2, 0, cmd_change_chv},
99 {"change-pin1", 2, 2, 0, cmd_change_chv}, 99 {"change-pin1", 2, 2, 0, cmd_change_chv},
100 {"change-pin2", 2, 2, 0, cmd_change_chv}, 100 {"change-pin2", 2, 2, 0, cmd_change_chv},