aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/oscl__string__xml_8h.html
blob: 00a6aba774d5a214bd738b583f66552ee9a21180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>oscl: oscl_string_xml.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>oscl_string_xml.h File Reference</h1>
<p>Utilities to escape special characters in XML strings.  
<a href="#_details">More...</a></p>
<code>#include &quot;<a class="el" href="oscl__base_8h_source.html">oscl_base.h</a>&quot;</code><br/>

<p><a href="oscl__string__xml_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OSCL_IMPORT_REF bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__osclutil.html#ga99d69c1d297b875926215193edcc3277">oscl_str_need_escape_xml</a> (const char *str_buf, uint32 &amp;num_escape_bytes, uint32 max_bytes=0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if the input string contains any special ASCII character like &amp;, &lt;, &gt;, ', ". The function scans the string and check if each character is a special character. It stops at the first NULL character (if max_bytes = 0), or the max_byte value.  <a href="group__osclutil.html#ga99d69c1d297b875926215193edcc3277"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">OSCL_IMPORT_REF int32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__osclutil.html#gad1cd8f6df6902345d593b3f6d9b9a4a4">oscl_str_escape_xml</a> (const char *str_buf_in, char *str_buf_out, uint32 max_out_buf_bytes, uint32 max_bytes=0, uint32 *num_bytes_written=NULL)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Escape any of the following special characters in the string Special ASCII characters: &amp;, &lt;, &gt;, ', ".  <a href="group__osclutil.html#gad1cd8f6df6902345d593b3f6d9b9a4a4"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Utilities to escape special characters in XML strings. </p>
</div>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: CORE_9.004.1.1 </small>
</small></address>
</body>
</html>