Don't recalculate the array length during the loop, use the ARRAYLEN macro and correc...
[kugel-rb.git] / apps / language.h
bloba35387cf4979897f7c5dbd8eef4dc63ffcad8ae0
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 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
19 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20 * KIND, either express or implied.
22 ****************************************************************************/
24 /* Initialize language array with the builtin strings */
25 void lang_init(void);
27 /* load a given language file */
28 int lang_load(const char *filename);
30 #endif