📄 webport_8h.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head> <meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Ethernut WebPort</title> <link href="doxygen.css" rel="stylesheet" type="text/css"></head><body bgcolor="#ffffff"><!-- Generated by Doxygen 1.4.1 --><div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div><div class="nav"><a class="el" href="dir_000000.html">webport</a></div><h1>webport.h File Reference</h1>Main header file. <a href="#_details">More...</a><p><p><a href="webport_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>Defines</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_w_p_defs.html#ga3">WP_STATUSOUT</a> "uart0"</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Device name for optional status messages. <a href="group__xg_w_p_defs.html#ga3"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga4" doxytag="webport.h::HTTP_PORT"></a>#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_w_p_defs.html#ga4">HTTP_PORT</a> 80</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">TCP port number to listen to. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga5" doxytag="webport.h::LOW_MEM_MARK"></a>#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_w_p_defs.html#ga5">LOW_MEM_MARK</a> 4096</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Delay responses if available memory falls below. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga6" doxytag="webport.h::NUM_HTTP_THREADS"></a>#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_w_p_defs.html#ga6">NUM_HTTP_THREADS</a> 6</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Total number of concurrent HTTP server threads. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga7" doxytag="webport.h::HTTP_THREAD_STACK"></a>#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_w_p_defs.html#ga7">HTTP_THREAD_STACK</a> 640</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Stack size given to each HTTP server thread. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga8" doxytag="webport.h::PORT_CONTROL_CGI"></a>#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_w_p_defs.html#ga8">PORT_CONTROL_CGI</a> "ccports.cgi"</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Name of the CGI to control CPU ports. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga9" doxytag="webport.h::PORT_STATUS_CGI"></a>#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_w_p_defs.html#ga9">PORT_STATUS_CGI</a> "csports.cgi"</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Name of the CGI to display CPU ports. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga10" doxytag="webport.h::RELAY_CONTROL_CGI"></a>#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_w_p_defs.html#ga10">RELAY_CONTROL_CGI</a> "relay.cgi"</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Name of the CGI to control shift register outputs. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga11" doxytag="webport.h::OPTO_STATUS_CGI"></a>#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_w_p_defs.html#ga11">OPTO_STATUS_CGI</a> "opto.cgi"</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Name of the CGI to display shift register inputs. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga12" doxytag="webport.h::CHARON_CONTROL_CGI"></a>#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_w_p_defs.html#ga12">CHARON_CONTROL_CGI</a> "ch2led.cgi"</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Name of the CGI to control Charon II LEDs. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga13" doxytag="webport.h::CHARON_STATUS_CGI"></a>#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_w_p_defs.html#ga13">CHARON_STATUS_CGI</a> "ch2switch.cgi"</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Name of the CGI to display Charon II switch settings. <br></td></tr><tr><td colspan="2"><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">__BEGIN_DECLS int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_c_g_i.html#ga10">CpuPortControl</a> (FILE *sostream, REQUEST *req)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">CGI callback function to control the CPU ports. <a href="group__xg_c_g_i.html#ga10"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_c_g_i.html#ga11">CpuPortStatus</a> (FILE *sostream, REQUEST *req)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">CGI callback function to display the status of the CPU ports. <a href="group__xg_c_g_i.html#ga11"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_c_g_i.html#ga12">SpiRelayControl</a> (FILE *sostream, REQUEST *req)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">CGI callback function to control a shift register output board. <a href="group__xg_c_g_i.html#ga12"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_c_g_i.html#ga13">SpiOptoStatus</a> (FILE *sostream, REQUEST *req)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">CGI callback function to query a shift register input board. <a href="group__xg_c_g_i.html#ga13"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_c_g_i.html#ga14">CharonLedControl</a> (FILE *stream, REQUEST *req)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">CGI callback function to control the Charon II LEDs. <a href="group__xg_c_g_i.html#ga14"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__xg_c_g_i.html#ga15">CharonSwitchStatus</a> (FILE *stream, REQUEST *req)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">CGI callback function to query the Charon II switches. <a href="group__xg_c_g_i.html#ga15"></a><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Main header file. <p><p>Definition in file <a class="el" href="webport_8h-source.html">webport.h</a>.<hr><address> <small> © 2002-2004 by egnite Software GmbH - visit <a href="http://www.ethernut.de/">http://www.ethernut.de/</a> </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -