summaryrefslogtreecommitdiff
path: root/protocols/Sametime/src/glib/libintl.h
blob: 0569a4c1cefbf13e1b77dd779f6e2bcd7ac0ada4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*
 * Copyright (C) 2008 Tor Lillqvist
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; see the file COPYING.LIB.txt.  If
 * not, write to the Free Software Foundation, Inc., 51 Franklin
 * Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */

#ifndef _LIBINTL_H
#define _LIBINTL_H      1

#include <locale.h>

#ifndef LC_MESSAGES
# define LC_MESSAGES 1729       /* Use same value as in GNU gettext */
#endif

#ifdef __cplusplus
extern "C" {
#endif

extern char *gettext (const char *msgid);

extern char *dgettext (const char *domainname,
		       const char *msgid);

extern char *dcgettext (const char *domainname,
			const char *msgid,
			int         category);

extern char *ngettext (const char       *msgid1,
		       const char       *msgid2,
		       unsigned long int n);

extern char *dngettext (const char       *domainname,
			const char       *msgid1,
			const char       *msgid2,
			unsigned long int n);

extern char *dcngettext (const char       *domainname,
			 const char       *msgid1,
			 const char       *msgid2,
			 unsigned long int n,
			 int               category);

extern char *textdomain (const char *domainname);

extern char *bindtextdomain (const char *domainname,
                             const char *dirname);

extern char *bind_textdomain_codeset (const char *domainname,
				      const char *codeset);


#ifdef __cplusplus
}
#endif

#endif /* _LIBINTL_H */