summaryrefslogtreecommitdiff
path: root/rbutil/irivertools.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/irivertools.h')
-rwxr-xr-xrbutil/irivertools.h66
1 files changed, 0 insertions, 66 deletions
diff --git a/rbutil/irivertools.h b/rbutil/irivertools.h
deleted file mode 100755
index d646cf1d6c..0000000000
--- a/rbutil/irivertools.h
+++ /dev/null
@@ -1,66 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * Module: rbutil
9 * File: irivertools.h
10 *
11 * Copyright (C) 2007 Dominik Wenger
12 *
13 * All files in this archive are subject to the GNU General Public License.
14 * See the file COPYING in the source tree root for full license agreement.
15 *
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
18 *
19 ****************************************************************************/
20
21
22#ifndef IRIVERTOOLS_H_INCLUDED
23#define IRIVERTOOLS_H_INCLUDED
24
25#include "rbutil.h"
26#include "installlog.h"
27#include "md5sum.h"
28
29#define ESTF_SIZE 32
30
31struct sumpairs {
32 char *unpatched;
33 char *patched;
34};
35
36/* precalculated checksums for H110/H115 */
37static struct sumpairs h100pairs[] = {
38#include "h100sums.h"
39};
40
41/* precalculated checksums for H120/H140 */
42static struct sumpairs h120pairs[] = {
43#include "h120sums.h"
44};
45
46/* precalculated checksums for H320/H340 */
47static struct sumpairs h300pairs[] = {
48#include "h300sums.h"
49};
50
51
52enum striptype
53{
54 STRIP_NONE,
55 STRIP_HEADER_CHECKSUM,
56 STRIP_HEADER_CHECKSUM_ESTF
57};
58
59/* protos for iriver.c */
60
61int intable(char *md5, struct sumpairs *table, int len);
62
63bool PatchFirmware(wxString firmware,wxString bootloader,int series, int table_entry);
64
65
66#endif // IRIVERTOOLS_H_INCLUDED