source: trunk/third/librep/intl/intl-compat.c @ 15283

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