FreeCalypso > hg > fc-pcsc-tools
comparison simtool/dispatch.c @ 76:0b29c0d19db4
fc-simtool: dump-lnd command renamed to lnd-dump
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 17 Feb 2021 01:10:15 +0000 |
parents | 8562d8508cf2 |
children | 702c2c40e51a |
comparison
equal
deleted
inserted
replaced
75:f661ad7eb126 | 76:0b29c0d19db4 |
---|---|
9 #include <stdlib.h> | 9 #include <stdlib.h> |
10 | 10 |
11 extern int cmd_a38(); | 11 extern int cmd_a38(); |
12 extern int cmd_change_chv(); | 12 extern int cmd_change_chv(); |
13 extern int cmd_disable_chv(); | 13 extern int cmd_disable_chv(); |
14 extern int cmd_dump_lnd(); | |
15 extern int cmd_enable_chv(); | 14 extern int cmd_enable_chv(); |
16 extern int cmd_exec(); | 15 extern int cmd_exec(); |
17 extern int cmd_fix_sysmo_msisdn(); | 16 extern int cmd_fix_sysmo_msisdn(); |
18 extern int cmd_grcard1_set_adm(); | 17 extern int cmd_grcard1_set_adm(); |
19 extern int cmd_grcard1_set_ki(); | 18 extern int cmd_grcard1_set_ki(); |
24 extern int cmd_grcard2_set_puk(); | 23 extern int cmd_grcard2_set_puk(); |
25 extern int cmd_grcard2_set_super(); | 24 extern int cmd_grcard2_set_super(); |
26 extern int cmd_grcard2_set_super_hex(); | 25 extern int cmd_grcard2_set_super_hex(); |
27 extern int cmd_iccid(); | 26 extern int cmd_iccid(); |
28 extern int cmd_imsi(); | 27 extern int cmd_imsi(); |
28 extern int cmd_lnd_dump(); | |
29 extern int cmd_opl_dump(); | 29 extern int cmd_opl_dump(); |
30 extern int cmd_pb_dump(); | 30 extern int cmd_pb_dump(); |
31 extern int cmd_pb_dump_rec(); | 31 extern int cmd_pb_dump_rec(); |
32 extern int cmd_pb_erase(); | 32 extern int cmd_pb_erase(); |
33 extern int cmd_pb_erase_one(); | 33 extern int cmd_pb_erase_one(); |
87 {"change-pin2", 2, 2, cmd_change_chv}, | 87 {"change-pin2", 2, 2, cmd_change_chv}, |
88 {"disable-chv", 1, 1, cmd_disable_chv}, | 88 {"disable-chv", 1, 1, cmd_disable_chv}, |
89 {"disable-chv1", 1, 1, cmd_disable_chv}, | 89 {"disable-chv1", 1, 1, cmd_disable_chv}, |
90 {"disable-pin", 1, 1, cmd_disable_chv}, | 90 {"disable-pin", 1, 1, cmd_disable_chv}, |
91 {"disable-pin1", 1, 1, cmd_disable_chv}, | 91 {"disable-pin1", 1, 1, cmd_disable_chv}, |
92 {"dump-lnd", 0, 0, cmd_dump_lnd}, | |
93 {"enable-chv", 1, 1, cmd_enable_chv}, | 92 {"enable-chv", 1, 1, cmd_enable_chv}, |
94 {"enable-chv1", 1, 1, cmd_enable_chv}, | 93 {"enable-chv1", 1, 1, cmd_enable_chv}, |
95 {"enable-pin", 1, 1, cmd_enable_chv}, | 94 {"enable-pin", 1, 1, cmd_enable_chv}, |
96 {"enable-pin1", 1, 1, cmd_enable_chv}, | 95 {"enable-pin1", 1, 1, cmd_enable_chv}, |
97 {"exec", 1, 1, cmd_exec}, | 96 {"exec", 1, 1, cmd_exec}, |
110 {"grcard2-set-puk2", 1, 1, cmd_grcard2_set_puk}, | 109 {"grcard2-set-puk2", 1, 1, cmd_grcard2_set_puk}, |
111 {"grcard2-set-super", 1, 1, cmd_grcard2_set_super}, | 110 {"grcard2-set-super", 1, 1, cmd_grcard2_set_super}, |
112 {"grcard2-set-super-hex", 1, 1, cmd_grcard2_set_super_hex}, | 111 {"grcard2-set-super-hex", 1, 1, cmd_grcard2_set_super_hex}, |
113 {"iccid", 0, 0, cmd_iccid}, | 112 {"iccid", 0, 0, cmd_iccid}, |
114 {"imsi", 0, 0, cmd_imsi}, | 113 {"imsi", 0, 0, cmd_imsi}, |
114 {"lnd-dump", 0, 0, cmd_lnd_dump}, | |
115 {"opl-dump", 0, 0, cmd_opl_dump}, | 115 {"opl-dump", 0, 0, cmd_opl_dump}, |
116 {"pb-dump", 1, 2, cmd_pb_dump}, | 116 {"pb-dump", 1, 2, cmd_pb_dump}, |
117 {"pb-dump-rec", 2, 3, cmd_pb_dump_rec}, | 117 {"pb-dump-rec", 2, 3, cmd_pb_dump_rec}, |
118 {"pb-erase", 1, 1, cmd_pb_erase}, | 118 {"pb-erase", 1, 1, cmd_pb_erase}, |
119 {"pb-erase-one", 2, 2, cmd_pb_erase_one}, | 119 {"pb-erase-one", 2, 2, cmd_pb_erase_one}, |