| <!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_xml.h File Reference</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> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> |
| <hr><h1>oscl_string_xml.h File Reference</h1>Utilities to escape special characters in XML strings. |
| <a href="#_details">More...</a> |
| <p> |
| <code>#include "<a class="el" href="oscl__base_8h-source.html">oscl_base.h</a>"</code><br> |
| |
| <p> |
| <a href="oscl__string__xml_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> |
| <tr><td></td></tr> |
| <tr><td colspan=2><br><h2>Functions</h2></td></tr> |
| <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="group__osclutil.html#a42">oscl_str_need_escape_xml</a> (const char *str_buf, uint32 &num_escape_bytes, uint32 max_bytes=0)</td></tr> |
| <tr><td> </td><td><font size=-1><em>Check if the input string contains any special ASCII character like &, <, >, ', ". 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.</em> <a href="group__osclutil.html#a42"></a><em></em></font><br><br></td></tr> |
| <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int32 </td><td valign=bottom><a class="el" href="group__osclutil.html#a43">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> </td><td><font size=-1><em>Escape any of the following special characters in the string Special ASCII characters: &, <, >, ', ".</em> <a href="group__osclutil.html#a43"></a><em></em></font><br><br></td></tr> |
| </table> |
| <hr><a name="_details"></a><h2>Detailed Description</h2> |
| Utilities to escape special characters in XML strings. |
| <p> |
| |
| <p> |
| <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> |
| <address style="align: left;"><small>Posting Version: OPENCORE_20090120 </small> |
| </small></address> |
| </body> |
| </html> |