Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
72
cde/lib/DtHelp/CvStringI.h
Normal file
72
cde/lib/DtHelp/CvStringI.h
Normal file
@@ -0,0 +1,72 @@
|
||||
/* $XConsortium: CvStringI.h /main/3 1996/08/30 13:37:59 cde-hp $ */
|
||||
/************************************<+>*************************************
|
||||
****************************************************************************
|
||||
**
|
||||
** File: CvStringI.h
|
||||
**
|
||||
** Project: Cde DtHelp
|
||||
**
|
||||
** Description: Header file for CvString.c
|
||||
**
|
||||
**
|
||||
** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
|
||||
**
|
||||
** (c) Copyright 1993, 1994 Hewlett-Packard Company
|
||||
** (c) Copyright 1993, 1994 International Business Machines Corp.
|
||||
** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
|
||||
** (c) Copyright 1993, 1994 Novell, Inc.
|
||||
**
|
||||
**
|
||||
**
|
||||
****************************************************************************
|
||||
************************************<+>*************************************/
|
||||
#ifndef _DtCvStringI_h
|
||||
#define _DtCvStringI_h
|
||||
|
||||
/*****************************************************************************
|
||||
* Macro defines
|
||||
*****************************************************************************/
|
||||
#define _DtCvToLower(c) (('A' <= (c) && (c) <= 'Z') ? (c) + 'a' - 'A' : (c))
|
||||
|
||||
/*****************************************************************************
|
||||
* Extern defines
|
||||
*****************************************************************************/
|
||||
#if !defined(_AIX) && !defined(USL) || defined(__uxp__)
|
||||
#define _DtCvStrCaseCmp(s1,s2) strcasecmp(s1,s2)
|
||||
#endif /* _AIX or USL */
|
||||
|
||||
extern void **_DtCvAddPtrToArray (
|
||||
void **array,
|
||||
void *ptr);
|
||||
extern wchar_t _DtCvChar (
|
||||
const void *p1,
|
||||
int type,
|
||||
int count);
|
||||
extern int _DtCvFreeArray (void **array);
|
||||
extern int _DtCvStrcspn(
|
||||
const void *s1,
|
||||
const char *s2,
|
||||
int type,
|
||||
int *ret_len);
|
||||
extern int _DtCvStrLen (
|
||||
const void *p1,
|
||||
int type);
|
||||
extern void *_DtCvStrPtr (
|
||||
const void *p1,
|
||||
int type,
|
||||
int count);
|
||||
|
||||
#if defined(_AIX) || defined(USL) || defined(__uxp__)
|
||||
extern int _DtCvStrCaseCmp(
|
||||
const char *s1,
|
||||
const char *s2);
|
||||
#endif /* _AIX or USL */
|
||||
extern int _DtCvStrCaseCmpLatin1(
|
||||
const char *s1,
|
||||
const char *s2);
|
||||
extern int _DtCvStrNCaseCmpLatin1(
|
||||
const char *s1,
|
||||
const char *s2,
|
||||
size_t n);
|
||||
|
||||
#endif /* _DtCvStringI_h */
|
||||
Reference in New Issue
Block a user