1*3d8817e4Smiod /* intl-compat.c - Stub functions to call gettext functions from GNU gettext
2*3d8817e4Smiod Library.
3*3d8817e4Smiod Copyright (C) 1995 Software Foundation, Inc.
4*3d8817e4Smiod
5*3d8817e4Smiod This program is free software; you can redistribute it and/or modify
6*3d8817e4Smiod it under the terms of the GNU General Public License as published by
7*3d8817e4Smiod the Free Software Foundation; either version 2, or (at your option)
8*3d8817e4Smiod any later version.
9*3d8817e4Smiod
10*3d8817e4Smiod This program is distributed in the hope that it will be useful,
11*3d8817e4Smiod but WITHOUT ANY WARRANTY; without even the implied warranty of
12*3d8817e4Smiod MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13*3d8817e4Smiod GNU General Public License for more details.
14*3d8817e4Smiod
15*3d8817e4Smiod You should have received a copy of the GNU General Public License
16*3d8817e4Smiod along with this program; if not, write to the Free Software
17*3d8817e4Smiod Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
18*3d8817e4Smiod
19*3d8817e4Smiod #ifdef HAVE_CONFIG_H
20*3d8817e4Smiod # include <config.h>
21*3d8817e4Smiod #endif
22*3d8817e4Smiod
23*3d8817e4Smiod #include "libgettext.h"
24*3d8817e4Smiod
25*3d8817e4Smiod /* @@ end of prolog @@ */
26*3d8817e4Smiod
27*3d8817e4Smiod
28*3d8817e4Smiod #undef gettext
29*3d8817e4Smiod #undef dgettext
30*3d8817e4Smiod #undef dcgettext
31*3d8817e4Smiod #undef textdomain
32*3d8817e4Smiod #undef bindtextdomain
33*3d8817e4Smiod
34*3d8817e4Smiod
35*3d8817e4Smiod char *
bindtextdomain(domainname,dirname)36*3d8817e4Smiod bindtextdomain (domainname, dirname)
37*3d8817e4Smiod const char *domainname;
38*3d8817e4Smiod const char *dirname;
39*3d8817e4Smiod {
40*3d8817e4Smiod return bindtextdomain__ (domainname, dirname);
41*3d8817e4Smiod }
42*3d8817e4Smiod
43*3d8817e4Smiod
44*3d8817e4Smiod char *
dcgettext(domainname,msgid,category)45*3d8817e4Smiod dcgettext (domainname, msgid, category)
46*3d8817e4Smiod const char *domainname;
47*3d8817e4Smiod const char *msgid;
48*3d8817e4Smiod int category;
49*3d8817e4Smiod {
50*3d8817e4Smiod return dcgettext__ (domainname, msgid, category);
51*3d8817e4Smiod }
52*3d8817e4Smiod
53*3d8817e4Smiod
54*3d8817e4Smiod char *
dgettext(domainname,msgid)55*3d8817e4Smiod dgettext (domainname, msgid)
56*3d8817e4Smiod const char *domainname;
57*3d8817e4Smiod const char *msgid;
58*3d8817e4Smiod {
59*3d8817e4Smiod return dgettext__ (domainname, msgid);
60*3d8817e4Smiod }
61*3d8817e4Smiod
62*3d8817e4Smiod
63*3d8817e4Smiod char *
gettext(msgid)64*3d8817e4Smiod gettext (msgid)
65*3d8817e4Smiod const char *msgid;
66*3d8817e4Smiod {
67*3d8817e4Smiod return gettext__ (msgid);
68*3d8817e4Smiod }
69*3d8817e4Smiod
70*3d8817e4Smiod
71*3d8817e4Smiod char *
textdomain(domainname)72*3d8817e4Smiod textdomain (domainname)
73*3d8817e4Smiod const char *domainname;
74*3d8817e4Smiod {
75*3d8817e4Smiod return textdomain__ (domainname);
76*3d8817e4Smiod }
77