9962091e |
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 | //----------------------------------------------------------------------------- |
10 | |
11 | #ifndef CMDCRC_H__ |
12 | #define CMDCRC_H__ |
13 | |
14 | int CmdCrc(const char *Cmd); |
60e86577 |
15 | |
99789601 |
16 | int CmdrevengSearch(const char *Cmd); |
17 | int GetModels(char *Models[], int *count, uint8_t *width); |
60e86577 |
18 | int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *result); |
9962091e |
19 | #endif |