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 //-----------------------------------------------------------------------------
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
);