Back to index

im-sdk  12.3.91
utfchar.h
Go to the documentation of this file.
00001 #ifndef UTFCHAR_FUNC_H
00002 #define UTFCHAR_FUNC_H
00003 
00004 #ifndef _improtocolstruct_hh
00005 typedef unsigned short UTFCHAR;
00006 
00007 #  ifndef Bool
00008 typedef enum {
00009   True=1, False=0
00010 } Boolean;
00011 #    define Bool Boolean
00012 #  endif
00013 
00014 #else
00015 
00016 #  include <IMProtocolStruct.h>
00017 #endif
00018 
00019 
00020 int 
00021 _utfchar_concat(UTFCHAR *dest, UTFCHAR *str1, UTFCHAR *str2);
00022 int
00023 _utfchar_copy(UTFCHAR * dest, UTFCHAR * original);
00024 int
00025 _utfchar_length(UTFCHAR * p);
00026 int
00027 _utfchar_comp (UTFCHAR *s1, UTFCHAR *s2);
00028 UTFCHAR *
00029 _utfchar_convert_u8_to_u16 (unsigned char *u8str);
00030 unsigned char *
00031 _utfchar_convert_u16_to_u8 (UTFCHAR *u16str);
00032 UTFCHAR *
00033 _utfchar_dup (UTFCHAR *src);
00034 
00035 #endif /* UTFCHAR_FUNC */