24
|
1 |
/*
|
|
2 |
* Copyright (c) 2003 - 2004 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
/***************************************************************************
|
|
20 |
** File: cxml_str.h
|
|
21 |
** Purpose: Provides the interfaces to CXML string API
|
|
22 |
**************************************************************************/
|
|
23 |
|
|
24 |
#ifndef CXML_STR_H
|
|
25 |
#define CXML_STR_H
|
|
26 |
|
|
27 |
#warning The CXML API will be removed wk25. Please see http://wikis.in.nokia.com/Browser/APIMigration for more information
|
|
28 |
|
|
29 |
#ifdef __cplusplus
|
|
30 |
extern "C" {
|
|
31 |
#endif
|
|
32 |
|
|
33 |
/*
|
|
34 |
** Includes
|
|
35 |
*/
|
|
36 |
#include <xml/cxml/cxml_type_def.h>
|
|
37 |
|
|
38 |
CXML_Ucs2 CXML_Str_ToLower(const CXML_Ucs2 ch);
|
|
39 |
CXML_Ucs2 CXML_Str_ToUpper(const CXML_Ucs2 ch);
|
|
40 |
CXML_Int32 CXML_Str_Isspace(const CXML_Ucs2 ch);
|
|
41 |
CXML_Int32 CXML_Str_Isdigit(const CXML_Ucs2 ch);
|
|
42 |
CXML_Int32 CXML_Str_Isxdigit(const CXML_Ucs2 ch);
|
|
43 |
void CXML_Str_Delete(CXML_Ucs2 *string);
|
|
44 |
CXML_Int8*CXML_Str_CvtToAscii(const CXML_Ucs2 *string);
|
|
45 |
CXML_Uint32 CXML_Asc_strlen(const CXML_Int8 *s);
|
|
46 |
CXML_Ucs2 *CXML_Str_CvtFromAscii(const CXML_Int8 *string);
|
|
47 |
CXML_Int32 CXML_Str_StrcmpConst(const CXML_Ucs2 *string1,const CXML_Ucs2 *string2);
|
|
48 |
CXML_Int32 CXML_Str_Stricmp(const CXML_Ucs2 *string1,const CXML_Ucs2 *string2);
|
|
49 |
|
|
50 |
|
|
51 |
CXML_Int8 *CXML_Asc_strcpy(CXML_Int8 *s1, const CXML_Int8 *s2);
|
|
52 |
|
|
53 |
CXML_Int8 *CXML_Asc_strcat(CXML_Int8 *s1, const CXML_Int8 *s2);
|
|
54 |
|
|
55 |
CXML_Int8 *CXML_Asc_strncpy(CXML_Int8 *destination, const CXML_Int8 *source, const CXML_Uint32 count);
|
|
56 |
|
|
57 |
CXML_Int8 *CXML_Asc_strncat(CXML_Int8 *s1, const CXML_Int8 *s2,const CXML_Uint32 count);
|
|
58 |
|
|
59 |
|
|
60 |
#ifdef __cplusplus
|
|
61 |
} /* extern "C" */
|
|
62 |
#endif
|
|
63 |
|
|
64 |
#endif /* CXML_STR_H */
|