Watt-32 tcp/ip  2.2 dev-rel.10
language.h
Go to the documentation of this file.
1 #ifndef _w32_LANGUAGE_H
2 #define _w32_LANGUAGE_H
3 
14 #if defined(USE_LANGUAGE)
15  extern void lang_init (const char *value);
16  extern const char *lang_xlate (const char *str);
17  #define _LANG(str) lang_xlate (str)
18 #else
19  #define _LANG(str) str
20 #endif
21 
22 /*
23  * __LANG() must be used for array string constants. This macro is used by
24  * the `mklang' to generate an entry in the language database.
25  */
26 #define __LANG(str) str
27 
28 #endif
void lang_init(const char *value)
Initialize the linked list for language.
Definition: lang.c:2389
const char * lang_xlate(const char *str)
Return foreign translation of string `str'.
Definition: lang.c:2461