allow building ipodpatcher / sansapatcher with MinGW.
[Rockbox.git] / tools / mi4.h
blobfa26f2ed5796a5a3ba5c0ce123a4eb4433ba2f5b
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2006 Dave Chapman
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef _MI4_H
21 #define _MI4_H
23 #define MI4_MAGIC_DEFAULT 0xec
24 #define MI4_MAGIC_R 0xfc
26 int mi4_encode(char *iname, char *oname, int version, int magic,
27 char *model, char *type);
29 #endif