DVBCore  1.0
Open source DVB engine
midware/stb/inc/stbuni.h File Reference

Header for STB unicode string handling routines. More...

Go to the source code of this file.

Defines

#define STB_UTF16_LEN_TO_BYTES_IN_STRING(x)   (((x) *2) + 3)
#define INVALID_UNICODE_CHAR   0xFFFF

Functions

U8BIT * STB_SetUnicodeStringChar (U8BIT *string_ptr, U16BIT char_id, U16BIT code)
U8BIT * STB_DeleteUnicodeStringChar (U8BIT *string_ptr, U16BIT char_id)
U32BIT STB_GetUnicodeStringChar (U8BIT *string_ptr, U16BIT char_id)
U8BIT * STB_ConcatUnicodeStrings (U8BIT *string1_ptr, U8BIT *string2_ptr)
U8BIT * STB_UnicodeStringTokenise (U8BIT *str, U8BIT **save_ptr)
U8BIT * STB_UnicodeStrStr (U8BIT *str1, U8BIT *str2, BOOLEAN ignore_case)
S8BIT STB_CompareUnicodeStrings (U8BIT *string1_ptr, U8BIT *string2_ptr, BOOLEAN exact_match, BOOLEAN ignore_case)
U8BIT * STB_ConvertStringToUnicode (U8BIT *string, BOOLEAN *reverse_dir, U16BIT *nchar, BOOLEAN strip_DVB_cntrl_char, U32BIT lang_code)
U8BIT * STB_ConvertStringToUTF8 (U8BIT *string, U16BIT *nchar, BOOLEAN strip_DVB_cntrl_char, U32BIT lang_code)
void STB_ReleaseUnicodeString (U8BIT *string)
U8BIT * STB_ConvertUTF16toUTF8 (U8BIT *src, U32BIT *outlen)
BOOLEAN STB_IsUnicodeString (U8BIT *string_ptr)
BOOLEAN STB_IsNormalString (U8BIT *string_ptr)
U32BIT STB_GetNumBytesInString (U8BIT *string_ptr)
BOOLEAN STB_IsUnicodeStringReversed (U8BIT *string_ptr)
BOOLEAN STB_IsStringEmpty (U8BIT *string_ptr)
void STB_SetDefaultAsciiTable (U8BIT table)
S8BIT STB_CompareStringsIgnoreCase (U8BIT *string1_ptr, U8BIT *string2_ptr)
U8BIT * STB_FormatUnicodeString (BOOLEAN strip_DVB_cntrl_char, BOOLEAN *reverse_dir, const U8BIT *const format_ptr,...)
U32BIT STB_UnicodeStringLen (U8BIT *string_ptr)
U8BIT * STB_UnicodeInsertString (U8BIT *src_str, U16BIT insert_pos, U8BIT *insert_str, BOOLEAN replace_char)

Detailed Description

Header for STB unicode string handling routines.

Date:
31/05/2001
All Data Structures Files Functions Typedefs Defines