1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
11 * Copyright (C) 2007 Dominik Wenger
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.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
22 #ifndef IRIVERTOOLS_H_INCLUDED
23 #define IRIVERTOOLS_H_INCLUDED
28 #include "progressloggerinterface.h"
33 const char *unpatched
;
41 STRIP_HEADER_CHECKSUM
,
42 STRIP_HEADER_CHECKSUM_ESTF
45 /* protos for iriver.c */
47 int intable(char *md5
, struct sumpairs
*table
, int len
);
49 bool mkboot(QString infile
, QString outfile
,QString bootloader
,int origin
,ProgressloggerInterface
* dp
);
50 int iriver_decode(QString infile_name
, QString outfile_name
, unsigned int modify
,
51 enum striptype stripmode
,ProgressloggerInterface
* dp
);
52 int iriver_encode(QString infile_name
, QString outfile_name
, unsigned int modify
,ProgressloggerInterface
* dp
);
54 #endif // IRIVERTOOLS_H_INCLUDED