textual
[RRG-proxmark3.git] / client / src / cmdcrc.h
blob957cd1eec54e669a6e3a1a8b5b8750f3858d2c41
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2015 iceman <iceman at iuse.se>
3 //
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
6 // the license.
7 //-----------------------------------------------------------------------------
8 // CRC Calculations from the software reveng commands
9 //-----------------------------------------------------------------------------
11 #ifndef CMDCRC_H__
12 #define CMDCRC_H__
14 #include "common.h"
16 int CmdCrc(const char *Cmd);
18 int GetModels(char *Models[], int *count, uint8_t *width);
19 int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *result);
20 #endif