You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
643 lines
42 KiB
643 lines
42 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<title>Server: include/http/response.h File Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(initResizable);
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body onload='searchBox.OnSelectItem(0);'>
|
|
<!-- Generated by Doxygen 1.7.3 -->
|
|
<script type="text/javascript"><!--
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
--></script>
|
|
<div id="top">
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">Server <span id="projectnumber">0.0.1</span></div>
|
|
<div id="projectbrief">HTTP/REST server implementation</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
<li id="searchli">
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
initNavTree('response_8h.html','');
|
|
</script>
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<h1>include/http/response.h File Reference</h1> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include <time.h></code><br/>
|
|
<code>#include <sys/types.h></code><br/>
|
|
<code>#include "class.h"</code><br/>
|
|
<code>#include "http/message.h"</code><br/>
|
|
<code>#include "session.h"</code><br/>
|
|
</div><div class="textblock"><div class="dynheader">
|
|
Include dependency graph for response.h:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h__incl.png" border="0" usemap="#include_2http_2response_8h" alt=""/></div>
|
|
<map name="include_2http_2response_8h" id="include_2http_2response_8h">
|
|
</map>
|
|
</div>
|
|
</div><div class="textblock"><div class="dynheader">
|
|
This graph shows which files directly or indirectly include this file:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h__dep__incl.png" border="0" usemap="#include_2http_2response_8hdep" alt=""/></div>
|
|
<map name="include_2http_2response_8hdep" id="include_2http_2response_8hdep">
|
|
<area shape="rect" id="node3" href="http_8h.html" title="include/http.h" alt="" coords="35,83,136,111"/></map>
|
|
</div>
|
|
</div>
|
|
<p><a href="response_8h_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structHttpResponse.html">HttpResponse</a></td></tr>
|
|
<tr><td colspan="2"><h2><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structHttpResponse.html">HttpResponse</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="response_8h.html#a7f82e65bb81c75c37a8910456708e209">httpResponse304</a> (const char *, size_t, const char *, size_t, const char *, size_t)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structHttpResponse.html">HttpResponse</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="response_8h.html#aeab2dc61e86e010d1eb3511eaf8d8ad0">httpResponse404</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structHttpResponse.html">HttpResponse</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="response_8h.html#a10bdf15320dd802fed606cadf5f3cc2c">httpResponse403</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structHttpResponse.html">HttpResponse</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="response_8h.html#abbc11579def96d082b2209330b504e85">httpResponseMe</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structHttpResponse.html">HttpResponse</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="response_8h.html#a729f0a6344c98bb226b4b0b490c8b70c">httpResponseLoginForm</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structHttpResponse.html">HttpResponse</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="response_8h.html#af6ecda2c1f45abc258b7c70767c6b392">httpResponseRandval</a> (time_t, int)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structHttpResponse.html">HttpResponse</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="response_8h.html#ab28f3da2d73c756c0640d286c3fd37c5">httpResponseSession</a> (<a class="el" href="structSession.html">Session</a>)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structHttpResponse.html">HttpResponse</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="response_8h.html#aa82eb4fe60ad9c266df2d885d0aad418">httpResponseAsset</a> (const char *, const char *, size_t, const char *, size_t)</td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<div class="textblock"><p>Represents one HTTP response.</p>
|
|
<dl class="author"><dt><b>Author:</b></dt><dd>Georg Hopp</dd></dl>
|
|
<p>Copyright © 2012 Georg Hopp</p>
|
|
<p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
|
|
<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
|
|
<p>You should have received a copy of the GNU General Public License along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>. </p>
|
|
|
|
<p>Definition in file <a class="el" href="response_8h_source.html">response.h</a>.</p>
|
|
</div><hr/><h2>Function Documentation</h2>
|
|
<a class="anchor" id="a7f82e65bb81c75c37a8910456708e209"></a><!-- doxytag: member="response.h::httpResponse304" ref="a7f82e65bb81c75c37a8910456708e209" args="(const char *, size_t, const char *, size_t, const char *, size_t)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="structHttpResponse.html">HttpResponse</a> httpResponse304 </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">size_t </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">size_t </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">size_t </td>
|
|
<td class="paramname"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="304_8c_source.html#l00035">35</a> of file <a class="el" href="304_8c_source.html">304.c</a>.</p>
|
|
<div class="fragment"><pre class="fragment">{
|
|
<a class="code" href="structHttpResponse.html">HttpResponse</a> response;
|
|
<a class="code" href="structHttpMessage.html">HttpMessage</a> message;
|
|
|
|
response = <span class="keyword">new</span>(<a class="code" href="structHttpResponse.html">HttpResponse</a>, <span class="stringliteral">"HTTP/1.1"</span>, 304, <span class="stringliteral">"Not Modified"</span>);
|
|
message = (<a class="code" href="structHttpMessage.html">HttpMessage</a>)response;
|
|
|
|
message-><a class="code" href="structHttpMessage.html#a84cecaa73f74d4aee6fb3788e9d8ac55">type</a> = <a class="code" href="message_8h.html#a6eff7bbbbe544b6c89f3a4e64e554cfba05fd8caa776d1411b014f603964f0397">HTTP_MESSAGE_BUFFERED</a>;
|
|
message-><a class="code" href="structHttpMessage.html#a3f564f59c907118c96e9d6899c728dc9">nbody</a> = 0;
|
|
message-><a class="code" href="structHttpMessage.html#a6f382a2c8814c8ed2cd6e18616762e66">body</a> = NULL;
|
|
|
|
<a class="code" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88">hashAdd</a>(message-><a class="code" href="structHttpMessage.html#a955ece5fe9f32a91da312c8b9e1f8ab4">header</a>,
|
|
<span class="keyword">new</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>, <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"Content-Type"</span>), mime, nmime));
|
|
<a class="code" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88">hashAdd</a>(message-><a class="code" href="structHttpMessage.html#a955ece5fe9f32a91da312c8b9e1f8ab4">header</a>,
|
|
<span class="keyword">new</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>, <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"ETag"</span>), etag, netag));
|
|
<a class="code" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88">hashAdd</a>(message-><a class="code" href="structHttpMessage.html#a955ece5fe9f32a91da312c8b9e1f8ab4">header</a>,
|
|
<span class="keyword">new</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>, <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"Last-Modified"</span>), mtime, nmtime));
|
|
|
|
<span class="keywordflow">return</span> response;
|
|
}
|
|
</pre></div>
|
|
<p><div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h_a7f82e65bb81c75c37a8910456708e209_cgraph.png" border="0" usemap="#response_8h_a7f82e65bb81c75c37a8910456708e209_cgraph" alt=""/></div>
|
|
<map name="response_8h_a7f82e65bb81c75c37a8910456708e209_cgraph" id="response_8h_a7f82e65bb81c75c37a8910456708e209_cgraph">
|
|
<area shape="rect" id="node3" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88" title="hashAdd" alt="" coords="181,5,256,33"/><area shape="rect" id="node5" href="hashable_8h.html#a18043293eb74b036ff3adf679afd7606" title="hashableHandleDouble" alt="" coords="304,5,464,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
<p><div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h_a7f82e65bb81c75c37a8910456708e209_icgraph.png" border="0" usemap="#response_8h_a7f82e65bb81c75c37a8910456708e209_icgraph" alt=""/></div>
|
|
<map name="response_8h_a7f82e65bb81c75c37a8910456708e209_icgraph" id="response_8h_a7f82e65bb81c75c37a8910456708e209_icgraph">
|
|
<area shape="rect" id="node3" href="asset_8c.html#ad693b054ffb0f2640f8732850f09adb0" title="httpResponseAsset" alt="" coords="181,5,320,33"/><area shape="rect" id="node5" href="process_8c.html#a88e0a288b7cb9bf0fd3921f258024228" title="httpWorkerGetAsset" alt="" coords="368,5,509,33"/><area shape="rect" id="node7" href="process_8c.html#a05882322d98d5710a5512c9255e03d71" title="httpWorkerProcess" alt="" coords="559,5,692,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a10bdf15320dd802fed606cadf5f3cc2c"></a><!-- doxytag: member="response.h::httpResponse403" ref="a10bdf15320dd802fed606cadf5f3cc2c" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="structHttpResponse.html">HttpResponse</a> httpResponse403 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="403_8c_source.html#l00036">36</a> of file <a class="el" href="403_8c_source.html">403.c</a>.</p>
|
|
<div class="fragment"><pre class="fragment">{
|
|
<a class="code" href="structHttpResponse.html">HttpResponse</a> response;
|
|
<a class="code" href="structHttpMessage.html">HttpMessage</a> message;
|
|
|
|
response = <span class="keyword">new</span>(<a class="code" href="structHttpResponse.html">HttpResponse</a>, <span class="stringliteral">"HTTP/1.1"</span>, 403, <span class="stringliteral">"Forbidden"</span>);
|
|
message = (<a class="code" href="structHttpMessage.html">HttpMessage</a>)response;
|
|
|
|
message-><a class="code" href="structHttpMessage.html#a84cecaa73f74d4aee6fb3788e9d8ac55">type</a> = <a class="code" href="message_8h.html#a6eff7bbbbe544b6c89f3a4e64e554cfba05fd8caa776d1411b014f603964f0397">HTTP_MESSAGE_BUFFERED</a>;
|
|
message-><a class="code" href="structHttpMessage.html#a3f564f59c907118c96e9d6899c728dc9">nbody</a> = 0;
|
|
message-><a class="code" href="structHttpMessage.html#a6f382a2c8814c8ed2cd6e18616762e66">body</a> = NULL;
|
|
|
|
<span class="keywordflow">return</span> response;
|
|
}
|
|
</pre></div>
|
|
<p><div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h_a10bdf15320dd802fed606cadf5f3cc2c_icgraph.png" border="0" usemap="#response_8h_a10bdf15320dd802fed606cadf5f3cc2c_icgraph" alt=""/></div>
|
|
<map name="response_8h_a10bdf15320dd802fed606cadf5f3cc2c_icgraph" id="response_8h_a10bdf15320dd802fed606cadf5f3cc2c_icgraph">
|
|
<area shape="rect" id="node3" href="process_8c.html#a05882322d98d5710a5512c9255e03d71" title="httpWorkerProcess" alt="" coords="183,5,316,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aeab2dc61e86e010d1eb3511eaf8d8ad0"></a><!-- doxytag: member="response.h::httpResponse404" ref="aeab2dc61e86e010d1eb3511eaf8d8ad0" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="structHttpResponse.html">HttpResponse</a> httpResponse404 </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="404_8c_source.html#l00047">47</a> of file <a class="el" href="404_8c_source.html">404.c</a>.</p>
|
|
<div class="fragment"><pre class="fragment">{
|
|
<a class="code" href="structHttpResponse.html">HttpResponse</a> response;
|
|
<a class="code" href="structHttpMessage.html">HttpMessage</a> message;
|
|
|
|
response = <span class="keyword">new</span>(<a class="code" href="structHttpResponse.html">HttpResponse</a>, <span class="stringliteral">"HTTP/1.1"</span>, 404, <span class="stringliteral">"Not Found"</span>);
|
|
message = (<a class="code" href="structHttpMessage.html">HttpMessage</a>)response;
|
|
|
|
<a class="code" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88">hashAdd</a>(message-><a class="code" href="structHttpMessage.html#a955ece5fe9f32a91da312c8b9e1f8ab4">header</a>,
|
|
<span class="keyword">new</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>, <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"Content-Type"</span>), <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"text/html"</span>)));
|
|
|
|
message-><a class="code" href="structHttpMessage.html#a84cecaa73f74d4aee6fb3788e9d8ac55">type</a> = <a class="code" href="message_8h.html#a6eff7bbbbe544b6c89f3a4e64e554cfba05fd8caa776d1411b014f603964f0397">HTTP_MESSAGE_BUFFERED</a>;
|
|
message-><a class="code" href="structHttpMessage.html#a3f564f59c907118c96e9d6899c728dc9">nbody</a> = <span class="keyword">sizeof</span>(<a class="code" href="404_8c.html#a668b468f247abfce706ce6eaf6caecc9">RESP_DATA</a>) - 1;
|
|
message-><a class="code" href="structHttpMessage.html#a6f382a2c8814c8ed2cd6e18616762e66">body</a> = malloc(<span class="keyword">sizeof</span>(<a class="code" href="404_8c.html#a668b468f247abfce706ce6eaf6caecc9">RESP_DATA</a>));
|
|
memcpy(message-><a class="code" href="structHttpMessage.html#a6f382a2c8814c8ed2cd6e18616762e66">body</a>, <a class="code" href="404_8c.html#a668b468f247abfce706ce6eaf6caecc9">RESP_DATA</a>, <span class="keyword">sizeof</span>(<a class="code" href="404_8c.html#a668b468f247abfce706ce6eaf6caecc9">RESP_DATA</a>));
|
|
|
|
<span class="keywordflow">return</span> response;
|
|
}
|
|
</pre></div>
|
|
<p><div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h_aeab2dc61e86e010d1eb3511eaf8d8ad0_cgraph.png" border="0" usemap="#response_8h_aeab2dc61e86e010d1eb3511eaf8d8ad0_cgraph" alt=""/></div>
|
|
<map name="response_8h_aeab2dc61e86e010d1eb3511eaf8d8ad0_cgraph" id="response_8h_aeab2dc61e86e010d1eb3511eaf8d8ad0_cgraph">
|
|
<area shape="rect" id="node3" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88" title="hashAdd" alt="" coords="181,5,256,33"/><area shape="rect" id="node5" href="hashable_8h.html#a18043293eb74b036ff3adf679afd7606" title="hashableHandleDouble" alt="" coords="304,5,464,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
<p><div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h_aeab2dc61e86e010d1eb3511eaf8d8ad0_icgraph.png" border="0" usemap="#response_8h_aeab2dc61e86e010d1eb3511eaf8d8ad0_icgraph" alt=""/></div>
|
|
<map name="response_8h_aeab2dc61e86e010d1eb3511eaf8d8ad0_icgraph" id="response_8h_aeab2dc61e86e010d1eb3511eaf8d8ad0_icgraph">
|
|
<area shape="rect" id="node3" href="process_8c.html#a05882322d98d5710a5512c9255e03d71" title="httpWorkerProcess" alt="" coords="183,5,316,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa82eb4fe60ad9c266df2d885d0aad418"></a><!-- doxytag: member="response.h::httpResponseAsset" ref="aa82eb4fe60ad9c266df2d885d0aad418" args="(const char *, const char *, size_t, const char *, size_t)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="structHttpResponse.html">HttpResponse</a> httpResponseAsset </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">size_t </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">size_t </td>
|
|
<td class="paramname"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="asset_8c_source.html#l00041">41</a> of file <a class="el" href="asset_8c_source.html">asset.c</a>.</p>
|
|
<div class="fragment"><pre class="fragment">{
|
|
<span class="keyword">struct </span>tm * tmp;
|
|
<span class="keywordtype">char</span> etag[200];
|
|
<span class="keywordtype">size_t</span> netag;
|
|
<span class="keywordtype">char</span> mtime[200];
|
|
<span class="keywordtype">size_t</span> nmtime;
|
|
<span class="keyword">struct </span>stat st;
|
|
<a class="code" href="structHttpResponse.html">HttpResponse</a> response;
|
|
<a class="code" href="structHttpMessage.html">HttpMessage</a> message;
|
|
<span class="keywordtype">int</span> handle;
|
|
|
|
handle = open(fname, O_RDONLY);
|
|
fstat(handle, &st);
|
|
|
|
tmp = localtime(&(st.st_mtime));
|
|
netag = strftime(etag, <span class="keyword">sizeof</span>(etag), <span class="stringliteral">"%s"</span>, tmp);
|
|
nmtime = strftime(mtime, <span class="keyword">sizeof</span>(mtime), <span class="stringliteral">"%a, %d %b %Y %T %Z"</span>, tmp);
|
|
|
|
<span class="keywordflow">if</span> (netag == nmatch && 0 == memcmp(etag, match, netag)) {
|
|
<span class="keywordflow">return</span> <a class="code" href="response_8h.html#a7f82e65bb81c75c37a8910456708e209">httpResponse304</a>(mime, nmime, etag, netag, mtime, nmtime);
|
|
}
|
|
|
|
response = <span class="keyword">new</span>(<a class="code" href="structHttpResponse.html">HttpResponse</a>, <span class="stringliteral">"HTTP/1.1"</span>, 200, <span class="stringliteral">"OK"</span>);
|
|
message = (<a class="code" href="structHttpMessage.html">HttpMessage</a>)response;
|
|
|
|
message-><a class="code" href="structHttpMessage.html#a84cecaa73f74d4aee6fb3788e9d8ac55">type</a> = <a class="code" href="message_8h.html#a6eff7bbbbe544b6c89f3a4e64e554cfba208ae2ffd8f3f52df689b59ea1164a16">HTTP_MESSAGE_PIPED</a>;
|
|
message-><a class="code" href="structHttpMessage.html#ae3dcbb08dc99d6b2be58d2fa6d414aa3">handle</a> = <span class="keyword">new</span>(<a class="code" href="structStream.html">Stream</a>, <a class="code" href="stream_2stream_8h.html#afd140730fff620c727747dbf04e76630a3cbce5e7e6860cab7950f1d0ca92ba84">STREAM_FD</a>, handle);
|
|
message-><a class="code" href="structHttpMessage.html#a3f564f59c907118c96e9d6899c728dc9">nbody</a> = st.st_size;
|
|
|
|
<a class="code" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88">hashAdd</a>(message-><a class="code" href="structHttpMessage.html#a955ece5fe9f32a91da312c8b9e1f8ab4">header</a>,
|
|
<span class="keyword">new</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>, <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"Content-Type"</span>), mime, nmime));
|
|
<a class="code" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88">hashAdd</a>(message-><a class="code" href="structHttpMessage.html#a955ece5fe9f32a91da312c8b9e1f8ab4">header</a>,
|
|
<span class="keyword">new</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>, <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"ETag"</span>), etag, netag));
|
|
<a class="code" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88">hashAdd</a>(message-><a class="code" href="structHttpMessage.html#a955ece5fe9f32a91da312c8b9e1f8ab4">header</a>,
|
|
<span class="keyword">new</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>, <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"Last-Modified"</span>), mtime, nmtime));
|
|
|
|
<span class="keywordflow">return</span> response;
|
|
}
|
|
</pre></div>
|
|
<p><div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h_aa82eb4fe60ad9c266df2d885d0aad418_cgraph.png" border="0" usemap="#response_8h_aa82eb4fe60ad9c266df2d885d0aad418_cgraph" alt=""/></div>
|
|
<map name="response_8h_aa82eb4fe60ad9c266df2d885d0aad418_cgraph" id="response_8h_aa82eb4fe60ad9c266df2d885d0aad418_cgraph">
|
|
<area shape="rect" id="node3" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88" title="hashAdd" alt="" coords="368,5,443,33"/><area shape="rect" id="node7" href="response_8h.html#a7f82e65bb81c75c37a8910456708e209" title="httpResponse304" alt="" coords="193,30,319,58"/><area shape="rect" id="node5" href="hashable_8h.html#a18043293eb74b036ff3adf679afd7606" title="hashableHandleDouble" alt="" coords="491,5,651,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
<p><div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h_aa82eb4fe60ad9c266df2d885d0aad418_icgraph.png" border="0" usemap="#response_8h_aa82eb4fe60ad9c266df2d885d0aad418_icgraph" alt=""/></div>
|
|
<map name="response_8h_aa82eb4fe60ad9c266df2d885d0aad418_icgraph" id="response_8h_aa82eb4fe60ad9c266df2d885d0aad418_icgraph">
|
|
<area shape="rect" id="node3" href="process_8c.html#a88e0a288b7cb9bf0fd3921f258024228" title="httpWorkerGetAsset" alt="" coords="192,5,333,33"/><area shape="rect" id="node5" href="process_8c.html#a05882322d98d5710a5512c9255e03d71" title="httpWorkerProcess" alt="" coords="383,5,516,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a729f0a6344c98bb226b4b0b490c8b70c"></a><!-- doxytag: member="response.h::httpResponseLoginForm" ref="a729f0a6344c98bb226b4b0b490c8b70c" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="structHttpResponse.html">HttpResponse</a> httpResponseLoginForm </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="login__form_8c_source.html#l00044">44</a> of file <a class="el" href="login__form_8c_source.html">login_form.c</a>.</p>
|
|
<div class="fragment"><pre class="fragment">{
|
|
<a class="code" href="structHttpResponse.html">HttpResponse</a> response;
|
|
<a class="code" href="structHttpMessage.html">HttpMessage</a> message;
|
|
|
|
response = <span class="keyword">new</span>(<a class="code" href="structHttpResponse.html">HttpResponse</a>, <span class="stringliteral">"HTTP/1.1"</span>, 200, <span class="stringliteral">"OK"</span>);
|
|
message = (<a class="code" href="structHttpMessage.html">HttpMessage</a>)response;
|
|
|
|
<a class="code" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88">hashAdd</a>(message-><a class="code" href="structHttpMessage.html#a955ece5fe9f32a91da312c8b9e1f8ab4">header</a>,
|
|
<span class="keyword">new</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>, <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"Content-Type"</span>), <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"text/html"</span>)));
|
|
|
|
message-><a class="code" href="structHttpMessage.html#a84cecaa73f74d4aee6fb3788e9d8ac55">type</a> = <a class="code" href="message_8h.html#a6eff7bbbbe544b6c89f3a4e64e554cfba05fd8caa776d1411b014f603964f0397">HTTP_MESSAGE_BUFFERED</a>;
|
|
|
|
message-><a class="code" href="structHttpMessage.html#a3f564f59c907118c96e9d6899c728dc9">nbody</a> = <span class="keyword">sizeof</span>(<a class="code" href="login__form_8c.html#a668b468f247abfce706ce6eaf6caecc9">RESP_DATA</a>)-1;
|
|
message-><a class="code" href="structHttpMessage.html#a6f382a2c8814c8ed2cd6e18616762e66">body</a> = malloc(message-><a class="code" href="structHttpMessage.html#a3f564f59c907118c96e9d6899c728dc9">nbody</a>);
|
|
memcpy(message-><a class="code" href="structHttpMessage.html#a6f382a2c8814c8ed2cd6e18616762e66">body</a>, <a class="code" href="login__form_8c.html#a668b468f247abfce706ce6eaf6caecc9">RESP_DATA</a>, message-><a class="code" href="structHttpMessage.html#a3f564f59c907118c96e9d6899c728dc9">nbody</a>);
|
|
|
|
<span class="keywordflow">return</span> response;
|
|
}
|
|
</pre></div>
|
|
<p><div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h_a729f0a6344c98bb226b4b0b490c8b70c_cgraph.png" border="0" usemap="#response_8h_a729f0a6344c98bb226b4b0b490c8b70c_cgraph" alt=""/></div>
|
|
<map name="response_8h_a729f0a6344c98bb226b4b0b490c8b70c_cgraph" id="response_8h_a729f0a6344c98bb226b4b0b490c8b70c_cgraph">
|
|
<area shape="rect" id="node3" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88" title="hashAdd" alt="" coords="221,5,296,33"/><area shape="rect" id="node5" href="hashable_8h.html#a18043293eb74b036ff3adf679afd7606" title="hashableHandleDouble" alt="" coords="344,5,504,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abbc11579def96d082b2209330b504e85"></a><!-- doxytag: member="response.h::httpResponseMe" ref="abbc11579def96d082b2209330b504e85" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="structHttpResponse.html">HttpResponse</a> httpResponseMe </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af6ecda2c1f45abc258b7c70767c6b392"></a><!-- doxytag: member="response.h::httpResponseRandval" ref="af6ecda2c1f45abc258b7c70767c6b392" args="(time_t, int)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="structHttpResponse.html">HttpResponse</a> httpResponseRandval </td>
|
|
<td>(</td>
|
|
<td class="paramtype">time_t </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="randval_8c_source.html#l00041">41</a> of file <a class="el" href="randval_8c_source.html">randval.c</a>.</p>
|
|
<div class="fragment"><pre class="fragment">{
|
|
<span class="keywordtype">char</span> buffer[200];
|
|
<a class="code" href="structHttpResponse.html">HttpResponse</a> response;
|
|
<a class="code" href="structHttpMessage.html">HttpMessage</a> message;
|
|
<span class="keywordtype">size_t</span> nbuf;
|
|
time_t remaining;
|
|
|
|
response = <span class="keyword">new</span>(<a class="code" href="structHttpResponse.html">HttpResponse</a>, <span class="stringliteral">"HTTP/1.1"</span>, 200, <span class="stringliteral">"OK"</span>);
|
|
message = (<a class="code" href="structHttpMessage.html">HttpMessage</a>)response;
|
|
|
|
<a class="code" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88">hashAdd</a>(message-><a class="code" href="structHttpMessage.html#a955ece5fe9f32a91da312c8b9e1f8ab4">header</a>,
|
|
<span class="keyword">new</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>, <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"Content-Type"</span>), <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"application/json"</span>)));
|
|
|
|
message-><a class="code" href="structHttpMessage.html#a84cecaa73f74d4aee6fb3788e9d8ac55">type</a> = <a class="code" href="message_8h.html#a6eff7bbbbe544b6c89f3a4e64e554cfba05fd8caa776d1411b014f603964f0397">HTTP_MESSAGE_BUFFERED</a>;
|
|
|
|
remaining = 10 - (time(NULL) - ctime);
|
|
|
|
nbuf = sprintf(buffer, <a class="code" href="randval_8c.html#a668b468f247abfce706ce6eaf6caecc9">RESP_DATA</a>, ctime, remaining, value);
|
|
|
|
message-><a class="code" href="structHttpMessage.html#a3f564f59c907118c96e9d6899c728dc9">nbody</a> = nbuf;
|
|
message-><a class="code" href="structHttpMessage.html#a6f382a2c8814c8ed2cd6e18616762e66">body</a> = malloc(nbuf);
|
|
memcpy(message-><a class="code" href="structHttpMessage.html#a6f382a2c8814c8ed2cd6e18616762e66">body</a>, buffer, nbuf);
|
|
|
|
<span class="keywordflow">return</span> response;
|
|
}
|
|
</pre></div>
|
|
<p><div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h_af6ecda2c1f45abc258b7c70767c6b392_cgraph.png" border="0" usemap="#response_8h_af6ecda2c1f45abc258b7c70767c6b392_cgraph" alt=""/></div>
|
|
<map name="response_8h_af6ecda2c1f45abc258b7c70767c6b392_cgraph" id="response_8h_af6ecda2c1f45abc258b7c70767c6b392_cgraph">
|
|
<area shape="rect" id="node3" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88" title="hashAdd" alt="" coords="205,5,280,33"/><area shape="rect" id="node5" href="hashable_8h.html#a18043293eb74b036ff3adf679afd7606" title="hashableHandleDouble" alt="" coords="328,5,488,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
<p><div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h_af6ecda2c1f45abc258b7c70767c6b392_icgraph.png" border="0" usemap="#response_8h_af6ecda2c1f45abc258b7c70767c6b392_icgraph" alt=""/></div>
|
|
<map name="response_8h_af6ecda2c1f45abc258b7c70767c6b392_icgraph" id="response_8h_af6ecda2c1f45abc258b7c70767c6b392_icgraph">
|
|
<area shape="rect" id="node3" href="process_8c.html#a05882322d98d5710a5512c9255e03d71" title="httpWorkerProcess" alt="" coords="207,5,340,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab28f3da2d73c756c0640d286c3fd37c5"></a><!-- doxytag: member="response.h::httpResponseSession" ref="ab28f3da2d73c756c0640d286c3fd37c5" args="(Session)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="structHttpResponse.html">HttpResponse</a> httpResponseSession </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structSession.html">Session</a> </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="http_2response_2session_8c_source.html#l00042">42</a> of file <a class="el" href="http_2response_2session_8c_source.html">session.c</a>.</p>
|
|
<div class="fragment"><pre class="fragment">{
|
|
<span class="keywordtype">char</span> buffer[200];
|
|
<a class="code" href="structHttpResponse.html">HttpResponse</a> response;
|
|
<a class="code" href="structHttpMessage.html">HttpMessage</a> message;
|
|
<span class="keywordtype">size_t</span> nbuf;
|
|
|
|
response = <span class="keyword">new</span>(<a class="code" href="structHttpResponse.html">HttpResponse</a>, <span class="stringliteral">"HTTP/1.1"</span>, 200, <span class="stringliteral">"OK"</span>);
|
|
message = (<a class="code" href="structHttpMessage.html">HttpMessage</a>)response;
|
|
|
|
<a class="code" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88">hashAdd</a>(message-><a class="code" href="structHttpMessage.html#a955ece5fe9f32a91da312c8b9e1f8ab4">header</a>,
|
|
<span class="keyword">new</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>, <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"Content-Type"</span>), <a class="code" href="memory_8h.html#a2a9234835facec8c1ebca59c214391e3" title="Const STRing Argument.">CSTRA</a>(<span class="stringliteral">"application/json"</span>)));
|
|
|
|
message-><a class="code" href="structHttpMessage.html#a84cecaa73f74d4aee6fb3788e9d8ac55">type</a> = <a class="code" href="message_8h.html#a6eff7bbbbe544b6c89f3a4e64e554cfba05fd8caa776d1411b014f603964f0397">HTTP_MESSAGE_BUFFERED</a>;
|
|
|
|
nbuf = sprintf(buffer, <a class="code" href="http_2response_2session_8c.html#a668b468f247abfce706ce6eaf6caecc9">RESP_DATA</a>,
|
|
(NULL != session)? session->id : 0,
|
|
(NULL != session)? <a class="code" href="session_8h.html#ad9da4a25e5fdbb8957a013ad739e032d">SESSION_LIVETIME</a> : 0,
|
|
(NULL != session)? session->livetime - time(NULL) : 0,
|
|
(NULL != session)? session->username : <span class="stringliteral">""</span>);
|
|
|
|
message-><a class="code" href="structHttpMessage.html#a3f564f59c907118c96e9d6899c728dc9">nbody</a> = nbuf;
|
|
message-><a class="code" href="structHttpMessage.html#a6f382a2c8814c8ed2cd6e18616762e66">body</a> = malloc(nbuf);
|
|
memcpy(message-><a class="code" href="structHttpMessage.html#a6f382a2c8814c8ed2cd6e18616762e66">body</a>, buffer, nbuf);
|
|
|
|
<span class="keywordflow">return</span> response;
|
|
}
|
|
</pre></div>
|
|
<p><div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h_ab28f3da2d73c756c0640d286c3fd37c5_cgraph.png" border="0" usemap="#response_8h_ab28f3da2d73c756c0640d286c3fd37c5_cgraph" alt=""/></div>
|
|
<map name="response_8h_ab28f3da2d73c756c0640d286c3fd37c5_cgraph" id="response_8h_ab28f3da2d73c756c0640d286c3fd37c5_cgraph">
|
|
<area shape="rect" id="node3" href="hash_2hash_8h.html#a15c5c8fa9517a5dadcdbdd024f3dea88" title="hashAdd" alt="" coords="205,5,280,33"/><area shape="rect" id="node5" href="hashable_8h.html#a18043293eb74b036ff3adf679afd7606" title="hashableHandleDouble" alt="" coords="328,5,488,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
<p><div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="response_8h_ab28f3da2d73c756c0640d286c3fd37c5_icgraph.png" border="0" usemap="#response_8h_ab28f3da2d73c756c0640d286c3fd37c5_icgraph" alt=""/></div>
|
|
<map name="response_8h_ab28f3da2d73c756c0640d286c3fd37c5_icgraph" id="response_8h_ab28f3da2d73c756c0640d286c3fd37c5_icgraph">
|
|
<area shape="rect" id="node3" href="process_8c.html#a05882322d98d5710a5512c9255e03d71" title="httpWorkerProcess" alt="" coords="207,5,340,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="response_8h.html">response.h</a> </li>
|
|
<li class="footer">Generated on Wed Mar 28 2012 10:39:44 for Server by 
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
|
|
</ul>
|
|
</div>
|
|
<!--- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Defines</a></div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
|
|
</body>
|
|
</html>
|