annotate intl/gettextP.h @ 1565:88c0aabb4286 trunk

[svn] - remove static version
author nenolod
date Thu, 10 Aug 2006 20:41:43 -0700
parents 705d4c089fce
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
1 /* Header describing internals of libintl library.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
2 Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
3 Written by Ulrich Drepper <drepper@cygnus.com>, 1995.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
4
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
5 This program is free software; you can redistribute it and/or modify it
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
6 under the terms of the GNU Library General Public License as published
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
7 by the Free Software Foundation; either version 2, or (at your option)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
8 any later version.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
9
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
10 This program is distributed in the hope that it will be useful,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
13 Library General Public License for more details.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
14
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
15 You should have received a copy of the GNU Library General Public
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
16 License along with this program; if not, write to the Free Software
1459
705d4c089fce [svn] Fix postal code.
chainsaw
parents: 1458
diff changeset
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
18 USA. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
19
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
20 #ifndef _GETTEXTP_H
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
21 #define _GETTEXTP_H
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
22
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
23 #include <stddef.h> /* Get size_t. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
24
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
25 #ifdef _LIBC
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
26 # include "../iconv/gconv_int.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
27 #else
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
28 # if HAVE_ICONV
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
29 # include <iconv.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
30 # endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
31 #endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
32
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
33 #include "loadinfo.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
34
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
35 #include "gmo.h" /* Get nls_uint32. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
36
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
37 /* @@ end of prolog @@ */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
38
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
39 #ifndef PARAMS
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
40 # if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
41 # define PARAMS(args) args
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
42 # else
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
43 # define PARAMS(args) ()
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
44 # endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
45 #endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
46
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
47 #ifndef internal_function
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
48 # define internal_function
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
49 #endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
50
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
51 #ifndef attribute_hidden
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
52 # define attribute_hidden
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
53 #endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
54
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
55 /* Tell the compiler when a conditional or integer expression is
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
56 almost always true or almost always false. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
57 #ifndef HAVE_BUILTIN_EXPECT
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
58 # define __builtin_expect(expr, val) (expr)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
59 #endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
60
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
61 #ifndef W
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
62 # define W(flag, data) ((flag) ? SWAP (data) : (data))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
63 #endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
64
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
65
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
66 #ifdef _LIBC
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
67 # include <byteswap.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
68 # define SWAP(i) bswap_32 (i)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
69 #else
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
70 static inline nls_uint32
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
71 SWAP (i)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
72 nls_uint32 i;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
73 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
74 return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
75 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
76 #endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
77
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
78
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
79 /* In-memory representation of system dependent string. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
80 struct sysdep_string_desc
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
81 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
82 /* Length of addressed string, including the trailing NUL. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
83 size_t length;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
84 /* Pointer to addressed string. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
85 const char *pointer;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
86 };
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
87
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
88 /* The representation of an opened message catalog. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
89 struct loaded_domain
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
90 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
91 /* Pointer to memory containing the .mo file. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
92 const char *data;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
93 /* 1 if the memory is mmap()ed, 0 if the memory is malloc()ed. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
94 int use_mmap;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
95 /* Size of mmap()ed memory. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
96 size_t mmap_size;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
97 /* 1 if the .mo file uses a different endianness than this machine. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
98 int must_swap;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
99 /* Pointer to additional malloc()ed memory. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
100 void *malloced;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
101
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
102 /* Number of static strings pairs. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
103 nls_uint32 nstrings;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
104 /* Pointer to descriptors of original strings in the file. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
105 const struct string_desc *orig_tab;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
106 /* Pointer to descriptors of translated strings in the file. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
107 const struct string_desc *trans_tab;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
108
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
109 /* Number of system dependent strings pairs. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
110 nls_uint32 n_sysdep_strings;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
111 /* Pointer to descriptors of original sysdep strings. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
112 const struct sysdep_string_desc *orig_sysdep_tab;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
113 /* Pointer to descriptors of translated sysdep strings. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
114 const struct sysdep_string_desc *trans_sysdep_tab;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
115
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
116 /* Size of hash table. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
117 nls_uint32 hash_size;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
118 /* Pointer to hash table. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
119 const nls_uint32 *hash_tab;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
120 /* 1 if the hash table uses a different endianness than this machine. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
121 int must_swap_hash_tab;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
122
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
123 int codeset_cntr;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
124 #ifdef _LIBC
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
125 __gconv_t conv;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
126 #else
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
127 # if HAVE_ICONV
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
128 iconv_t conv;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
129 # endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
130 #endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
131 char **conv_tab;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
132
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
133 struct expression *plural;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
134 unsigned long int nplurals;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
135 };
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
136
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
137 /* We want to allocate a string at the end of the struct. But ISO C
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
138 doesn't allow zero sized arrays. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
139 #ifdef __GNUC__
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
140 # define ZERO 0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
141 #else
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
142 # define ZERO 1
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
143 #endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
144
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
145 /* A set of settings bound to a message domain. Used to store settings
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
146 from bindtextdomain() and bind_textdomain_codeset(). */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
147 struct binding
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
148 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
149 struct binding *next;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
150 char *dirname;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
151 int codeset_cntr; /* Incremented each time codeset changes. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
152 char *codeset;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
153 char domainname[ZERO];
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
154 };
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
155
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
156 /* A counter which is incremented each time some previous translations
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
157 become invalid.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
158 This variable is part of the external ABI of the GNU libintl. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
159 extern int _nl_msg_cat_cntr;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
160
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
161 #ifndef _LIBC
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
162 const char *_nl_locale_name PARAMS ((int category, const char *categoryname));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
163 #endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
164
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
165 struct loaded_l10nfile *_nl_find_domain PARAMS ((const char *__dirname,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
166 char *__locale,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
167 const char *__domainname,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
168 struct binding *__domainbinding))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
169 internal_function;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
170 void _nl_load_domain PARAMS ((struct loaded_l10nfile *__domain,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
171 struct binding *__domainbinding))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
172 internal_function;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
173 void _nl_unload_domain PARAMS ((struct loaded_domain *__domain))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
174 internal_function;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
175 const char *_nl_init_domain_conv PARAMS ((struct loaded_l10nfile *__domain_file,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
176 struct loaded_domain *__domain,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
177 struct binding *__domainbinding))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
178 internal_function;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
179 void _nl_free_domain_conv PARAMS ((struct loaded_domain *__domain))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
180 internal_function;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
181
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
182 char *_nl_find_msg PARAMS ((struct loaded_l10nfile *domain_file,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
183 struct binding *domainbinding,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
184 const char *msgid, size_t *lengthp))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
185 internal_function;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
186
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
187 #ifdef _LIBC
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
188 extern char *__gettext PARAMS ((const char *__msgid));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
189 extern char *__dgettext PARAMS ((const char *__domainname,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
190 const char *__msgid));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
191 extern char *__dcgettext PARAMS ((const char *__domainname,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
192 const char *__msgid, int __category));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
193 extern char *__ngettext PARAMS ((const char *__msgid1, const char *__msgid2,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
194 unsigned long int __n));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
195 extern char *__dngettext PARAMS ((const char *__domainname,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
196 const char *__msgid1, const char *__msgid2,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
197 unsigned long int n));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
198 extern char *__dcngettext PARAMS ((const char *__domainname,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
199 const char *__msgid1, const char *__msgid2,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
200 unsigned long int __n, int __category));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
201 extern char *__dcigettext PARAMS ((const char *__domainname,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
202 const char *__msgid1, const char *__msgid2,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
203 int __plural, unsigned long int __n,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
204 int __category));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
205 extern char *__textdomain PARAMS ((const char *__domainname));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
206 extern char *__bindtextdomain PARAMS ((const char *__domainname,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
207 const char *__dirname));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
208 extern char *__bind_textdomain_codeset PARAMS ((const char *__domainname,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
209 const char *__codeset));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
210 #else
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
211 /* Declare the exported libintl_* functions, in a way that allows us to
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
212 call them under their real name. */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
213 # define _INTL_REDIRECT_MACROS
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
214 # include "libgnuintl.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
215 extern char *libintl_dcigettext PARAMS ((const char *__domainname,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
216 const char *__msgid1,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
217 const char *__msgid2,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
218 int __plural, unsigned long int __n,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
219 int __category));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
220 #endif
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
221
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
222 /* @@ begin of epilog @@ */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
223
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
224 #endif /* gettextP.h */