Back to index

glibc  2.9
Classes | Defines | Functions | Variables
gettextP.h File Reference
#include <stddef.h>
#include "loadinfo.h"
#include "gmo.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  converted_domain
struct  loaded_domain
struct  binding

Defines

#define attribute_hidden
#define __builtin_expect(expr, val)   (expr)
#define W(flag, data)   ((flag) ? SWAP (data) : (data))
#define ZERO   1

Functions

static nls_uint32 SWAP PARAMS ((nls_uint32 i))
const char *_nl_locale_name PARAMS ((int category, const char *categoryname))
struct loaded_l10nfile
*_nl_find_domain 
PARAMS ((const char *__dirname, char *__locale, const char *__domainname, struct binding *__domainbinding)) internal_function
void _nl_load_domain PARAMS ((struct loaded_l10nfile *__domain, struct binding *__domainbinding)) internal_function
char *_nl_find_msg PARAMS ((struct loaded_l10nfile *domain_file, struct binding *domainbinding, const char *msgid, int convert, size_t *lengthp)) internal_function
char *libintl_gettext PARAMS ((const char *__msgid))
char *libintl_dgettext PARAMS ((const char *__domainname, const char *__msgid))
char *libintl_dcgettext PARAMS ((const char *__domainname, const char *__msgid, int __category))
char *libintl_ngettext PARAMS ((const char *__msgid1, const char *__msgid2, unsigned long int __n))
char *libintl_dngettext PARAMS ((const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n))
char *libintl_dcngettext PARAMS ((const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n, int __category))
char *libintl_dcigettext PARAMS ((const char *__domainname, const char *__msgid1, const char *__msgid2, int __plural, unsigned long int __n, int __category))
char *libintl_textdomain PARAMS ((const char *__domainname))
char *libintl_bindtextdomain PARAMS ((const char *__domainname, const char *__dirname))
char
*libintl_bind_textdomain_codeset 
PARAMS ((const char *__domainname, const char *__codeset))

Variables

static nls_uint32 nls_uint32 i
int _nl_msg_cat_cntr

Class Documentation

struct converted_domain

Definition at line 95 of file gettextP.h.

Class Members
char ** conv_tab
const char * encoding
struct binding

Definition at line 166 of file gettextP.h.

Collaboration diagram for binding:
Class Members
char * codeset
char * dirname
char domainname
struct binding * next

Define Documentation

#define __builtin_expect (   expr,
  val 
)    (expr)

Definition at line 60 of file gettextP.h.

Definition at line 54 of file gettextP.h.

#define W (   flag,
  data 
)    ((flag) ? SWAP (data) : (data))

Definition at line 64 of file gettextP.h.

#define ZERO   1

Definition at line 161 of file gettextP.h.


Function Documentation

static nls_uint32 SWAP PARAMS ( (nls_uint32 i ) [static]
const char* _nl_locale_name PARAMS ( (int category, const char *categoryname )
struct loaded_l10nfile* _nl_find_domain PARAMS ( (const char *__dirname, char *__locale, const char *__domainname, struct binding *__domainbinding)  ) [read]
void _nl_load_domain PARAMS ( (struct loaded_l10nfile *__domain, struct binding *__domainbinding)  )
char* _nl_find_msg PARAMS ( (struct loaded_l10nfile *domain_file, struct binding *domainbinding, const char *msgid, int convert, size_t *lengthp )
char* libintl_gettext PARAMS ( (const char *__msgid )
char* libintl_dgettext PARAMS ( (const char *__domainname, const char *__msgid )
char* libintl_dcgettext PARAMS ( (const char *__domainname, const char *__msgid, int __category)  )
char* libintl_ngettext PARAMS ( (const char *__msgid1, const char *__msgid2, unsigned long int __n )
char* libintl_dngettext PARAMS ( (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n )
char* libintl_dcngettext PARAMS ( (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n, int __category)  )
char* libintl_dcigettext PARAMS ( (const char *__domainname, const char *__msgid1, const char *__msgid2, int __plural, unsigned long int __n, int __category)  )
char* libintl_textdomain PARAMS ( (const char *__domainname)  )
char* libintl_bindtextdomain PARAMS ( (const char *__domainname, const char *__dirname)  )
char* libintl_bind_textdomain_codeset PARAMS ( (const char *__domainname, const char *__codeset)  )

Variable Documentation

Definition at line 484 of file loadmsgcat.c.

Definition at line 76 of file gettextP.h.