"Fossies" - the Fresh Open Source Software Archive 
Member "schily-2021-09-18/sunpro/include/avo/intl.h" (15 Aug 2021, 2328 Bytes) of package /linux/privat/schily-2021-09-18.tar.bz2:
1 /*
2 * CDDL HEADER START
3 *
4 * This file and its contents are supplied under the terms of the
5 * Common Development and Distribution License ("CDDL"), version 1.0.
6 * You may use this file only in accordance with the terms of version
7 * 1.0 of the CDDL.
8 *
9 * A full copy of the text of the CDDL should have accompanied this
10 * source. A copy of the CDDL is also available via the Internet at
11 * http://www.opensource.org/licenses/cddl1.txt
12 * See the License for the specific language governing permissions
13 * and limitations under the License.
14 *
15 * When distributing Covered Code, include this CDDL HEADER in each
16 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 * If applicable, add the following below this CDDL HEADER, with the
18 * fields enclosed by brackets "[]" replaced with your own identifying
19 * information: Portions Copyright [yyyy] [name of copyright owner]
20 *
21 * CDDL HEADER END
22 */
23 /*
24 * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
25 * Use is subject to license terms.
26 */
27 /*
28 * @(#)intl.h 1.19 06/12/12
29 */
30
31 #pragma ident "@(#)intl.h 1.19 06/12/12"
32
33 /*
34 * Copyright 2017 J. Schilling
35 *
36 * @(#)intl.h 1.3 21/08/16 2017 J. Schilling
37 */
38
39 #ifndef _AVO_INTL_H
40 #define _AVO_INTL_H
41
42 #if defined(SUN4_x) || defined(HP_UX)
43 #include <avo/widefake.h>
44 #endif
45
46 #ifdef HP_UX
47 #ifdef __cplusplus
48 #ifndef _STDLIB_INCLUDED
49 #include <stdlib.h> /* for wchar_t definition and HP-UX - */
50 #endif /* wide character function prototypes. */
51 extern "C" {
52 char *gettext(char *msg);
53 char *dgettext(const char *, const char *);
54 char *bindtextdomain(const char *, const char *);
55 char *textdomain(char *);
56 }
57 #endif /* __cplusplus */
58 #endif
59
60 /*
61 * NOCATGETS is a dummy macro that returns it argument.
62 * It is used to identify strings that we consciously do not
63 * want to apply catgets() to. We have tools that check the
64 * sources for strings that are not catgets'd and the tools
65 * ignore strings that are NOCATGETS'd.
66 */
67 #define NOCATGETS(str) (str)
68
69 /*
70 * Define the various text domains
71 */
72 #define AVO_DOMAIN_CODEMGR "codemgr"
73 #define AVO_DOMAIN_VERTOOL "vertool"
74 #define AVO_DOMAIN_FILEMERGE "filemerge"
75 #define AVO_DOMAIN_DMAKE "dmake"
76 #define AVO_DOMAIN_PMAKE "pmake"
77 #define AVO_DOMAIN_FREEZEPOINT "freezept"
78 #define AVO_DOMAIN_MAKETOOL "maketool"
79
80 #endif