⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 structhttp__server__state.html

📁 Freescale mcu OpenTCP-1.0.4.doc.html.zip 文档
💻 HTML
字号:
<!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>http_server_state struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</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; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindex" href="examples.html">Examples</a> &nbsp; </center><hr><h1>http_server_state Struct Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>All the necessary information for HTTP session state management by the HTTP server is stored here. See individual field documentation for more info. <p><p>Definition at line <a class="el" href="http__server_8h-source.html#l00104">104</a> of file <a class="el" href="http__server_8h-source.html">http_server.h</a>.<table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Data Fields</h2></td></tr><tr><td nowrap align=right valign=top>UINT8&nbsp;</td><td valign=bottom><a class="el" href="structhttp__server__state.html#m0">state</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Session state.</em> <a href="#m0"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>UINT8&nbsp;</td><td valign=bottom><a class="el" href="structhttp__server__state.html#m1">ownersocket</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>TCP socket used for TCP communication.</em> <a href="#m1"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>UINT32&nbsp;</td><td valign=bottom><a class="el" href="structhttp__server__state.html#m2">fstart</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>File start.</em> <a href="#m2"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>UINT32&nbsp;</td><td valign=bottom><a class="el" href="structhttp__server__state.html#m3">flen</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>File length.</em> <a href="#m3"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>UINT32&nbsp;</td><td valign=bottom><a class="el" href="structhttp__server__state.html#m4">fpoint</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>File pointer.</em> <a href="#m4"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>UINT16&nbsp;</td><td valign=bottom><a class="el" href="structhttp__server__state.html#m5">funacked</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Number of unacknowledged HTTP bytes previously sent.</em> <a href="#m5"></a><em></em></font><br><br></td></tr></table><hr><h2>Field Documentation</h2><a name="m0" doxytag="http_server_state::state"></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"> UINT8 http_server_state::state      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This variable holds current sessions' state which can be one of the following: <ul><li> <a class="el" href="http__server_8h.html#a2">HTTPS_STATE_FREE</a> <li> <a class="el" href="http__server_8h.html#a3">HTTPS_STATE_RESERVED</a> <li> <a class="el" href="http__server_8h.html#a4">HTTPS_STATE_ACTIVE</a> </ul><p>Definition at line <a class="el" href="http__server_8h-source.html#l00113">113</a> of file <a class="el" href="http__server_8h-source.html">http_server.h</a>.<p>Referenced by <a class="el" href="http__server_8c-source.html#l00093">https_init()</a>.    </td>  </tr></table><a name="m1" doxytag="http_server_state::ownersocket"></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"> UINT8 http_server_state::ownersocket      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This variable holds a handle to TCP socket that is used to achieve data transfer. <p>Definition at line <a class="el" href="http__server_8h-source.html#l00120">120</a> of file <a class="el" href="http__server_8h-source.html">http_server.h</a>.<p>Referenced by <a class="el" href="http__server_8c-source.html#l00093">https_init()</a>.    </td>  </tr></table><a name="m2" doxytag="http_server_state::fstart"></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"> UINT32 http_server_state::fstart      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This variable holds information about the file start address. This  is highlyconfiguration-dependant (file system chosen, etc..)<p><b> File address can not start from zero!!! (Data won't be sent by HTTP server in this case) </b> <p>Definition at line <a class="el" href="http__server_8h-source.html#l00130">130</a> of file <a class="el" href="http__server_8h-source.html">http_server.h</a>.<p>Referenced by <a class="el" href="http__server_8c-source.html#l00093">https_init()</a>.    </td>  </tr></table><a name="m3" doxytag="http_server_state::flen"></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"> UINT32 http_server_state::flen      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This variable holds file length information. It is used by the HTTP server to determine when the entire file has been sent. <p>Definition at line <a class="el" href="http__server_8h-source.html#l00137">137</a> of file <a class="el" href="http__server_8h-source.html">http_server.h</a>.<p>Referenced by <a class="el" href="http__server_8c-source.html#l00093">https_init()</a>.    </td>  </tr></table><a name="m4" doxytag="http_server_state::fpoint"></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"> UINT32 http_server_state::fpoint      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Pointer to a current position inside the file that is beeing sent  over the appropriate HTTP session. <p>Definition at line <a class="el" href="http__server_8h-source.html#l00144">144</a> of file <a class="el" href="http__server_8h-source.html">http_server.h</a>.<p>Referenced by <a class="el" href="http__server_8c-source.html#l00093">https_init()</a>.    </td>  </tr></table><a name="m5" doxytag="http_server_state::funacked"></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"> UINT16 http_server_state::funacked      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This variable holds information about the number of previously sent and still unacknowledged bytes. This is needed to reliably determine, in case data needs to be regenerated, how much bytes to regenerate or, in case data has been acknowledged, how much to advance the fpoint variable. <p>Definition at line <a class="el" href="http__server_8h-source.html#l00154">154</a> of file <a class="el" href="http__server_8h-source.html">http_server.h</a>.<p>Referenced by <a class="el" href="http__server_8c-source.html#l00093">https_init()</a>.    </td>  </tr></table><hr>The documentation for this struct was generated from the following file:<ul><li>/opentcp/include/inet/http/<a class="el" href="http__server_8h-source.html">http_server.h</a></ul><hr><address style="align: right;"><small>Generated on Sun Aug 3 20:33:01 2003 for OpenTCP by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -