summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/irivertools/irivertools.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/irivertools/irivertools.h')
-rw-r--r--rbutil/rbutilqt/irivertools/irivertools.h55
1 files changed, 0 insertions, 55 deletions
diff --git a/rbutil/rbutilqt/irivertools/irivertools.h b/rbutil/rbutilqt/irivertools/irivertools.h
deleted file mode 100644
index 6d61300d79..0000000000
--- a/rbutil/rbutilqt/irivertools/irivertools.h
+++ /dev/null
@@ -1,55 +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 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
17 *
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
20 *
21 ****************************************************************************/
22
23
24#ifndef IRIVERTOOLS_H_INCLUDED
25#define IRIVERTOOLS_H_INCLUDED
26
27#include <QtCore>
28
29#include "md5sum.h"
30
31#define ESTF_SIZE 32
32
33struct sumpairs {
34 const char *unpatched;
35 const char *patched;
36};
37
38
39enum striptype
40{
41 STRIP_NONE,
42 STRIP_HEADER_CHECKSUM,
43 STRIP_HEADER_CHECKSUM_ESTF
44};
45
46/* protos for iriver.c */
47
48int intable(char *md5, struct sumpairs *table, int len);
49
50int mkboot(QString infile, QString outfile,QString bootloader,int origin);
51int iriver_decode(QString infile_name, QString outfile_name, unsigned int modify,
52 enum striptype stripmode);
53int iriver_encode(QString infile_name, QString outfile_name, unsigned int modify);
54
55#endif // IRIVERTOOLS_H_INCLUDED