web_plat/cxml_library_api/inc/cxml_str.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Mar 2010 09:52:28 +0200
changeset 65 5bfc169077b2
parent 37 cb62a4f66ebe
child 74 91031d3aab7d
permissions -rw-r--r--
Revision: 201006 Kit: 201011

/*
* Copyright (c) 2003 - 2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/


/***************************************************************************
**   File: cxml_str.h
**   Purpose:  Provides the interfaces to CXML string API
**************************************************************************/

#ifndef CXML_STR_H
#define CXML_STR_H

#ifdef __cplusplus
extern "C" {
#endif

/*
** Includes
*/
#include "cxml_type_def.h"

CXML_Ucs2 CXML_Str_ToLower(const CXML_Ucs2 ch);
CXML_Ucs2 CXML_Str_ToUpper(const CXML_Ucs2 ch);
CXML_Int32 CXML_Str_Isspace(const CXML_Ucs2 ch);
CXML_Int32 CXML_Str_Isdigit(const CXML_Ucs2 ch);
CXML_Int32 CXML_Str_Isxdigit(const CXML_Ucs2 ch);
void CXML_Str_Delete(CXML_Ucs2 *string);
CXML_Int8*CXML_Str_CvtToAscii(const CXML_Ucs2 *string);
CXML_Uint32 CXML_Asc_strlen(const CXML_Int8 *s);
CXML_Ucs2 *CXML_Str_CvtFromAscii(const CXML_Int8 *string);
CXML_Int32 CXML_Str_StrcmpConst(const CXML_Ucs2 *string1,const CXML_Ucs2 *string2);
CXML_Int32 CXML_Str_Stricmp(const CXML_Ucs2 *string1,const CXML_Ucs2 *string2);


CXML_Int8 *CXML_Asc_strcpy(CXML_Int8 *s1, const CXML_Int8 *s2);

CXML_Int8 *CXML_Asc_strcat(CXML_Int8 *s1, const CXML_Int8 *s2);

CXML_Int8 *CXML_Asc_strncpy(CXML_Int8 *destination, const CXML_Int8 *source, const CXML_Uint32 count);

CXML_Int8 *CXML_Asc_strncat(CXML_Int8 *s1, const CXML_Int8 *s2,const CXML_Uint32 count);


#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /* CXML_STR_H */