pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Macros
gettext.h File Reference
#include <string.h>
#include <stdlib.h>
Include dependency graph for gettext.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define gettext(Msgid)   ((const char *) (Msgid))
 
#define dgettext(Domainname, Msgid)   ((void) (Domainname), gettext (Msgid))
 
#define dcgettext(Domainname, Msgid, Category)   ((void) (Category), dgettext (Domainname, Msgid))
 
#define ngettext(Msgid1, Msgid2, N)
 
#define dngettext(Domainname, Msgid1, Msgid2, N)   ((void) (Domainname), ngettext (Msgid1, Msgid2, N))
 
#define dcngettext(Domainname, Msgid1, Msgid2, N, Category)   ((void) (Category), dngettext (Domainname, Msgid1, Msgid2, N))
 
#define textdomain(Domainname)   ((const char *) (Domainname))
 
#define bindtextdomain(Domainname, Dirname)   ((void) (Domainname), (const char *) (Dirname))
 
#define bind_textdomain_codeset(Domainname, Codeset)   ((void) (Domainname), (const char *) (Codeset))
 
#define gettext_noop(String)   String
 
#define GETTEXT_CONTEXT_GLUE   "\004"
 
#define pgettext(Msgctxt, Msgid)   pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)
 
#define dpgettext(Domainname, Msgctxt, Msgid)   pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)
 
#define dcpgettext(Domainname, Msgctxt, Msgid, Category)   pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category)
 
#define npgettext(Msgctxt, Msgid, MsgidPlural, N)   npgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES)
 
#define dnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N)   npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES)
 
#define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category)   npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category)
 
#define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS   0
 
#define pgettext_expr(Msgctxt, Msgid)   dcpgettext_expr (NULL, Msgctxt, Msgid, LC_MESSAGES)
 
#define dpgettext_expr(Domainname, Msgctxt, Msgid)   dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES)
 
#define npgettext_expr(Msgctxt, Msgid, MsgidPlural, N)   dcnpgettext_expr (NULL, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES)
 
#define dnpgettext_expr(Domainname, Msgctxt, Msgid, MsgidPlural, N)   dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES)
 

Macro Definition Documentation

◆ _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS

#define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS   0

Definition at line 190 of file gettext.h.

◆ bind_textdomain_codeset

#define bind_textdomain_codeset (   Domainname,
  Codeset 
)    ((void) (Domainname), (const char *) (Codeset))

Definition at line 90 of file gettext.h.

◆ bindtextdomain

#define bindtextdomain (   Domainname,
  Dirname 
)    ((void) (Domainname), (const char *) (Dirname))

Definition at line 87 of file gettext.h.

◆ dcgettext

#define dcgettext (   Domainname,
  Msgid,
  Category 
)    ((void) (Category), dgettext (Domainname, Msgid))

Definition at line 71 of file gettext.h.

◆ dcngettext

#define dcngettext (   Domainname,
  Msgid1,
  Msgid2,
  N,
  Category 
)    ((void) (Category), dngettext (Domainname, Msgid1, Msgid2, N))

Definition at line 82 of file gettext.h.

◆ dcnpgettext

#define dcnpgettext (   Domainname,
  Msgctxt,
  Msgid,
  MsgidPlural,
  N,
  Category 
)    npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category)

Definition at line 137 of file gettext.h.

◆ dcpgettext

#define dcpgettext (   Domainname,
  Msgctxt,
  Msgid,
  Category 
)    pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category)

Definition at line 126 of file gettext.h.

◆ dgettext

#define dgettext (   Domainname,
  Msgid 
)    ((void) (Domainname), gettext (Msgid))

Definition at line 69 of file gettext.h.

◆ dngettext

#define dngettext (   Domainname,
  Msgid1,
  Msgid2,
 
)    ((void) (Domainname), ngettext (Msgid1, Msgid2, N))

Definition at line 79 of file gettext.h.

◆ dnpgettext

#define dnpgettext (   Domainname,
  Msgctxt,
  Msgid,
  MsgidPlural,
 
)    npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES)

Definition at line 135 of file gettext.h.

◆ dnpgettext_expr

#define dnpgettext_expr (   Domainname,
  Msgctxt,
  Msgid,
  MsgidPlural,
 
)    dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES)

Definition at line 246 of file gettext.h.

◆ dpgettext

#define dpgettext (   Domainname,
  Msgctxt,
  Msgid 
)    pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)

Definition at line 124 of file gettext.h.

◆ dpgettext_expr

#define dpgettext_expr (   Domainname,
  Msgctxt,
  Msgid 
)    dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES)

Definition at line 199 of file gettext.h.

◆ gettext

#define gettext (   Msgid)    ((const char *) (Msgid))

Definition at line 67 of file gettext.h.

◆ GETTEXT_CONTEXT_GLUE

#define GETTEXT_CONTEXT_GLUE   "\004"

Definition at line 111 of file gettext.h.

◆ gettext_noop

#define gettext_noop (   String)    String

Definition at line 108 of file gettext.h.

◆ ngettext

#define ngettext (   Msgid1,
  Msgid2,
 
)
Value:
((N) == 1 \
? ((void) (Msgid2), (const char *) (Msgid1)) \
: ((void) (Msgid1), (const char *) (Msgid2)))

Definition at line 74 of file gettext.h.

◆ npgettext

#define npgettext (   Msgctxt,
  Msgid,
  MsgidPlural,
 
)    npgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES)

Definition at line 132 of file gettext.h.

◆ npgettext_expr

#define npgettext_expr (   Msgctxt,
  Msgid,
  MsgidPlural,
 
)    dcnpgettext_expr (NULL, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES)

Definition at line 244 of file gettext.h.

◆ pgettext

#define pgettext (   Msgctxt,
  Msgid 
)    pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)

Definition at line 121 of file gettext.h.

◆ pgettext_expr

#define pgettext_expr (   Msgctxt,
  Msgid 
)    dcpgettext_expr (NULL, Msgctxt, Msgid, LC_MESSAGES)

Definition at line 197 of file gettext.h.

◆ textdomain

#define textdomain (   Domainname)    ((const char *) (Domainname))

Definition at line 85 of file gettext.h.