blob: 6ebb1fb3f86a76f2c3478e23c9f82c52796392ae [file] [log] [blame]
Thom Johansen8e20f022005-04-25 21:08:36 +00001/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2005 by Daniel Stenberg
11 *
Daniel Stenberg2acc0ac2008-06-28 18:10:04 +000012 * 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.
Thom Johansen8e20f022005-04-25 21:08:36 +000016 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22#include <tchar.h>
23#include <windows.h>
24
25#define TRUE 1
26#define FALSE 0
27
28#define BOOL unsigned int
29
30#define ESTF_SIZE 32
31
32enum striptype
33{
34 STRIP_NONE,
35 STRIP_HEADER_CHECKSUM,
36 STRIP_HEADER_CHECKSUM_ESTF
37};
38
39/* protos for iriver.c */
40int iriver_decode(TCHAR *infile, TCHAR *outfile, BOOL modify,
41 enum striptype stripmode );
42int iriver_encode(TCHAR *infile_name, TCHAR *outfile_name, BOOL modify );