fix FS#9131 - line alingment was wong in the 160x128x16 cabbie wps for the progress...
[Rockbox.git] / tools / fwpatcher / iriver.h
blob6ebb1fb3f86a76f2c3478e23c9f82c52796392ae
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2005 by Daniel Stenberg
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #include <tchar.h>
23 #include <windows.h>
25 #define TRUE 1
26 #define FALSE 0
28 #define BOOL unsigned int
30 #define ESTF_SIZE 32
32 enum striptype
34 STRIP_NONE,
35 STRIP_HEADER_CHECKSUM,
36 STRIP_HEADER_CHECKSUM_ESTF
39 /* protos for iriver.c */
40 int iriver_decode(TCHAR *infile, TCHAR *outfile, BOOL modify,
41 enum striptype stripmode );
42 int iriver_encode(TCHAR *infile_name, TCHAR *outfile_name, BOOL modify );