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

📄 http__server_8h.html

📁 Freescale mcu OpenTCP-1.0.4.doc.html.zip 文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!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.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="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>/opentcp/include/inet/http/http_server.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <dl compact><dt><b>Author: </b></dt><dd> <ul><li> Jari Lahti (<a href="mailto:jari.lahti@violasystems.com">jari.lahti@violasystems.com</a>) </ul></dl><dl compact><dt><b>Version: </b></dt><dd>1.0 </dl><dl compact><dt><b>Date: </b></dt><dd>13.10.2002</dl>OpenTCP HTTP function declarations, constants, etc.<p><p>Definition in file <a class="el" href="http__server_8h-source.html">http_server.h</a>.<p><a href="http__server_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>Data Structures</h2></td></tr><tr><td nowrap align=right valign=top>struct &nbsp;</td><td valign=bottom><a class="el" href="structhttp__server__state.html">http_server_state</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Structure that holds all the necessary state information for session management.</em> <a href="structhttp__server__state.html#_details">More...</a><em></em></font><br><br></td></tr><tr><td colspan=2><br><h2>Defines</h2></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="http__server_8h.html#a0">NO_OF_HTTP_SESSIONS</a>&nbsp;&nbsp;&nbsp;3</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Defines number of simultaneous HTTP sessions.</em> <a href="#a0"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="http__server_8h.html#a1">HTTPS_SERVERPORT</a>&nbsp;&nbsp;&nbsp;80</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>HTTP server port on which we'll listen.</em> <a href="#a1"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="http__server_8h.html#a2">HTTPS_STATE_FREE</a>&nbsp;&nbsp;&nbsp;1</td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="http__server_8h.html#a3">HTTPS_STATE_RESERVED</a>&nbsp;&nbsp;&nbsp;2</td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="http__server_8h.html#a4">HTTPS_STATE_ACTIVE</a>&nbsp;&nbsp;&nbsp;3</td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td nowrap align=right valign=top>INT8&nbsp;</td><td valign=bottom><a class="el" href="http__server_8h.html#a7">https_init</a> (void)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Initialize HTTP server variables.</em> <a href="#a7"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INT16&nbsp;</td><td valign=bottom><a class="el" href="http__server_8h.html#a14">https_findfile</a> (UINT8, UINT8)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Brief function description here.</em> <a href="#a14"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INT16&nbsp;</td><td valign=bottom><a class="el" href="http__server_8h.html#a15">https_loadbuffer</a> (UINT8, UINT8 *, UINT16)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Fill network transmit buffer with HTTP headers&amp;data.</em> <a href="#a15"></a><em></em></font><br><br></td></tr><tr><td colspan=2><br><h2>Variables</h2></td></tr><tr><td nowrap align=right valign=top><a class="el" href="structhttp__server__state.html">http_server_state</a>&nbsp;</td><td valign=bottom><a class="el" href="http__server_8h.html#a5">https</a> []</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Used for storing state information about different HTTP sessions.</em> <a href="#a5"></a><em></em></font><br><br></td></tr></table><hr><h2>Define Documentation</h2><a name="a0" doxytag="http_server.h::NO_OF_HTTP_SESSIONS"></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"> #define NO_OF_HTTP_SESSIONS&nbsp;&nbsp;&nbsp;3      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Change this define to change how many simultaneous HTTP sessions will be possible at any given time. Note that this will require at least as much TCP sockets, so change <a class="el" href="group__opentcp__config.html#a5">NO_OF_TCPSOCKETS</a> also! <p>Definition at line <a class="el" href="http__server_8h-source.html#l00075">75</a> of file <a class="el" href="http__server_8h-source.html">http_server.h</a>.    </td>  </tr></table><a name="a1" doxytag="http_server.h::HTTPS_SERVERPORT"></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"> #define HTTPS_SERVERPORT&nbsp;&nbsp;&nbsp;80      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This defines on what TCP port the HTTP server will listen for incoming connections/requests. For HTTP standard port is 80. <p>Definition at line <a class="el" href="http__server_8h-source.html#l00083">83</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="a2" doxytag="http_server.h::HTTPS_STATE_FREE"></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"> #define HTTPS_STATE_FREE&nbsp;&nbsp;&nbsp;1      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>HTTP Server state: session entry free and available <p>Definition at line <a class="el" href="http__server_8h-source.html#l00086">86</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="a3" doxytag="http_server.h::HTTPS_STATE_RESERVED"></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"> #define HTTPS_STATE_RESERVED&nbsp;&nbsp;&nbsp;2      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>HTTP Server state: session entry is reserved and therefore not available <p>Definition at line <a class="el" href="http__server_8h-source.html#l00089">89</a> of file <a class="el" href="http__server_8h-source.html">http_server.h</a>.    </td>  </tr></table><a name="a4" doxytag="http_server.h::HTTPS_STATE_ACTIVE"></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"> #define HTTPS_STATE_ACTIVE&nbsp;&nbsp;&nbsp;3      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>HTTP Server state: session entry (and the session itself) are active. <p>Definition at line <a class="el" href="http__server_8h-source.html#l00092">92</a> of file <a class="el" href="http__server_8h-source.html">http_server.h</a>.    </td>  </tr></table><hr><h2>Function Documentation</h2><a name="a7" doxytag="http_server.h::https_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"> INT8 https_init </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>

⌨️ 快捷键说明

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