1 #ifndef _LIBINTL_H 2 #define _LIBINTL_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 #define __USE_GNU_GETTEXT 1 9 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 1 : -1) 10 11 #if __GNUC__ >= 3 12 #define __fa(n) __attribute__ ((__format_arg__ (n))) 13 #else 14 #define __fa(n) 15 #endif 16 17 char *gettext(const char *) __fa(1); 18 char *dgettext(const char *, const char *) __fa(2); 19 char *dcgettext(const char *, const char *, int) __fa(2); 20 char *ngettext(const char *, const char *, unsigned long) __fa(1) __fa(2); 21 char *dngettext(const char *, const char *, const char *, unsigned long) __fa(2) __fa(3); 22 char *dcngettext(const char *, const char *, const char *, unsigned long, int) __fa(2) __fa(3); 23 char *textdomain(const char *); 24 char *bindtextdomain (const char *, const char *); 25 char *bind_textdomain_codeset(const char *, const char *); 26 27 #undef __fa 28 29 #ifdef __cplusplus 30 } 31 #endif 32 33 #endif 34