comparison simtool/dispatch.c @ 126:7faec607500f

rehab-{imsi,loci} commands implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 20 Feb 2021 19:37:52 +0000
parents e5d534fa5924
children 7305f2e63d66
comparison
equal deleted inserted replaced
125:e5d534fa5924 126:7faec607500f
52 extern int cmd_pnn_dump(); 52 extern int cmd_pnn_dump();
53 extern int cmd_readbin(); 53 extern int cmd_readbin();
54 extern int cmd_readef(); 54 extern int cmd_readef();
55 extern int cmd_readrec(); 55 extern int cmd_readrec();
56 extern int cmd_rehab_adn(); 56 extern int cmd_rehab_adn();
57 extern int cmd_rehab_imsi();
58 extern int cmd_rehab_loci();
57 extern int cmd_restore_file(); 59 extern int cmd_restore_file();
58 extern int cmd_savebin(); 60 extern int cmd_savebin();
59 extern int cmd_save_sms_bin(); 61 extern int cmd_save_sms_bin();
60 extern int cmd_select(); 62 extern int cmd_select();
61 extern int cmd_sim_resp(); 63 extern int cmd_sim_resp();
160 {"quit", 0, 0, 0, good_exit}, 162 {"quit", 0, 0, 0, good_exit},
161 {"readbin", 2, 2, 1, cmd_readbin}, 163 {"readbin", 2, 2, 1, cmd_readbin},
162 {"readef", 1, 1, 1, cmd_readef}, 164 {"readef", 1, 1, 1, cmd_readef},
163 {"readrec", 1, 2, 1, cmd_readrec}, 165 {"readrec", 1, 2, 1, cmd_readrec},
164 {"rehab-adn", 0, 0, 0, cmd_rehab_adn}, 166 {"rehab-adn", 0, 0, 0, cmd_rehab_adn},
167 {"rehab-imsi", 0, 0, 0, cmd_rehab_imsi},
168 {"rehab-loci", 0, 0, 0, cmd_rehab_loci},
165 {"restore-file", 2, 2, 0, cmd_restore_file}, 169 {"restore-file", 2, 2, 0, cmd_restore_file},
166 {"savebin", 2, 2, 0, cmd_savebin}, 170 {"savebin", 2, 2, 0, cmd_savebin},
167 {"save-sms-bin", 1, 1, 0, cmd_save_sms_bin}, 171 {"save-sms-bin", 1, 1, 0, cmd_save_sms_bin},
168 {"select", 1, 1, 0, cmd_select}, 172 {"select", 1, 1, 0, cmd_select},
169 {"sim-resp", 0, 0, 1, cmd_sim_resp}, 173 {"sim-resp", 0, 0, 1, cmd_sim_resp},