blob: 599a27e1458962aa5e5edcabfe39cfbeca055fd2 [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>OsclInit class 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> &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>OsclInit Class Reference<br>
<small>
[<a class="el" href="group__osclinit.html">OSCL Init</a>]</small>
</h1><code>#include &lt;<a class="el" href="oscl__init_8h-source.html">oscl_init.h</a>&gt;</code>
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>OSCL_IMPORT_REF void&nbsp;</td><td valign=bottom><a class="el" href="classOsclInit.html#d0">Init</a> (int32 &amp;aError, const <a class="el" href="classOsclSelect.html">OsclSelect</a> *aSelect=NULL)</td></tr>
<tr><td nowrap align=right valign=top>OSCL_IMPORT_REF void&nbsp;</td><td valign=bottom><a class="el" href="classOsclInit.html#d1">Cleanup</a> (int32 &amp;aError, const <a class="el" href="classOsclSelect.html">OsclSelect</a> *aSelect=NULL)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Per-thread oscl initialization and cleanup.
<p>
<hr><h2>Member Function Documentation</h2>
<a name="d1" doxytag="OsclInit::Cleanup"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> OSCL_IMPORT_REF void OsclInit::Cleanup </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int32 &amp;&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>aError</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const <a class="el" href="classOsclSelect.html">OsclSelect</a> *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>aSelect</em> = NULL</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [static]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
This routine cleans up the Oscl modules in the calling thread.<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>err:</em>&nbsp;</td><td>
(output) error code of any leave that occurs in initialization. </td></tr>
<tr><td valign=top><em>config:</em>&nbsp;</td><td>
(input param) optional set of initialization parameters. If null, then full initialization with default parameters will be performed. For proper cleanup, the parameters should match the ones used during the Init call. </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="d0" doxytag="OsclInit::Init"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> OSCL_IMPORT_REF void OsclInit::Init </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">int32 &amp;&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>aError</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const <a class="el" href="classOsclSelect.html">OsclSelect</a> *&nbsp;</td>
<td class="mdname" nowrap>&nbsp; <em>aSelect</em> = NULL</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [static]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
This routine initializes the Oscl modules in the calling thread.<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>err:</em>&nbsp;</td><td>
(output) error code of any leave that occurs in initialization.</td></tr>
<tr><td valign=top><em>config:</em>&nbsp;</td><td>
(input param) optional set of initialization parameters. If null, then full initialization with default parameters will be performed. </td></tr>
</table>
</dl> </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="oscl__init_8h-source.html">oscl_init.h</a></ul>
<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>