Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/secureserver_8h.html
changeset 6 43e37759235e
parent 1 25a17d01db0c
equal deleted inserted replaced
5:f345bda72bc4 6:43e37759235e
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3 <title>TB10.1 Example Applications: examples/Base/IPC/secureserver/secureserver.h File Reference</title>
     3 <head>
     4 <link href="doxygen.css" rel="stylesheet" type="text/css">
     4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
     5 <link href="tabs.css" rel="stylesheet" type="text/css">
     5 <title>TB9.2 Example Applications: examples/Base/IPC/secureserver/secureserver.h File Reference</title>
     6 </head><body>
     6 <link href="tabs.css" rel="stylesheet" type="text/css"/>
     7 <!-- Generated by Doxygen 1.5.3 -->
     7 <link href="doxygen.css" rel="stylesheet" type="text/css"/>
       
     8 </head>
       
     9 <body>
       
    10 <!-- Generated by Doxygen 1.6.2 -->
       
    11 <div class="contents">
     8 <h1>examples/Base/IPC/secureserver/secureserver.h File Reference</h1>
    12 <h1>examples/Base/IPC/secureserver/secureserver.h File Reference</h1>
     9 <p>
    13 <p><a href="secureserver_8h_source.html">Go to the source code of this file.</a></p>
    10 <a href="secureserver_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
    14 <table border="0" cellpadding="0" cellspacing="0">
    11 <tr><td></td></tr>
    15 <tr><td colspan="2"><h2>Classes</h2></td></tr>
    12 <tr><td colspan="2"><br><h2>Classes</h2></td></tr>
    16 <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html">CSecureServer</a></td></tr>
    13 <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html">CSecureServer</a></td></tr>
    17 <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server_session.html">CSecureServerSession</a></td></tr>
    14 
    18 <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server_sub_session.html">CSecureServerSubSession</a></td></tr>
    15 <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server_session.html">CSecureServerSession</a></td></tr>
    19 <tr><td colspan="2"><h2>Enumerations</h2></td></tr>
    16 
    20 <tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#a091a5ad2956fb84c4470a59010a0d4ef">TSecureServerPanic</a> { <br/>
    17 <tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server_sub_session.html">CSecureServerSubSession</a></td></tr>
    21 &nbsp;&nbsp;<a class="el" href="secureserver_8h.html#a091a5ad2956fb84c4470a59010a0d4efaeef6b7f2a8413e6863e2136b93228c3a">EBadRequest</a> =  1, 
    18 
    22 <a class="el" href="secureserver_8h.html#a091a5ad2956fb84c4470a59010a0d4efa59f7e1b1a0e300077050b023b97ebcfb">EDescriptorNonNumeric</a>, 
    19 <tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
    23 <a class="el" href="secureserver_8h.html#a091a5ad2956fb84c4470a59010a0d4efa4dc32eda4a06b69469187275e825d99f">EMainSchedulerError</a>, 
    20 <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#091a5ad2956fb84c4470a59010a0d4ef">TSecureServerPanic</a> { <br>
    24 <a class="el" href="secureserver_8h.html#a091a5ad2956fb84c4470a59010a0d4efa9b127171258d0cdb2748e608aaa757cb">EServerCreateServer</a>, 
    21 &nbsp;&nbsp;<a class="el" href="secureserver_8h.html#091a5ad2956fb84c4470a59010a0d4efeef6b7f2a8413e6863e2136b93228c3a">EBadRequest</a> =  1, 
    25 <br/>
    22 <a class="el" href="secureserver_8h.html#091a5ad2956fb84c4470a59010a0d4ef59f7e1b1a0e300077050b023b97ebcfb">EDescriptorNonNumeric</a>, 
    26 &nbsp;&nbsp;<a class="el" href="secureserver_8h.html#a091a5ad2956fb84c4470a59010a0d4efad2d8074b4ac1ba9f45dbb70e6aec4144">EServerStartServer</a>, 
    23 <a class="el" href="secureserver_8h.html#091a5ad2956fb84c4470a59010a0d4ef4dc32eda4a06b69469187275e825d99f">EMainSchedulerError</a>, 
    27 <a class="el" href="secureserver_8h.html#a091a5ad2956fb84c4470a59010a0d4efa36f3ebda4e94aedb5817599162216e69">ECreateTrapCleanup</a>, 
    24 <a class="el" href="secureserver_8h.html#091a5ad2956fb84c4470a59010a0d4ef9b127171258d0cdb2748e608aaa757cb">EServerCreateServer</a>, 
    28 <a class="el" href="secureserver_8h.html#a091a5ad2956fb84c4470a59010a0d4efaeebad163989c978b8edd91b6893411c0">EBadSubsessionHandle</a>, 
    25 <br>
    29 <a class="el" href="secureserver_8h.html#a091a5ad2956fb84c4470a59010a0d4efa58c52029fd13028de726c112eedc638a">ESecureServerSecurityPolicy</a>
    26 &nbsp;&nbsp;<a class="el" href="secureserver_8h.html#091a5ad2956fb84c4470a59010a0d4efd2d8074b4ac1ba9f45dbb70e6aec4144">EServerStartServer</a>, 
    30 <br/>
    27 <a class="el" href="secureserver_8h.html#091a5ad2956fb84c4470a59010a0d4ef36f3ebda4e94aedb5817599162216e69">ECreateTrapCleanup</a>, 
       
    28 <a class="el" href="secureserver_8h.html#091a5ad2956fb84c4470a59010a0d4efeebad163989c978b8edd91b6893411c0">EBadSubsessionHandle</a>, 
       
    29 <a class="el" href="secureserver_8h.html#091a5ad2956fb84c4470a59010a0d4ef58c52029fd13028de726c112eedc638a">ESecureServerSecurityPolicy</a>
       
    30 <br>
       
    31  }</td></tr>
    31  }</td></tr>
    32 
    32 <tr><td colspan="2"><h2>Variables</h2></td></tr>
    33 <tr><td colspan="2"><br><h2>Variables</h2></td></tr>
    33 <tr><td class="memItemLeft" align="right" valign="top">const TUint&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#abccd7aceb4760cddd96866248e305f29">KDefaultHeapSize</a> = 0x10000</td></tr>
    34 <tr><td class="memItemLeft" nowrap align="right" valign="top">const TUint&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#bccd7aceb4760cddd96866248e305f29">KDefaultHeapSize</a> = 0x10000</td></tr>
    34 <tr><td class="memItemLeft" align="right" valign="top">const TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#a58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a> = 5</td></tr>
    35 
    35 <tr><td class="memItemLeft" align="right" valign="top">const TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#a374f11258957fe4902b11706c8d378bf">KSecureServerRanges</a> [<a class="el" href="secureserver_8h.html#a58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a>]</td></tr>
    36 <tr><td class="memItemLeft" nowrap align="right" valign="top">const TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a> = 5</td></tr>
    36 <tr><td class="memItemLeft" align="right" valign="top">const CPolicyServer::TPolicyElement&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#a96a8dd34c3e8faf09bc5ef7050b5d0ce">KSecureServerElements</a> []</td></tr>
    37 
    37 <tr><td class="memItemLeft" align="right" valign="top">const TUint8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#a1c5ad63aafc1be2736f3a8177f4d7fd9">KSecureServerElementsIndex</a> [<a class="el" href="secureserver_8h.html#a58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a>]</td></tr>
    38 <tr><td class="memItemLeft" nowrap align="right" valign="top">const TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#374f11258957fe4902b11706c8d378bf">KSecureServerRanges</a> [<a class="el" href="secureserver_8h.html#58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a>]</td></tr>
    38 <tr><td class="memItemLeft" align="right" valign="top">const CPolicyServer::TPolicy&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#a35e41e8fbb27c5be7ed4ce6c6cd28d2a">KSecureServerPolicy</a></td></tr>
    39 
       
    40 <tr><td class="memItemLeft" nowrap align="right" valign="top">const <br>
       
    41 CPolicyServer::TPolicyElement&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#96a8dd34c3e8faf09bc5ef7050b5d0ce">KSecureServerElements</a> []</td></tr>
       
    42 
       
    43 <tr><td class="memItemLeft" nowrap align="right" valign="top">const TUint8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#1c5ad63aafc1be2736f3a8177f4d7fd9">KSecureServerElementsIndex</a> [<a class="el" href="secureserver_8h.html#58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a>]</td></tr>
       
    44 
       
    45 <tr><td class="memItemLeft" nowrap align="right" valign="top">const <br>
       
    46 CPolicyServer::TPolicy&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureserver_8h.html#35e41e8fbb27c5be7ed4ce6c6cd28d2a">KSecureServerPolicy</a></td></tr>
       
    47 
       
    48 </table>
    39 </table>
    49 <hr><a name="_details"></a><h2>Detailed Description</h2>
    40 <hr/><a name="_details"></a><h2>Detailed Description</h2>
    50 
    41 
    51 <p>Definition in file <a class="el" href="secureserver_8h-source.html">secureserver.h</a>.</p>
    42 <p>Definition in file <a class="el" href="secureserver_8h_source.html">secureserver.h</a>.</p>
    52 <hr><h2>Enumeration Type Documentation</h2>
    43 <hr/><h2>Enumeration Type Documentation</h2>
    53 <a class="anchor" name="091a5ad2956fb84c4470a59010a0d4ef"></a><!-- doxytag: member="secureserver.h::TSecureServerPanic" ref="091a5ad2956fb84c4470a59010a0d4ef" args="" -->
    44 <a class="anchor" id="a091a5ad2956fb84c4470a59010a0d4ef"></a><!-- doxytag: member="secureserver.h::TSecureServerPanic" ref="a091a5ad2956fb84c4470a59010a0d4ef" args="" -->
    54 <div class="memitem">
    45 <div class="memitem">
    55 <div class="memproto">
    46 <div class="memproto">
    56       <table class="memname">
    47       <table class="memname">
    57         <tr>
    48         <tr>
    58           <td class="memname">enum <a class="el" href="secureserver_8h.html#091a5ad2956fb84c4470a59010a0d4ef">TSecureServerPanic</a>          </td>
    49           <td class="memname">enum <a class="el" href="secureserver_8h.html#a091a5ad2956fb84c4470a59010a0d4ef">TSecureServerPanic</a></td>
    59         </tr>
    50         </tr>
    60       </table>
    51       </table>
    61 </div>
    52 </div>
    62 <div class="memdoc">
    53 <div class="memdoc">
    63 
    54 <p>A set of panic numbers used when the example raises panics in response to programming errors. All panics raised by the example have the category SecureServer. </p>
    64 <p>
    55 <dl class="see"><dt><b>See also:</b></dt><dd>KTxtServer </dd></dl>
    65 A set of panic numbers used when the example raises panics in response to programming errors. All panics raised by the example have the category SecureServer. <dl class="see" compact><dt><b>See also:</b></dt><dd>KTxtServer </dd></dl>
    56 <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
    66 <dl compact><dt><b>Enumerator: </b></dt><dd>
    57 <tr><td valign="top"><em><a class="anchor" id="a091a5ad2956fb84c4470a59010a0d4efaeef6b7f2a8413e6863e2136b93228c3a"></a><!-- doxytag: member="EBadRequest" ref="a091a5ad2956fb84c4470a59010a0d4efaeef6b7f2a8413e6863e2136b93228c3a" args="" -->EBadRequest</em>&nbsp;</td><td>
    67 <table border="0" cellspacing="2" cellpadding="0">
    58 <p>An undefined op code. </p>
    68 <tr><td valign="top"><em><a class="anchor" name="091a5ad2956fb84c4470a59010a0d4efeef6b7f2a8413e6863e2136b93228c3a"></a><!-- doxytag: member="EBadRequest" ref="091a5ad2956fb84c4470a59010a0d4efeef6b7f2a8413e6863e2136b93228c3a" args="" -->EBadRequest</em>&nbsp;</td><td>
    59 </td></tr>
    69 An undefined op code. </td></tr>
    60 <tr><td valign="top"><em><a class="anchor" id="a091a5ad2956fb84c4470a59010a0d4efa59f7e1b1a0e300077050b023b97ebcfb"></a><!-- doxytag: member="EDescriptorNonNumeric" ref="a091a5ad2956fb84c4470a59010a0d4efa59f7e1b1a0e300077050b023b97ebcfb" args="" -->EDescriptorNonNumeric</em>&nbsp;</td><td>
    70 <tr><td valign="top"><em><a class="anchor" name="091a5ad2956fb84c4470a59010a0d4ef59f7e1b1a0e300077050b023b97ebcfb"></a><!-- doxytag: member="EDescriptorNonNumeric" ref="091a5ad2956fb84c4470a59010a0d4ef59f7e1b1a0e300077050b023b97ebcfb" args="" -->EDescriptorNonNumeric</em>&nbsp;</td><td>
    61 <p>A descriptor containing non-numeric characters. </p>
    71 A descriptor containing non-numeric characters. </td></tr>
    62 </td></tr>
    72 <tr><td valign="top"><em><a class="anchor" name="091a5ad2956fb84c4470a59010a0d4ef4dc32eda4a06b69469187275e825d99f"></a><!-- doxytag: member="EMainSchedulerError" ref="091a5ad2956fb84c4470a59010a0d4ef4dc32eda4a06b69469187275e825d99f" args="" -->EMainSchedulerError</em>&nbsp;</td><td>
    63 <tr><td valign="top"><em><a class="anchor" id="a091a5ad2956fb84c4470a59010a0d4efa4dc32eda4a06b69469187275e825d99f"></a><!-- doxytag: member="EMainSchedulerError" ref="a091a5ad2956fb84c4470a59010a0d4efa4dc32eda4a06b69469187275e825d99f" args="" -->EMainSchedulerError</em>&nbsp;</td><td>
    73 The Active Scheduler can not be instantiated. </td></tr>
    64 <p>The Active Scheduler can not be instantiated. </p>
    74 <tr><td valign="top"><em><a class="anchor" name="091a5ad2956fb84c4470a59010a0d4ef9b127171258d0cdb2748e608aaa757cb"></a><!-- doxytag: member="EServerCreateServer" ref="091a5ad2956fb84c4470a59010a0d4ef9b127171258d0cdb2748e608aaa757cb" args="" -->EServerCreateServer</em>&nbsp;</td><td>
    65 </td></tr>
    75 The server can not be created. </td></tr>
    66 <tr><td valign="top"><em><a class="anchor" id="a091a5ad2956fb84c4470a59010a0d4efa9b127171258d0cdb2748e608aaa757cb"></a><!-- doxytag: member="EServerCreateServer" ref="a091a5ad2956fb84c4470a59010a0d4efa9b127171258d0cdb2748e608aaa757cb" args="" -->EServerCreateServer</em>&nbsp;</td><td>
    76 <tr><td valign="top"><em><a class="anchor" name="091a5ad2956fb84c4470a59010a0d4efd2d8074b4ac1ba9f45dbb70e6aec4144"></a><!-- doxytag: member="EServerStartServer" ref="091a5ad2956fb84c4470a59010a0d4efd2d8074b4ac1ba9f45dbb70e6aec4144" args="" -->EServerStartServer</em>&nbsp;</td><td>
    67 <p>The server can not be created. </p>
    77 The server can not be added to the active scheduler to receive requests. </td></tr>
    68 </td></tr>
    78 <tr><td valign="top"><em><a class="anchor" name="091a5ad2956fb84c4470a59010a0d4ef36f3ebda4e94aedb5817599162216e69"></a><!-- doxytag: member="ECreateTrapCleanup" ref="091a5ad2956fb84c4470a59010a0d4ef36f3ebda4e94aedb5817599162216e69" args="" -->ECreateTrapCleanup</em>&nbsp;</td><td>
    69 <tr><td valign="top"><em><a class="anchor" id="a091a5ad2956fb84c4470a59010a0d4efad2d8074b4ac1ba9f45dbb70e6aec4144"></a><!-- doxytag: member="EServerStartServer" ref="a091a5ad2956fb84c4470a59010a0d4efad2d8074b4ac1ba9f45dbb70e6aec4144" args="" -->EServerStartServer</em>&nbsp;</td><td>
    79 The cleanup stack can not be created. </td></tr>
    70 <p>The server can not be added to the active scheduler to receive requests. </p>
    80 <tr><td valign="top"><em><a class="anchor" name="091a5ad2956fb84c4470a59010a0d4efeebad163989c978b8edd91b6893411c0"></a><!-- doxytag: member="EBadSubsessionHandle" ref="091a5ad2956fb84c4470a59010a0d4efeebad163989c978b8edd91b6893411c0" args="" -->EBadSubsessionHandle</em>&nbsp;</td><td>
    71 </td></tr>
    81 The object index of the sub session returns an error. </td></tr>
    72 <tr><td valign="top"><em><a class="anchor" id="a091a5ad2956fb84c4470a59010a0d4efa36f3ebda4e94aedb5817599162216e69"></a><!-- doxytag: member="ECreateTrapCleanup" ref="a091a5ad2956fb84c4470a59010a0d4efa36f3ebda4e94aedb5817599162216e69" args="" -->ECreateTrapCleanup</em>&nbsp;</td><td>
    82 <tr><td valign="top"><em><a class="anchor" name="091a5ad2956fb84c4470a59010a0d4ef58c52029fd13028de726c112eedc638a"></a><!-- doxytag: member="ESecureServerSecurityPolicy" ref="091a5ad2956fb84c4470a59010a0d4ef58c52029fd13028de726c112eedc638a" args="" -->ESecureServerSecurityPolicy</em>&nbsp;</td><td>
    73 <p>The cleanup stack can not be created. </p>
    83 A custom security policy violation. </td></tr>
    74 </td></tr>
       
    75 <tr><td valign="top"><em><a class="anchor" id="a091a5ad2956fb84c4470a59010a0d4efaeebad163989c978b8edd91b6893411c0"></a><!-- doxytag: member="EBadSubsessionHandle" ref="a091a5ad2956fb84c4470a59010a0d4efaeebad163989c978b8edd91b6893411c0" args="" -->EBadSubsessionHandle</em>&nbsp;</td><td>
       
    76 <p>The object index of the sub session returns an error. </p>
       
    77 </td></tr>
       
    78 <tr><td valign="top"><em><a class="anchor" id="a091a5ad2956fb84c4470a59010a0d4efa58c52029fd13028de726c112eedc638a"></a><!-- doxytag: member="ESecureServerSecurityPolicy" ref="a091a5ad2956fb84c4470a59010a0d4efa58c52029fd13028de726c112eedc638a" args="" -->ESecureServerSecurityPolicy</em>&nbsp;</td><td>
       
    79 <p>A custom security policy violation. </p>
       
    80 </td></tr>
    84 </table>
    81 </table>
       
    82 </dd>
    85 </dl>
    83 </dl>
    86 
    84 
    87 <p>Definition at line <a class="el" href="secureserver_8h-source.html#l00043">43</a> of file <a class="el" href="secureserver_8h-source.html">secureserver.h</a>.</p>
    85 <p>Definition at line <a class="el" href="secureserver_8h_source.html#l00043">43</a> of file <a class="el" href="secureserver_8h_source.html">secureserver.h</a>.</p>
    88 
    86 
    89 </div>
    87 </div>
    90 </div><p>
    88 </div>
    91 <hr><h2>Variable Documentation</h2>
    89 <hr/><h2>Variable Documentation</h2>
    92 <a class="anchor" name="bccd7aceb4760cddd96866248e305f29"></a><!-- doxytag: member="secureserver.h::KDefaultHeapSize" ref="bccd7aceb4760cddd96866248e305f29" args="" -->
    90 <a class="anchor" id="abccd7aceb4760cddd96866248e305f29"></a><!-- doxytag: member="secureserver.h::KDefaultHeapSize" ref="abccd7aceb4760cddd96866248e305f29" args="" -->
    93 <div class="memitem">
    91 <div class="memitem">
    94 <div class="memproto">
    92 <div class="memproto">
    95       <table class="memname">
    93       <table class="memname">
    96         <tr>
    94         <tr>
    97           <td class="memname">const TUint <a class="el" href="secureserver_8h.html#bccd7aceb4760cddd96866248e305f29">KDefaultHeapSize</a> = 0x10000          </td>
    95           <td class="memname">const TUint <a class="el" href="secureserver_8h.html#abccd7aceb4760cddd96866248e305f29">KDefaultHeapSize</a> = 0x10000</td>
    98         </tr>
    96         </tr>
    99       </table>
    97       </table>
   100 </div>
    98 </div>
   101 <div class="memdoc">
    99 <div class="memdoc">
   102 
   100 <p>The size of the heap to be allocated for the thread that runs the server. The constant is passed to the <a class="el" href="secureclientandserver_8h.html#af110d475e98114c0f2a42b7313af8e67">StartThread()</a> function defined in <a class="el" href="secureclientandserver_8h.html">secureclientandserver.h</a> and implemented in <a class="el" href="secureserver_8cpp.html">secureserver.cpp</a>. </p>
   103 <p>
   101 <dl class="see"><dt><b>See also:</b></dt><dd>RThread::Create() </dd></dl>
   104 The size of the heap to be allocated for the thread that runs the server. The constant is passed to the <a class="el" href="secureclientandserver_8h.html#f110d475e98114c0f2a42b7313af8e67">StartThread()</a> function defined in <a class="el" href="secureclientandserver_8h.html">secureclientandserver.h</a> and implemented in <a class="el" href="secureserver_8cpp.html">secureserver.cpp</a>. <dl class="see" compact><dt><b>See also:</b></dt><dd>RThread::Create() </dd></dl>
   102 
   105 
   103 <p>Definition at line <a class="el" href="secureserver_8h_source.html#l00036">36</a> of file <a class="el" href="secureserver_8h_source.html">secureserver.h</a>.</p>
   106 <p>Definition at line <a class="el" href="secureserver_8h-source.html#l00036">36</a> of file <a class="el" href="secureserver_8h-source.html">secureserver.h</a>.</p>
   104 
   107 
   105 </div>
   108 </div>
   106 </div>
   109 </div><p>
   107 <a class="anchor" id="a58c74f3d388b4e34764cddd3d0d24c92"></a><!-- doxytag: member="secureserver.h::KSecureServerRangeCount" ref="a58c74f3d388b4e34764cddd3d0d24c92" args="" -->
   110 <a class="anchor" name="58c74f3d388b4e34764cddd3d0d24c92"></a><!-- doxytag: member="secureserver.h::KSecureServerRangeCount" ref="58c74f3d388b4e34764cddd3d0d24c92" args="" -->
   108 <div class="memitem">
   111 <div class="memitem">
   109 <div class="memproto">
   112 <div class="memproto">
   110       <table class="memname">
   113       <table class="memname">
   111         <tr>
   114         <tr>
   112           <td class="memname">const TInt <a class="el" href="secureserver_8h.html#a58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a> = 5</td>
   115           <td class="memname">const TInt <a class="el" href="secureserver_8h.html#58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a> = 5          </td>
   113         </tr>
   116         </tr>
   114       </table>
   117       </table>
   115 </div>
   118 </div>
   116 <div class="memdoc">
   119 <div class="memdoc">
   117 <p>The server specifies 5 ranges of security policy. Each range undergoes a different security check. </p>
   120 
   118 <dl class="see"><dt><b>See also:</b></dt><dd>CpolicyServer::TPolicy::iRangeCount </dd></dl>
   121 <p>
   119 
   122 The server specifies 5 ranges of security policy. Each range undergoes a different security check. <dl class="see" compact><dt><b>See also:</b></dt><dd>CpolicyServer::TPolicy::iRangeCount </dd></dl>
   120 <p>Definition at line <a class="el" href="secureserver_8h_source.html#l00083">83</a> of file <a class="el" href="secureserver_8h_source.html">secureserver.h</a>.</p>
   123 
   121 
   124 <p>Definition at line <a class="el" href="secureserver_8h-source.html#l00083">83</a> of file <a class="el" href="secureserver_8h-source.html">secureserver.h</a>.</p>
   122 </div>
   125 
   123 </div>
   126 </div>
   124 <a class="anchor" id="a374f11258957fe4902b11706c8d378bf"></a><!-- doxytag: member="secureserver.h::KSecureServerRanges" ref="a374f11258957fe4902b11706c8d378bf" args="[KSecureServerRangeCount]" -->
   127 </div><p>
   125 <div class="memitem">
   128 <a class="anchor" name="374f11258957fe4902b11706c8d378bf"></a><!-- doxytag: member="secureserver.h::KSecureServerRanges" ref="374f11258957fe4902b11706c8d378bf" args="[KSecureServerRangeCount]" -->
   126 <div class="memproto">
   129 <div class="memitem">
   127       <table class="memname">
   130 <div class="memproto">
   128         <tr>
   131       <table class="memname">
   129           <td class="memname">const TInt <a class="el" href="secureserver_8h.html#a374f11258957fe4902b11706c8d378bf">KSecureServerRanges</a>[<a class="el" href="secureserver_8h.html#a58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a>]</td>
   132         <tr>
   130         </tr>
   133           <td class="memname">const TInt <a class="el" href="secureserver_8h.html#374f11258957fe4902b11706c8d378bf">KSecureServerRanges</a>[<a class="el" href="secureserver_8h.html#58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a>]          </td>
   131       </table>
   134         </tr>
   132 </div>
   135       </table>
   133 <div class="memdoc">
   136 </div>
       
   137 <div class="memdoc">
       
   138 
       
   139 <p>
       
   140 <b>Initial value:</b><div class="fragment"><pre class="fragment">
   134 <b>Initial value:</b><div class="fragment"><pre class="fragment">
   141         {
   135         {
   142         
   136         
   143         0,
   137         0,
   144         
   138         
   148         
   142         
   149         11,
   143         11,
   150         
   144         
   151         13
   145         13
   152         }
   146         }
   153 </pre></div>Ordered ranges of request numbers. <dl class="see" compact><dt><b>See also:</b></dt><dd>CpolicyServer::TPolicy::iRanges </dd></dl>
   147 </pre></div><p>Ordered ranges of request numbers. </p>
   154 
   148 <dl class="see"><dt><b>See also:</b></dt><dd>CpolicyServer::TPolicy::iRanges </dd></dl>
   155 <p>Definition at line <a class="el" href="secureserver_8h-source.html#l00089">89</a> of file <a class="el" href="secureserver_8h-source.html">secureserver.h</a>.</p>
   149 
   156 
   150 <p>Definition at line <a class="el" href="secureserver_8h_source.html#l00089">89</a> of file <a class="el" href="secureserver_8h_source.html">secureserver.h</a>.</p>
   157 </div>
   151 
   158 </div><p>
   152 </div>
   159 <a class="anchor" name="96a8dd34c3e8faf09bc5ef7050b5d0ce"></a><!-- doxytag: member="secureserver.h::KSecureServerElements" ref="96a8dd34c3e8faf09bc5ef7050b5d0ce" args="[]" -->
   153 </div>
   160 <div class="memitem">
   154 <a class="anchor" id="a96a8dd34c3e8faf09bc5ef7050b5d0ce"></a><!-- doxytag: member="secureserver.h::KSecureServerElements" ref="a96a8dd34c3e8faf09bc5ef7050b5d0ce" args="[]" -->
   161 <div class="memproto">
   155 <div class="memitem">
   162       <table class="memname">
   156 <div class="memproto">
   163         <tr>
   157       <table class="memname">
   164           <td class="memname">const CPolicyServer::TPolicyElement <a class="el" href="secureserver_8h.html#96a8dd34c3e8faf09bc5ef7050b5d0ce">KSecureServerElements</a>[]          </td>
   158         <tr>
   165         </tr>
   159           <td class="memname">const CPolicyServer::TPolicyElement <a class="el" href="secureserver_8h.html#a96a8dd34c3e8faf09bc5ef7050b5d0ce">KSecureServerElements</a>[]</td>
   166       </table>
   160         </tr>
   167 </div>
   161       </table>
   168 <div class="memdoc">
   162 </div>
   169 
   163 <div class="memdoc">
   170 <p>
       
   171 <b>Initial value:</b><div class="fragment"><pre class="fragment">
   164 <b>Initial value:</b><div class="fragment"><pre class="fragment">
   172         {
   165         {
   173         
   166         
   174         _INIT_SECURITY_POLICY_S0(0x70fffff0),
   167         _INIT_SECURITY_POLICY_S0(0x70fffff0),
   175         
   168         
   176         {_INIT_SECURITY_POLICY_C1(ECapabilityReadDeviceData | ECapabilityWriteDeviceData), CPolicyServer::EFailClient}
   169         {_INIT_SECURITY_POLICY_C1(ECapabilityReadDeviceData | ECapabilityWriteDeviceData), CPolicyServer::EFailClient}
   177         }
   170         }
   178 </pre></div>An array containing the unique set of policies used in this example. <dl class="see" compact><dt><b>See also:</b></dt><dd>CpolicyServer::TPolicy::iElements </dd></dl>
   171 </pre></div><p>An array containing the unique set of policies used in this example. </p>
   179 
   172 <dl class="see"><dt><b>See also:</b></dt><dd>CpolicyServer::TPolicy::iElements </dd></dl>
   180 <p>Definition at line <a class="el" href="secureserver_8h-source.html#l00117">117</a> of file <a class="el" href="secureserver_8h-source.html">secureserver.h</a>.</p>
   173 
   181 
   174 <p>Definition at line <a class="el" href="secureserver_8h_source.html#l00117">117</a> of file <a class="el" href="secureserver_8h_source.html">secureserver.h</a>.</p>
   182 </div>
   175 
   183 </div><p>
   176 </div>
   184 <a class="anchor" name="1c5ad63aafc1be2736f3a8177f4d7fd9"></a><!-- doxytag: member="secureserver.h::KSecureServerElementsIndex" ref="1c5ad63aafc1be2736f3a8177f4d7fd9" args="[KSecureServerRangeCount]" -->
   177 </div>
   185 <div class="memitem">
   178 <a class="anchor" id="a1c5ad63aafc1be2736f3a8177f4d7fd9"></a><!-- doxytag: member="secureserver.h::KSecureServerElementsIndex" ref="a1c5ad63aafc1be2736f3a8177f4d7fd9" args="[KSecureServerRangeCount]" -->
   186 <div class="memproto">
   179 <div class="memitem">
   187       <table class="memname">
   180 <div class="memproto">
   188         <tr>
   181       <table class="memname">
   189           <td class="memname">const TUint8 <a class="el" href="secureserver_8h.html#1c5ad63aafc1be2736f3a8177f4d7fd9">KSecureServerElementsIndex</a>[<a class="el" href="secureserver_8h.html#58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a>]          </td>
   182         <tr>
   190         </tr>
   183           <td class="memname">const TUint8 <a class="el" href="secureserver_8h.html#a1c5ad63aafc1be2736f3a8177f4d7fd9">KSecureServerElementsIndex</a>[<a class="el" href="secureserver_8h.html#a58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a>]</td>
   191       </table>
   184         </tr>
   192 </div>
   185       </table>
   193 <div class="memdoc">
   186 </div>
   194 
   187 <div class="memdoc">
   195 <p>
       
   196 <b>Initial value:</b><div class="fragment"><pre class="fragment">
   188 <b>Initial value:</b><div class="fragment"><pre class="fragment">
   197                 {
   189                 {
   198                 
   190                 
   199                 CPolicyServer::EAlwaysPass,
   191                 CPolicyServer::EAlwaysPass,
   200                 
   192                 
   204                 
   196                 
   205                 1,
   197                 1,
   206                 
   198                 
   207                 CPolicyServer::ENotSupported
   199                 CPolicyServer::ENotSupported
   208                 }
   200                 }
   209 </pre></div>An array of TUint8 values that specify the action to take for each range in KSecureServerRanges array. <dl class="see" compact><dt><b>See also:</b></dt><dd>CpolicyServer::TPolicy::iElementsIndex </dd></dl>
   201 </pre></div><p>An array of TUint8 values that specify the action to take for each range in KSecureServerRanges array. </p>
   210 
   202 <dl class="see"><dt><b>See also:</b></dt><dd>CpolicyServer::TPolicy::iElementsIndex </dd></dl>
   211 <p>Definition at line <a class="el" href="secureserver_8h-source.html#l00133">133</a> of file <a class="el" href="secureserver_8h-source.html">secureserver.h</a>.</p>
   203 
   212 
   204 <p>Definition at line <a class="el" href="secureserver_8h_source.html#l00133">133</a> of file <a class="el" href="secureserver_8h_source.html">secureserver.h</a>.</p>
   213 </div>
   205 
   214 </div><p>
   206 </div>
   215 <a class="anchor" name="35e41e8fbb27c5be7ed4ce6c6cd28d2a"></a><!-- doxytag: member="secureserver.h::KSecureServerPolicy" ref="35e41e8fbb27c5be7ed4ce6c6cd28d2a" args="" -->
   207 </div>
   216 <div class="memitem">
   208 <a class="anchor" id="a35e41e8fbb27c5be7ed4ce6c6cd28d2a"></a><!-- doxytag: member="secureserver.h::KSecureServerPolicy" ref="a35e41e8fbb27c5be7ed4ce6c6cd28d2a" args="" -->
   217 <div class="memproto">
   209 <div class="memitem">
   218       <table class="memname">
   210 <div class="memproto">
   219         <tr>
   211       <table class="memname">
   220           <td class="memname">const CPolicyServer::TPolicy <a class="el" href="secureserver_8h.html#35e41e8fbb27c5be7ed4ce6c6cd28d2a">KSecureServerPolicy</a>          </td>
   212         <tr>
   221         </tr>
   213           <td class="memname">const CPolicyServer::TPolicy <a class="el" href="secureserver_8h.html#a35e41e8fbb27c5be7ed4ce6c6cd28d2a">KSecureServerPolicy</a></td>
   222       </table>
   214         </tr>
   223 </div>
   215       </table>
   224 <div class="memdoc">
   216 </div>
   225 
   217 <div class="memdoc">
   226 <p>
       
   227 <b>Initial value:</b><div class="fragment"><pre class="fragment">
   218 <b>Initial value:</b><div class="fragment"><pre class="fragment">
   228         {
   219         {
   229         
   220         
   230         CPolicyServer::EAlwaysPass,
   221         CPolicyServer::EAlwaysPass,
   231         <a class="code" href="secureserver_8h.html#58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a>,
   222         <a class="code" href="secureserver_8h.html#a58c74f3d388b4e34764cddd3d0d24c92">KSecureServerRangeCount</a>,
   232         <a class="code" href="secureserver_8h.html#374f11258957fe4902b11706c8d378bf">KSecureServerRanges</a>,
   223         <a class="code" href="secureserver_8h.html#a374f11258957fe4902b11706c8d378bf">KSecureServerRanges</a>,
   233         <a class="code" href="secureserver_8h.html#1c5ad63aafc1be2736f3a8177f4d7fd9">KSecureServerElementsIndex</a>,
   224         <a class="code" href="secureserver_8h.html#a1c5ad63aafc1be2736f3a8177f4d7fd9">KSecureServerElementsIndex</a>,
   234         <a class="code" href="secureserver_8h.html#96a8dd34c3e8faf09bc5ef7050b5d0ce">KSecureServerElements</a>
   225         <a class="code" href="secureserver_8h.html#a96a8dd34c3e8faf09bc5ef7050b5d0ce">KSecureServerElements</a>
   235         }
   226         }
   236 </pre></div>The security policy of the server. This is passed to the constructor of the policy server. In this example, this is the constructor of the <a class="el" href="class_c_secure_server.html">CSecureServer</a> class. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_c_secure_server.html">CSecureServer</a> </dd></dl>
   227 </pre></div><p>The security policy of the server. This is passed to the constructor of the policy server. In this example, this is the constructor of the <a class="el" href="class_c_secure_server.html">CSecureServer</a> class. </p>
   237 
   228 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_secure_server.html">CSecureServer</a> </dd></dl>
   238 <p>Definition at line <a class="el" href="secureserver_8h-source.html#l00167">167</a> of file <a class="el" href="secureserver_8h-source.html">secureserver.h</a>.</p>
   229 
   239 
   230 <p>Definition at line <a class="el" href="secureserver_8h_source.html#l00167">167</a> of file <a class="el" href="secureserver_8h_source.html">secureserver.h</a>.</p>
   240 </div>
   231 
   241 </div><p>
   232 </div>
   242 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:02 2010 for TB10.1 Example Applications by&nbsp;
   233 </div>
       
   234 </div>
       
   235 <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
   243 <a href="http://www.doxygen.org/index.html">
   236 <a href="http://www.doxygen.org/index.html">
   244 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
   237 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
   245 </body>
   238 </body>
   246 </html>
   239 </html>