diff options
Diffstat (limited to 'apps/language.h')
-rw-r--r-- | apps/language.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/apps/language.h b/apps/language.h index d8f899b573..14c8084a83 100644 --- a/apps/language.h +++ b/apps/language.h | |||
@@ -1,3 +1,5 @@ | |||
1 | #ifndef __LANGUAGE_H | ||
2 | #define __LANGUAGE_H | ||
1 | /*************************************************************************** | 3 | /*************************************************************************** |
2 | * __________ __ ___. | 4 | * __________ __ ___. |
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | 5 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
@@ -7,7 +9,7 @@ | |||
7 | * \/ \/ \/ \/ \/ | 9 | * \/ \/ \/ \/ \/ |
8 | * $Id$ | 10 | * $Id$ |
9 | * | 11 | * |
10 | * Copyright (C) 2002 Daniel Stenberg | 12 | * Copyright (C) 2002, 2008 Daniel Stenberg |
11 | * | 13 | * |
12 | * All files in this archive are subject to the GNU General Public License. | 14 | * 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 | * See the file COPYING in the source tree root for full license agreement. |
@@ -17,8 +19,10 @@ | |||
17 | * | 19 | * |
18 | ****************************************************************************/ | 20 | ****************************************************************************/ |
19 | 21 | ||
20 | /* size of the buffer used for loadable, translated strings */ | 22 | /* The following header is generated by the build system and only defines |
21 | #define MAX_LANGUAGE_SIZE 23500 | 23 | MAX_LANGUAGE_SIZE to be the size of the largest currently available |
24 | language! */ | ||
25 | #include "max_language_size.h" | ||
22 | 26 | ||
23 | /* both these must match the two initial bytes in the binary lang file */ | 27 | /* both these must match the two initial bytes in the binary lang file */ |
24 | #define LANGUAGE_COOKIE 0x1a | 28 | #define LANGUAGE_COOKIE 0x1a |
@@ -29,3 +33,5 @@ void lang_init(void); | |||
29 | 33 | ||
30 | /* load a given language file */ | 34 | /* load a given language file */ |
31 | int lang_load(const char *filename); | 35 | int lang_load(const char *filename); |
36 | |||
37 | #endif | ||