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.
266 lines
14 KiB
266 lines
14 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/interface/http_intro.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('http__intro_8h.html','');
|
|
</script>
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<h1>include/http/interface/http_intro.h File Reference</h1> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include <sys/types.h></code><br/>
|
|
</div><div class="textblock"><div class="dynheader">
|
|
Include dependency graph for http_intro.h:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="http__intro_8h__incl.png" border="0" usemap="#include_2http_2interface_2http__intro_8h" alt=""/></div>
|
|
<map name="include_2http_2interface_2http__intro_8h" id="include_2http_2interface_2http__intro_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="http__intro_8h__dep__incl.png" border="0" usemap="#include_2http_2interface_2http__intro_8hdep" alt=""/></div>
|
|
<map name="include_2http_2interface_2http__intro_8hdep" id="include_2http_2interface_2http__intro_8hdep">
|
|
<area shape="rect" id="node3" href="http_8h.html" title="include/http.h" alt="" coords="63,83,164,111"/></map>
|
|
</div>
|
|
</div>
|
|
<p><a href="http__intro_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="structi__HttpIntro.html">i_HttpIntro</a></td></tr>
|
|
<tr><td colspan="2"><h2><a name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">typedef size_t(* </td><td class="memItemRight" valign="bottom"><a class="el" href="http__intro_8h.html#ab63a85aeb6b818fff2f5999a1f1116fb">fptr_httpIntroSizeGet</a> )(void *)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">typedef char *(* </td><td class="memItemRight" valign="bottom"><a class="el" href="http__intro_8h.html#aa5ed7239c993f183501f891c58e6ed38">fptr_httpIntroToString</a> )(void *, char *)</td></tr>
|
|
<tr><td colspan="2"><h2><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="http__intro_8h.html#a3922302df6136db7c0e4ddd6ef737006">httpIntroSizeGet</a> (void *)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http__intro_8h.html#af41c89fd27103661df0f89351483f93e">httpIntroToString</a> (void *, char *)</td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<div class="textblock"><p>Virtual (dynamically bound) methods to get the size of the http intro line. As i have two kinds of http messages (response, request) which need a slitly different handling when turning the data into a string.</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="http__intro_8h_source.html">http_intro.h</a>.</p>
|
|
</div><hr/><h2>Typedef Documentation</h2>
|
|
<a class="anchor" id="ab63a85aeb6b818fff2f5999a1f1116fb"></a><!-- doxytag: member="http_intro.h::fptr_httpIntroSizeGet" ref="ab63a85aeb6b818fff2f5999a1f1116fb" args=")(void *)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef size_t(* <a class="el" href="http__intro_8h.html#ab63a85aeb6b818fff2f5999a1f1116fb">fptr_httpIntroSizeGet</a>)(void *)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="http__intro_8h_source.html#l00031">31</a> of file <a class="el" href="http__intro_8h_source.html">http_intro.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa5ed7239c993f183501f891c58e6ed38"></a><!-- doxytag: member="http_intro.h::fptr_httpIntroToString" ref="aa5ed7239c993f183501f891c58e6ed38" args=")(void *, char *)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef char*(* <a class="el" href="http__intro_8h.html#aa5ed7239c993f183501f891c58e6ed38">fptr_httpIntroToString</a>)(void *, char *)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="http__intro_8h_source.html#l00032">32</a> of file <a class="el" href="http__intro_8h_source.html">http_intro.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Function Documentation</h2>
|
|
<a class="anchor" id="a3922302df6136db7c0e4ddd6ef737006"></a><!-- doxytag: member="http_intro.h::httpIntroSizeGet" ref="a3922302df6136db7c0e4ddd6ef737006" args="(void *)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">size_t httpIntroSizeGet </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="i__http__intro_8c_source.html#l00032">32</a> of file <a class="el" href="i__http__intro_8c_source.html">i_http_intro.c</a>.</p>
|
|
<div class="fragment"><pre class="fragment">{
|
|
<span class="keywordtype">size_t</span> ret;
|
|
|
|
<a class="code" href="class_2class_8h.html#a06fb0f2e08d1cbacbed6784319e7c3fc">RETCALL</a>(<span class="keywordtype">object</span>, HttpIntro, sizeGet, ret);
|
|
|
|
<span class="keywordflow">return</span> ret;
|
|
}
|
|
</pre></div>
|
|
<p><div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="http__intro_8h_a3922302df6136db7c0e4ddd6ef737006_icgraph.png" border="0" usemap="#http__intro_8h_a3922302df6136db7c0e4ddd6ef737006_icgraph" alt=""/></div>
|
|
<map name="http__intro_8h_a3922302df6136db7c0e4ddd6ef737006_icgraph" id="http__intro_8h_a3922302df6136db7c0e4ddd6ef737006_icgraph">
|
|
<area shape="rect" id="node3" href="header__size__get_8c.html#ab30885fa82741d068d75401e2b56c388" title="httpMessageHeaderSizeGet" alt="" coords="173,5,363,33"/><area shape="rect" id="node5" href="http_2writer_2write_8c.html#accd7a3cfe29607d72a35fe3e3d187c48" title="httpWriterWrite" alt="" coords="411,5,520,33"/><area shape="rect" id="node7" href="answer_8c.html#add3fe105c4e782e5b1387cb596792bbe" title="httpWorkerWrite" alt="" coords="568,5,685,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af41c89fd27103661df0f89351483f93e"></a><!-- doxytag: member="http_intro.h::httpIntroToString" ref="af41c89fd27103661df0f89351483f93e" args="(void *, char *)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">char* httpIntroToString </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname">, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </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="i__http__intro_8c_source.html#l00042">42</a> of file <a class="el" href="i__http__intro_8c_source.html">i_http_intro.c</a>.</p>
|
|
<div class="fragment"><pre class="fragment">{
|
|
<span class="keywordtype">char</span> * ret;
|
|
|
|
<a class="code" href="class_2class_8h.html#a06fb0f2e08d1cbacbed6784319e7c3fc">RETCALL</a>(<span class="keywordtype">object</span>, HttpIntro, toString, ret, <span class="keywordtype">string</span>);
|
|
|
|
<span class="keywordflow">return</span> ret;
|
|
}
|
|
</pre></div>
|
|
<p><div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="http__intro_8h_af41c89fd27103661df0f89351483f93e_icgraph.png" border="0" usemap="#http__intro_8h_af41c89fd27103661df0f89351483f93e_icgraph" alt=""/></div>
|
|
<map name="http__intro_8h_af41c89fd27103661df0f89351483f93e_icgraph" id="http__intro_8h_af41c89fd27103661df0f89351483f93e_icgraph">
|
|
<area shape="rect" id="node3" href="header__to__string_8c.html#ad5eb0c2ed8b062e5025b6c11b0f158d0" title="httpMessageHeaderToString" alt="" coords="175,5,364,33"/><area shape="rect" id="node5" href="http_2writer_2write_8c.html#accd7a3cfe29607d72a35fe3e3d187c48" title="httpWriterWrite" alt="" coords="413,5,523,33"/><area shape="rect" id="node7" href="answer_8c.html#add3fe105c4e782e5b1387cb596792bbe" title="httpWorkerWrite" alt="" coords="571,5,688,33"/></map>
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="http__intro_8h.html">http_intro.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>
|