diff uicc/dispatch.c @ 137:c331560c15a4

fc-uicc-tool: dir command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 04 Feb 2021 04:27:09 +0000
parents a21d348e01db
children baf5bd698764
line wrap: on
line diff
--- a/uicc/dispatch.c	Thu Feb 04 03:40:55 2021 +0000
+++ b/uicc/dispatch.c	Thu Feb 04 04:27:09 2021 +0000
@@ -8,6 +8,7 @@
 #include <strings.h>
 #include <stdlib.h>
 
+extern int cmd_dir();
 extern int cmd_exec();
 extern int cmd_iccid();
 extern int cmd_pb_dump();
@@ -26,6 +27,7 @@
 	int maxargs;
 	int (*func)();
 } cmdtab[] = {
+	{"dir", 0, 0, cmd_dir},
 	{"exec", 1, 1, cmd_exec},
 	{"exit", 0, 0, good_exit},
 	{"iccid", 0, 0, cmd_iccid},