comparison uicc/dispatch.c @ 106:dcfec53643c5

EF_DIR dump commands support output redirection
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 Feb 2021 06:24:06 +0000
parents 16481db543e8
children f1836c8d36cb
comparison
equal deleted inserted replaced
105:16481db543e8 106:dcfec53643c5
32 int maxargs; 32 int maxargs;
33 int allow_redir; 33 int allow_redir;
34 int (*func)(); 34 int (*func)();
35 } cmdtab[] = { 35 } cmdtab[] = {
36 {"atr", 0, 0, 0, retrieve_atr}, 36 {"atr", 0, 0, 0, retrieve_atr},
37 {"dir", 0, 0, 0, cmd_dir}, 37 {"dir", 0, 0, 1, cmd_dir},
38 {"exec", 1, 1, 0, cmd_exec}, 38 {"exec", 1, 1, 0, cmd_exec},
39 {"exit", 0, 0, 0, good_exit}, 39 {"exit", 0, 0, 0, good_exit},
40 {"iccid", 0, 0, 0, cmd_iccid}, 40 {"iccid", 0, 0, 0, cmd_iccid},
41 {"quit", 0, 0, 0, good_exit}, 41 {"quit", 0, 0, 0, good_exit},
42 {"readbin", 2, 2, 0, cmd_readbin}, 42 {"readbin", 2, 2, 0, cmd_readbin},