comparison simtool/dispatch.c @ 168:afd6a805c518

simtool code: rename CHV1 {dis,en}able functions more consistently
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 26 Feb 2021 23:25:38 +0000
parents ca2e62a9691e
children e7e0d8c06654
comparison
equal deleted inserted replaced
167:ca2e62a9691e 168:afd6a805c518
12 extern int cmd_apdu(); 12 extern int cmd_apdu();
13 extern int cmd_bfsearch(); 13 extern int cmd_bfsearch();
14 extern int cmd_bfsearch_full(); 14 extern int cmd_bfsearch_full();
15 extern int cmd_cd(); 15 extern int cmd_cd();
16 extern int cmd_change_chv(); 16 extern int cmd_change_chv();
17 extern int cmd_disable_chv(); 17 extern int cmd_disable_chv1();
18 extern int cmd_disable_chv1_rpt(); 18 extern int cmd_disable_chv1_rpt();
19 extern int cmd_enable_chv(); 19 extern int cmd_enable_chv1();
20 extern int cmd_enable_chv1_rpt(); 20 extern int cmd_enable_chv1_rpt();
21 extern int cmd_envelope(); 21 extern int cmd_envelope();
22 extern int cmd_envelope_imm(); 22 extern int cmd_envelope_imm();
23 extern int cmd_exec(); 23 extern int cmd_exec();
24 extern int cmd_fix_sysmo_msisdn(); 24 extern int cmd_fix_sysmo_msisdn();
120 {"change-chv2", 2, 2, 0, cmd_change_chv}, 120 {"change-chv2", 2, 2, 0, cmd_change_chv},
121 {"change-pin1", 2, 2, 0, cmd_change_chv}, 121 {"change-pin1", 2, 2, 0, cmd_change_chv},
122 {"change-pin2", 2, 2, 0, cmd_change_chv}, 122 {"change-pin2", 2, 2, 0, cmd_change_chv},
123 {"cur-ef-inval", 0, 0, 0, current_ef_inval}, 123 {"cur-ef-inval", 0, 0, 0, current_ef_inval},
124 {"cur-ef-rehab", 0, 0, 0, current_ef_rehab}, 124 {"cur-ef-rehab", 0, 0, 0, current_ef_rehab},
125 {"disable-chv1", 1, 1, 0, cmd_disable_chv}, 125 {"disable-chv1", 1, 1, 0, cmd_disable_chv1},
126 {"disable-chv1-rpt", 1, 1, 0, cmd_disable_chv1_rpt}, 126 {"disable-chv1-rpt", 1, 1, 0, cmd_disable_chv1_rpt},
127 {"disable-pin1", 1, 1, 0, cmd_disable_chv}, 127 {"disable-pin1", 1, 1, 0, cmd_disable_chv1},
128 {"disable-pin1-rpt", 1, 1, 0, cmd_disable_chv1_rpt}, 128 {"disable-pin1-rpt", 1, 1, 0, cmd_disable_chv1_rpt},
129 {"enable-chv1", 1, 1, 0, cmd_enable_chv}, 129 {"enable-chv1", 1, 1, 0, cmd_enable_chv1},
130 {"enable-chv1-rpt", 1, 1, 0, cmd_enable_chv1_rpt}, 130 {"enable-chv1-rpt", 1, 1, 0, cmd_enable_chv1_rpt},
131 {"enable-pin1", 1, 1, 0, cmd_enable_chv}, 131 {"enable-pin1", 1, 1, 0, cmd_enable_chv1},
132 {"enable-pin1-rpt", 1, 1, 0, cmd_enable_chv1_rpt}, 132 {"enable-pin1-rpt", 1, 1, 0, cmd_enable_chv1_rpt},
133 {"envelope", 1, 1, 0, cmd_envelope}, 133 {"envelope", 1, 1, 0, cmd_envelope},
134 {"envelope-imm", 1, 1, 0, cmd_envelope_imm}, 134 {"envelope-imm", 1, 1, 0, cmd_envelope_imm},
135 {"exec", 1, 1, 0, cmd_exec}, 135 {"exec", 1, 1, 0, cmd_exec},
136 {"exit", 0, 0, 0, good_exit}, 136 {"exit", 0, 0, 0, good_exit},