nls.h
1 #ifndef NLS_H
2 #define NLS_H 1
3 
4 
5 /* ========================================================================== */
6 /* Include headers */
7 
8 #include "config.h"
9 
10 
11 /* ========================================================================== */
12 /* Variables */
13 
14 extern char nls_loc[6];
15 
16 
17 /*! \addtogroup NLS */
18 /*! @{ */
19 
20 
21 /* ========================================================================== */
22 /* Macros */
23 
24 /*! \brief Always remove NLS comments from code */
25 #define NLS_COMMENT(comment)
26 #if !CFG_USE_XSI || CFG_NLS_DISABLE
27 /*! \brief Leave default string in place if NLS is disabled */
28 # define NLS_STRING(string) string
29 #endif /* !CFG_USE_XSI || CFG_NLS_DISABLE */
30 
31 
32 /*! @} */
33 
34 
35 /* ========================================================================== */
36 /* Function prototypes */
37 
38 int nls_init(void);
39 void nls_exit(void);
40 const char* nls_getstring(int, const char*);
41 
42 
43 #endif /* NLS_H */
44 
45 /* EOF */
nls_getstring
const char * nls_getstring(int, const char *)
Get NLS string.
Definition: nls.c:480
nls_exit
void nls_exit(void)
Shutdown NLS subsystem.
Definition: nls.c:447
nls_loc
char nls_loc[6]
Current NLS locale.
Definition: nls.c:76
nls_init
int nls_init(void)
Init NLS subsystem.
Definition: nls.c:173

Generated at 2024-04-27 using  doxygen