]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/cmdcrc.c
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2015 iceman <iceman at iuse.se>
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
8 // CRC Calculations from the software reveng commands
9 //-----------------------------------------------------------------------------
13 #include "cmdparser.h"
15 //#include "reveng/reveng.h"
16 //#include "reveng/cli.h"
17 static int CmdHelp(const char *Cmd
);
19 int CmdCrcCalc(const char *Cmd
)
25 static command_t CommandTable
[] =
27 {"help", CmdHelp
, 1, "This help"},
28 {"calc", CmdCrcCalc
, 1, "{ Calculate CRC's }"},
32 int CmdCrc(const char *Cmd
)
34 CmdsParse(CommandTable
, Cmd
);
38 int CmdHelp(const char *Cmd
)
40 CmdsHelp(CommandTable
);