Annotation of embedaddon/lrzsz/intl/intl-compat.c, revision 1.1

1.1     ! misho       1: /* intl-compat.c - Stub functions to call gettext functions from GNU gettext
        !             2:    Library.
        !             3:    Copyright (C) 1995 Software Foundation, Inc.
        !             4: 
        !             5: This program is free software; you can redistribute it and/or modify
        !             6: it under the terms of the GNU General Public License as published by
        !             7: the Free Software Foundation; either version 2, or (at your option)
        !             8: any later version.
        !             9: 
        !            10: This program is distributed in the hope that it will be useful,
        !            11: but WITHOUT ANY WARRANTY; without even the implied warranty of
        !            12: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            13: GNU General Public License for more details.
        !            14: 
        !            15: You should have received a copy of the GNU General Public License
        !            16: along with this program; if not, write to the Free Software
        !            17: Foundation, 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: 
        !            35: char *
        !            36: bindtextdomain (domainname, dirname)
        !            37:      const char *domainname;
        !            38:      const char *dirname;
        !            39: {
        !            40:   return bindtextdomain__ (domainname, dirname);
        !            41: }
        !            42: 
        !            43: 
        !            44: char *
        !            45: dcgettext (domainname, msgid, category)
        !            46:      const char *domainname;
        !            47:      const char *msgid;
        !            48:      int category;
        !            49: {
        !            50:   return dcgettext__ (domainname, msgid, category);
        !            51: }
        !            52: 
        !            53: 
        !            54: char *
        !            55: dgettext (domainname, msgid)
        !            56:      const char *domainname;
        !            57:      const char *msgid;
        !            58: {
        !            59:   return dgettext__ (domainname, msgid);
        !            60: }
        !            61: 
        !            62: 
        !            63: char *
        !            64: gettext (msgid)
        !            65:      const char *msgid;
        !            66: {
        !            67:   return gettext__ (msgid);
        !            68: }
        !            69: 
        !            70: 
        !            71: char *
        !            72: textdomain (domainname)
        !            73:      const char *domainname;
        !            74: {
        !            75:   return textdomain__ (domainname);
        !            76: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>