2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: basic.h /main/3 1995/11/08 11:02:02 rswiston $ */
24 /* Copyright (c) 1986, 1987, 1988, 1989 Hewlett-Packard Co. */
25 /* Basic.h has a few very primitive #define's used by all MARKUP programs */
28 /* hpux protects stdio.h from multiple includes thru stdlib.h . */
33 typedef unsigned char LOGICAL;
35 /* End of String marker */
38 /* Integer null value marker */
41 /* 8-bit data characters */
42 typedef unsigned char M_CHAR8;
45 typedef wchar_t M_WCHAR;
47 /* For function prototypes */
48 typedef char * M_POINTER;
49 #if defined(hpux) || defined(__aix) || defined(sun) || defined(USL) || defined(__uxp__)
62 char *MakeMByteString(
68 M_WCHAR *MakeWideCharString(
76 const M_WCHAR *string1, const M_WCHAR *string2
82 const M_WCHAR *string1, const M_WCHAR *string2, int max
88 M_WCHAR *string1, const M_WCHAR *string2
94 M_WCHAR *string1, const M_WCHAR *string2, int max
100 const M_WCHAR *string
106 M_WCHAR *string, const M_WCHAR chr
112 M_WCHAR *string1, M_WCHAR *string2
124 void *block, char *msg
130 const char *text, const M_WCHAR *arg1, const M_WCHAR *arg2