1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
11 * Copyright (C) 2007 Dominik Wenger
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.
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
21 ****************************************************************************/
24 #ifndef IRIVERTOOLS_H_INCLUDED
25 #define IRIVERTOOLS_H_INCLUDED
34 const char *unpatched
;
42 STRIP_HEADER_CHECKSUM
,
43 STRIP_HEADER_CHECKSUM_ESTF
46 /* protos for iriver.c */
48 int intable(char *md5
, struct sumpairs
*table
, int len
);
50 int mkboot(QString infile
, QString outfile
,QString bootloader
,int origin
);
51 int iriver_decode(QString infile_name
, QString outfile_name
, unsigned int modify
,
52 enum striptype stripmode
);
53 int iriver_encode(QString infile_name
, QString outfile_name
, unsigned int modify
);
55 #endif // IRIVERTOOLS_H_INCLUDED