blob: 8c6f0dec8a4c0c14a7b16a5611335bd99b4a0075 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>oscl_string_utf8.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.18 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
<hr><h1>oscl_string_utf8.h</h1><a href="oscl__string__utf8_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span>
00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
00003
00004 <span class="comment">// O S C L _ S T R I N G _ U T F 8</span>
00005
00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span>
00007
00023 <span class="preprocessor">#ifndef OSCL_STRING_UTF8_H</span>
00024 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_STRING_UTF8_H</span>
00025 <span class="preprocessor"></span>
00026 <span class="comment">// - - Inclusion - - - - - - - - - - - - - - - - - - - - - - - - - - - -</span>
00027 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span>
00028 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span>
00029 <span class="preprocessor">#endif</span>
00030 <span class="preprocessor"></span>
00031 <span class="comment">// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</span>
00032 <span class="comment">// Function prototypes</span>
00049 <span class="comment"></span>OSCL_IMPORT_REF <span class="keywordtype">bool</span> <a class="code" href="group__osclutil.html#a40">oscl_str_is_valid_utf8</a>(<span class="keyword">const</span> uint8 *str_buf, uint32&amp; num_valid_characters, uint32 max_bytes = 0,
00050 uint32 max_char_2_valid = 0, uint32 * num_byte_4_char = <a class="code" href="group__osclbase.html#a81">NULL</a>);
00065 OSCL_IMPORT_REF int32 <a class="code" href="group__osclutil.html#a41">oscl_str_truncate_utf8</a>(uint8 *str_buf, uint32 max_char, uint32 max_bytes = 0);
00066
00067 <span class="preprocessor">#endif</span>
00068 <span class="preprocessor"></span>
</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
</small></address>
</body>
</html>