X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e772353f72729f0dfc80a4d93c3a7bd2ac5ea775..b13fa4448f517b46e917c5145050f434d6df24d5:/client/cmdmain.c diff --git a/client/cmdmain.c b/client/cmdmain.c index 64e0c1b4..b6f32ada 100644 --- a/client/cmdmain.c +++ b/client/cmdmain.c @@ -24,6 +24,7 @@ #include "cmdlf.h" #include "cmdmain.h" #include "util.h" +#include "cmdscript.h" unsigned int current_command = CMD_UNKNOWN; @@ -51,6 +52,7 @@ static command_t CommandTable[] = {"hw", CmdHW, 1, "{ Hardware commands... }"}, {"lf", CmdLF, 1, "{ LF commands... }"}, {"quit", CmdQuit, 1, "Quit program"}, + {"script", CmdScript, 1,"Run script"}, {NULL, NULL, 0, NULL} }; @@ -65,8 +67,6 @@ int CmdQuit(const char *Cmd) exit(0); return 0; } -int getCommand(UsbCommand* response); -void storeCommand(UsbCommand *command); /** * Waits for a certain response type. This method waits for a maximum of * ms_timeout milliseconds for a specified response command.