Get a good start on cleaning up powermgmt.c
[kugel-rb.git] / apps / language.h
blob14c8084a8333ccae3545b790d632ffdff124f038
1 #ifndef __LANGUAGE_H
2 #define __LANGUAGE_H
3 /***************************************************************************
4 * __________ __ ___.
5 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
6 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
7 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
8 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * \/ \/ \/ \/ \/
10 * $Id$
12 * Copyright (C) 2002, 2008 Daniel Stenberg
14 * All files in this archive are subject to the GNU General Public License.
15 * See the file COPYING in the source tree root for full license agreement.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 /* The following header is generated by the build system and only defines
23 MAX_LANGUAGE_SIZE to be the size of the largest currently available
24 language! */
25 #include "max_language_size.h"
27 /* both these must match the two initial bytes in the binary lang file */
28 #define LANGUAGE_COOKIE 0x1a
29 #define LANGUAGE_VERSION 0x04
31 /* Initialize language array with the builtin strings */
32 void lang_init(void);
34 /* load a given language file */
35 int lang_load(const char *filename);
37 #endif