convert to unix line endings.
[Rockbox.git] / tools / creative.h
bloba4ca9ce2da4ff6734d7891be9a410bf3c339bb59
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2008 by Maurus Cuelenaere
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 CREATIVE_H_
21 #define CREATIVE_H_
23 enum
25 ZENVISIONM = 0,
26 ZENVISIONM60 = 1,
27 ZENVISION = 2,
28 ZENV = 3,
29 ZEN = 4
32 struct device_info
34 const char* cinf; /*Must be Unicode encoded*/
35 const unsigned int cinf_size;
36 const char* null;
37 const unsigned char* bootloader;
38 const unsigned int bootloader_size;
39 const unsigned int memory_address;
42 int zvm_encode(char *iname, char *oname, int device);
44 #endif /*CREATIVE_H_*/