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 librararies 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: CvStringI.h /main/3 1996/08/30 13:37:59 cde-hp $ */
24 /************************************<+>*************************************
25 ****************************************************************************
29 ** Project: Cde DtHelp
31 ** Description: Header file for CvString.c
34 ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
36 ** (c) Copyright 1993, 1994 Hewlett-Packard Company
37 ** (c) Copyright 1993, 1994 International Business Machines Corp.
38 ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
39 ** (c) Copyright 1993, 1994 Novell, Inc.
43 ****************************************************************************
44 ************************************<+>*************************************/
45 #ifndef _DtCvStringI_h
46 #define _DtCvStringI_h
48 /*****************************************************************************
50 *****************************************************************************/
51 #define _DtCvToLower(c) (('A' <= (c) && (c) <= 'Z') ? (c) + 'a' - 'A' : (c))
53 /*****************************************************************************
55 *****************************************************************************/
56 #if !defined(_AIX) && !defined(USL) || defined(__uxp__)
57 #define _DtCvStrCaseCmp(s1,s2) strcasecmp(s1,s2)
58 #endif /* _AIX or USL */
60 extern void **_DtCvAddPtrToArray (
63 extern wchar_t _DtCvChar (
67 extern int _DtCvFreeArray (void **array);
68 extern int _DtCvStrcspn(
73 extern int _DtCvStrLen (
76 extern void *_DtCvStrPtr (
81 #if defined(_AIX) || defined(USL) || defined(__uxp__)
82 extern int _DtCvStrCaseCmp(
85 #endif /* _AIX or USL */
86 extern int _DtCvStrCaseCmpLatin1(
89 extern int _DtCvStrNCaseCmpLatin1(
94 #endif /* _DtCvStringI_h */