Commit 459ecc5d147c47194b288fa5c8c03925601446aa

Authored by Georg Hopp
1 parent cb75a749

updated docs

Showing 100 changed files with 3370 additions and 179 deletions

Too many changes to show.

To preserve performance only 100 of 100+ files are displayed.

  1 +2012-02-09 22:39:08 +0100 Georg Hopp
  2 +
  3 + * updated docs (HEAD, master)
  4 +
1 5 2012-02-09 22:34:32 +0100 Georg Hopp
2 6
3   - * start split of request parser (HEAD, master)
  7 + * start split of request parser (origin/master, origin/HEAD)
4 8
5 9 2012-02-09 11:44:17 +0100 Georg Hopp
6 10
7   - * no more request body debig output (origin/master, origin/HEAD)
  11 + * no more request body debig output
8 12
9 13 2012-02-09 11:32:28 +0100 Georg Hopp
10 14
... ...
... ... @@ -84,6 +84,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
84 84 </div>
85 85 <div class="contents">
86 86 <div class="textblock"><code>#include &lt;errno.h&gt;</code><br/>
  87 +<code>#include &lt;unistd.h&gt;</code><br/>
87 88 <code>#include &quot;socket.h&quot;</code><br/>
88 89 <code>#include &quot;interface/class.h&quot;</code><br/>
89 90 <code>#include &quot;interface/logger.h&quot;</code><br/>
... ... @@ -91,6 +92,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
91 92 Include dependency graph for accept.c:</div>
92 93 <div class="dyncontent">
93 94 <div class="center"><img src="accept_8c__incl.png" border="0" usemap="#src_2socket_2accept_8c" alt=""/></div>
  95 +<map name="src_2socket_2accept_8c" id="src_2socket_2accept_8c">
  96 +</map>
94 97 </div>
95 98 </div>
96 99 <p><a href="accept_8c_source.html">Go to the source code of this file.</a></p>
... ... @@ -129,7 +132,7 @@ Functions</h2></td></tr>
129 132 <p>: change port to remote port on success</p>
130 133 </p>
131 134
132   -<p>Definition at line <a class="el" href="accept_8c_source.html#l00008">8</a> of file <a class="el" href="accept_8c_source.html">accept.c</a>.</p>
  135 +<p>Definition at line <a class="el" href="accept_8c_source.html#l00009">9</a> of file <a class="el" href="accept_8c_source.html">accept.c</a>.</p>
133 136 <div class="fragment"><pre class="fragment">{
134 137 <a class="code" href="structSock.html">Sock</a> sock; <span class="comment">/* Socket for client */</span>
135 138 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> len; <span class="comment">/* Length of client address data structure */</span>
... ... @@ -168,7 +171,7 @@ Here is the call graph for this function:</div>
168 171 <div id="nav-path" class="navpath">
169 172 <ul>
170 173 <li class="navelem"><a class="el" href="accept_8c.html">accept.c</a> </li>
171   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  174 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
172 175 <a href="http://www.doxygen.org/index.html">
173 176 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
174 177 </ul>
... ...
1   -1f351f0407c3df2f6b6e1d1a4f5422ba
\ No newline at end of file
  1 +c14cdcfeafedf0a0bd7fd5c8ff12c3a4
\ No newline at end of file
... ...

2 KB | W: | H:

2.34 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
... ... @@ -82,42 +82,43 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
82 82 </div>
83 83 <div class="contents">
84 84 <a href="accept_8c.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &lt;errno.h&gt;</span> <span class="comment">/* for errno */</span>
85   -<a name="l00002"></a>00002
86   -<a name="l00003"></a>00003 <span class="preprocessor">#include &quot;socket.h&quot;</span>
87   -<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;interface/class.h&quot;</span>
88   -<a name="l00005"></a>00005 <span class="preprocessor">#include &quot;interface/logger.h&quot;</span>
89   -<a name="l00006"></a>00006
90   -<a name="l00007"></a>00007 <a class="code" href="structSock.html">Sock</a>
91   -<a name="l00008"></a><a class="code" href="accept_8c.html#a46aa6b495ccf752e844f93bf46c9edd6">00008</a> <a class="code" href="socket_8h.html#a46aa6b495ccf752e844f93bf46c9edd6">socketAccept</a>(<a class="code" href="structSock.html">Sock</a> <span class="keyword">this</span>, <span class="keywordtype">char</span> remoteAddr[16])
92   -<a name="l00009"></a>00009 {
93   -<a name="l00010"></a>00010 <a class="code" href="structSock.html">Sock</a> sock; <span class="comment">/* Socket for client */</span>
94   -<a name="l00011"></a>00011 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> len; <span class="comment">/* Length of client address data structure */</span>
95   -<a name="l00012"></a>00012
96   -<a name="l00013"></a>00013 <span class="comment">/* Set the size of the in-out parameter */</span>
97   -<a name="l00014"></a>00014 len = <span class="keyword">sizeof</span>(this-&gt;addr);
98   -<a name="l00015"></a>00015
99   -<a name="l00023"></a>00023 sock = <span class="keyword">new</span>(<a class="code" href="structSock.html">Sock</a>, this-&gt;log, this-&gt;port);
100   -<a name="l00024"></a>00024 close(sock-&gt;<a class="code" href="structSock.html#a1b5945aef923a906501d7abac82449c3">handle</a>);
101   -<a name="l00029"></a>00029 <span class="comment">/* Wait for a client to connect */</span>
102   -<a name="l00030"></a>00030 sock-&gt;<a class="code" href="structSock.html#a1b5945aef923a906501d7abac82449c3">handle</a> = accept(this-&gt;handle, (<span class="keyword">struct</span> sockaddr *) &amp;(sock-&gt;addr), &amp;len);
103   -<a name="l00031"></a>00031 <span class="keywordflow">if</span> (-1 == sock-&gt;<a class="code" href="structSock.html#a1b5945aef923a906501d7abac82449c3">handle</a>) {
104   -<a name="l00032"></a>00032 <a class="code" href="interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e">loggerLog</a>(this-&gt;log, <a class="code" href="logger_8h.html#a63296c69f4b9bf51d6756a5d2c482d1ea236a2401a6ed3e96611f3a14352082ad">LOGGER_WARNING</a>,
105   -<a name="l00033"></a>00033 <span class="stringliteral">&quot;error accepting connection: %s&quot;</span>, strerror(errno));
106   -<a name="l00034"></a>00034 } <span class="keywordflow">else</span> {
107   -<a name="l00035"></a>00035 <a class="code" href="interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e">loggerLog</a>(this-&gt;log, <a class="code" href="logger_8h.html#a63296c69f4b9bf51d6756a5d2c482d1ea3a56c2c000665930df74a9ebf9047316">LOGGER_INFO</a>,
108   -<a name="l00036"></a>00036 <span class="stringliteral">&quot;handling client %s\n&quot;</span>, inet_ntoa((sock-&gt;addr).sin_addr));
109   -<a name="l00037"></a>00037 }
110   -<a name="l00038"></a>00038
111   -<a name="l00039"></a>00039 <span class="keywordflow">return</span> sock;
112   -<a name="l00040"></a>00040 }
113   -<a name="l00041"></a>00041
114   -<a name="l00042"></a>00042 <span class="comment">// vim: set ts=4 sw=4:</span>
  85 +<a name="l00002"></a>00002 <span class="preprocessor">#include &lt;unistd.h&gt;</span>
  86 +<a name="l00003"></a>00003
  87 +<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;socket.h&quot;</span>
  88 +<a name="l00005"></a>00005 <span class="preprocessor">#include &quot;interface/class.h&quot;</span>
  89 +<a name="l00006"></a>00006 <span class="preprocessor">#include &quot;interface/logger.h&quot;</span>
  90 +<a name="l00007"></a>00007
  91 +<a name="l00008"></a>00008 <a class="code" href="structSock.html">Sock</a>
  92 +<a name="l00009"></a><a class="code" href="accept_8c.html#a46aa6b495ccf752e844f93bf46c9edd6">00009</a> <a class="code" href="socket_8h.html#a46aa6b495ccf752e844f93bf46c9edd6">socketAccept</a>(<a class="code" href="structSock.html">Sock</a> <span class="keyword">this</span>, <span class="keywordtype">char</span> remoteAddr[16])
  93 +<a name="l00010"></a>00010 {
  94 +<a name="l00011"></a>00011 <a class="code" href="structSock.html">Sock</a> sock; <span class="comment">/* Socket for client */</span>
  95 +<a name="l00012"></a>00012 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> len; <span class="comment">/* Length of client address data structure */</span>
  96 +<a name="l00013"></a>00013
  97 +<a name="l00014"></a>00014 <span class="comment">/* Set the size of the in-out parameter */</span>
  98 +<a name="l00015"></a>00015 len = <span class="keyword">sizeof</span>(this-&gt;addr);
  99 +<a name="l00016"></a>00016
  100 +<a name="l00024"></a>00024 sock = <span class="keyword">new</span>(<a class="code" href="structSock.html">Sock</a>, this-&gt;log, this-&gt;port);
  101 +<a name="l00025"></a>00025 close(sock-&gt;<a class="code" href="structSock.html#a1b5945aef923a906501d7abac82449c3">handle</a>);
  102 +<a name="l00030"></a>00030 <span class="comment">/* Wait for a client to connect */</span>
  103 +<a name="l00031"></a>00031 sock-&gt;<a class="code" href="structSock.html#a1b5945aef923a906501d7abac82449c3">handle</a> = accept(this-&gt;handle, (<span class="keyword">struct</span> sockaddr *) &amp;(sock-&gt;addr), &amp;len);
  104 +<a name="l00032"></a>00032 <span class="keywordflow">if</span> (-1 == sock-&gt;<a class="code" href="structSock.html#a1b5945aef923a906501d7abac82449c3">handle</a>) {
  105 +<a name="l00033"></a>00033 <a class="code" href="interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e">loggerLog</a>(this-&gt;log, <a class="code" href="logger_8h.html#a63296c69f4b9bf51d6756a5d2c482d1ea236a2401a6ed3e96611f3a14352082ad">LOGGER_WARNING</a>,
  106 +<a name="l00034"></a>00034 <span class="stringliteral">&quot;error accepting connection: %s&quot;</span>, strerror(errno));
  107 +<a name="l00035"></a>00035 } <span class="keywordflow">else</span> {
  108 +<a name="l00036"></a>00036 <a class="code" href="interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e">loggerLog</a>(this-&gt;log, <a class="code" href="logger_8h.html#a63296c69f4b9bf51d6756a5d2c482d1ea3a56c2c000665930df74a9ebf9047316">LOGGER_INFO</a>,
  109 +<a name="l00037"></a>00037 <span class="stringliteral">&quot;handling client %s\n&quot;</span>, inet_ntoa((sock-&gt;addr).sin_addr));
  110 +<a name="l00038"></a>00038 }
  111 +<a name="l00039"></a>00039
  112 +<a name="l00040"></a>00040 <span class="keywordflow">return</span> sock;
  113 +<a name="l00041"></a>00041 }
  114 +<a name="l00042"></a>00042
  115 +<a name="l00043"></a>00043 <span class="comment">// vim: set ts=4 sw=4:</span>
115 116 </pre></div></div>
116 117 </div>
117 118 <div id="nav-path" class="navpath">
118 119 <ul>
119 120 <li class="navelem"><a class="el" href="accept_8c.html">accept.c</a> </li>
120   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  121 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
121 122 <a href="http://www.doxygen.org/index.html">
122 123 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
123 124 </ul>
... ...
... ... @@ -84,9 +84,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
84 84 <div class="contents">
85 85 <div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><table>
86 86 <tr><td class="indexkey"><a class="el" href="structclass.html">class</a></td><td class="indexvalue"></td></tr>
  87 + <tr><td class="indexkey"><a class="el" href="structHttpHeader.html">HttpHeader</a></td><td class="indexvalue"></td></tr>
87 88 <tr><td class="indexkey"><a class="el" href="structHttpRequest.html">HttpRequest</a></td><td class="indexvalue"></td></tr>
88 89 <tr><td class="indexkey"><a class="el" href="structHttpRequestParser.html">HttpRequestParser</a></td><td class="indexvalue"></td></tr>
89 90 <tr><td class="indexkey"><a class="el" href="structHttpRequestQueue.html">HttpRequestQueue</a></td><td class="indexvalue"></td></tr>
  91 + <tr><td class="indexkey"><a class="el" href="structHttpResponse.html">HttpResponse</a></td><td class="indexvalue"></td></tr>
90 92 <tr><td class="indexkey"><a class="el" href="structi__Class.html">i_Class</a></td><td class="indexvalue"></td></tr>
91 93 <tr><td class="indexkey"><a class="el" href="structi__Logger.html">i_Logger</a></td><td class="indexvalue"></td></tr>
92 94 <tr><td class="indexkey"><a class="el" href="structi__StreamReader.html">i_StreamReader</a></td><td class="indexvalue"></td></tr>
... ... @@ -102,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
102 104 </div>
103 105 <div id="nav-path" class="navpath">
104 106 <ul>
105   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  107 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
106 108 <a href="http://www.doxygen.org/index.html">
107 109 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
108 110 </ul>
... ...
... ... @@ -176,7 +176,7 @@ Here is the caller graph for this function:</div>
176 176 <div id="nav-path" class="navpath">
177 177 <ul>
178 178 <li class="navelem"><a class="el" href="class_8c.html">class.c</a> </li>
179   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  179 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
180 180 <a href="http://www.doxygen.org/index.html">
181 181 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
182 182 </ul>
... ...
... ... @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
112 112 <div id="nav-path" class="navpath">
113 113 <ul>
114 114 <li class="navelem"><a class="el" href="class_8c.html">class.c</a> </li>
115   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  115 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
116 116 <a href="http://www.doxygen.org/index.html">
117 117 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
118 118 </ul>
... ...
... ... @@ -601,7 +601,7 @@ Here is the caller graph for this function:</div>
601 601 <div id="nav-path" class="navpath">
602 602 <ul>
603 603 <li class="navelem"><a class="el" href="class_8h.html">class.h</a> </li>
604   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  604 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
605 605 <a href="http://www.doxygen.org/index.html">
606 606 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
607 607 </ul>
... ...
... ... @@ -172,7 +172,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
172 172 <div id="nav-path" class="navpath">
173 173 <ul>
174 174 <li class="navelem"><a class="el" href="class_8h.html">class.h</a> </li>
175   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  175 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
176 176 <a href="http://www.doxygen.org/index.html">
177 177 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
178 178 </ul>
... ...
... ... @@ -85,16 +85,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
85 85 <div class="qindex"><a class="qindex" href="#letter_C">C</a>&#160;|&#160;<a class="qindex" href="#letter_H">H</a>&#160;|&#160;<a class="qindex" href="#letter_I">I</a>&#160;|&#160;<a class="qindex" href="#letter_L">L</a>&#160;|&#160;<a class="qindex" href="#letter_S">S</a></div>
86 86 <table align="center" width="95%" border="0" cellspacing="0" cellpadding="0">
87 87 <tr><td><a name="letter_C"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;C&#160;&#160;</div></td></tr></table>
88   -</td><td><a class="el" href="structHttpRequestParser.html">HttpRequestParser</a>&#160;&#160;&#160;</td><td><a class="el" href="structi__Logger.html">i_Logger</a>&#160;&#160;&#160;</td><td><a name="letter_L"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;L&#160;&#160;</div></td></tr></table>
  88 +</td><td><a class="el" href="structHttpRequestParser.html">HttpRequestParser</a>&#160;&#160;&#160;</td><td><a class="el" href="structi__Class.html">i_Class</a>&#160;&#160;&#160;</td><td><a class="el" href="structinterface.html">interface</a>&#160;&#160;&#160;</td><td><a class="el" href="structLoggerSyslog.html">LoggerSyslog</a>&#160;&#160;&#160;</td></tr><tr><td><a class="el" href="structclass.html">class</a>&#160;&#160;&#160;</td><td><a class="el" href="structHttpRequestQueue.html">HttpRequestQueue</a>&#160;&#160;&#160;</td><td><a class="el" href="structi__Logger.html">i_Logger</a>&#160;&#160;&#160;</td><td><a name="letter_L"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;L&#160;&#160;</div></td></tr></table>
89 89 </td><td><a name="letter_S"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;S&#160;&#160;</div></td></tr></table>
90   -</td></tr><tr><td><a class="el" href="structclass.html">class</a>&#160;&#160;&#160;</td><td><a class="el" href="structHttpRequestQueue.html">HttpRequestQueue</a>&#160;&#160;&#160;</td><td><a class="el" href="structi__StreamReader.html">i_StreamReader</a>&#160;&#160;&#160;</td><td><a class="el" href="structLogger.html">Logger</a>&#160;&#160;&#160;</td><td><a class="el" href="structServer.html">Server</a>&#160;&#160;&#160;</td></tr><tr><td><a name="letter_H"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;H&#160;&#160;</div></td></tr></table>
91   -</td><td><a name="letter_I"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;I&#160;&#160;</div></td></tr></table>
92   -</td><td><a class="el" href="structiface__impl.html">iface_impl</a>&#160;&#160;&#160;</td><td><a class="el" href="structLoggerStderr.html">LoggerStderr</a>&#160;&#160;&#160;</td><td><a class="el" href="structSock.html">Sock</a>&#160;&#160;&#160;</td></tr><tr><td><a class="el" href="structHttpRequest.html">HttpRequest</a>&#160;&#160;&#160;</td><td><a class="el" href="structi__Class.html">i_Class</a>&#160;&#160;&#160;</td><td><a class="el" href="structinterface.html">interface</a>&#160;&#160;&#160;</td><td><a class="el" href="structLoggerSyslog.html">LoggerSyslog</a>&#160;&#160;&#160;</td></tr></table><div class="qindex"><a class="qindex" href="#letter_C">C</a>&#160;|&#160;<a class="qindex" href="#letter_H">H</a>&#160;|&#160;<a class="qindex" href="#letter_I">I</a>&#160;|&#160;<a class="qindex" href="#letter_L">L</a>&#160;|&#160;<a class="qindex" href="#letter_S">S</a></div>
  90 +</td></tr><tr><td><a name="letter_H"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;H&#160;&#160;</div></td></tr></table>
  91 +</td><td><a class="el" href="structHttpResponse.html">HttpResponse</a>&#160;&#160;&#160;</td><td><a class="el" href="structi__StreamReader.html">i_StreamReader</a>&#160;&#160;&#160;</td><td><a class="el" href="structLogger.html">Logger</a>&#160;&#160;&#160;</td><td><a class="el" href="structServer.html">Server</a>&#160;&#160;&#160;</td></tr><tr><td><a class="el" href="structHttpHeader.html">HttpHeader</a>&#160;&#160;&#160;</td><td><a name="letter_I"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;I&#160;&#160;</div></td></tr></table>
  92 +</td><td><a class="el" href="structiface__impl.html">iface_impl</a>&#160;&#160;&#160;</td><td><a class="el" href="structLoggerStderr.html">LoggerStderr</a>&#160;&#160;&#160;</td><td><a class="el" href="structSock.html">Sock</a>&#160;&#160;&#160;</td></tr><tr><td><a class="el" href="structHttpRequest.html">HttpRequest</a>&#160;&#160;&#160;</td></tr></table><div class="qindex"><a class="qindex" href="#letter_C">C</a>&#160;|&#160;<a class="qindex" href="#letter_H">H</a>&#160;|&#160;<a class="qindex" href="#letter_I">I</a>&#160;|&#160;<a class="qindex" href="#letter_L">L</a>&#160;|&#160;<a class="qindex" href="#letter_S">S</a></div>
93 93 </div>
94 94 </div>
95 95 <div id="nav-path" class="navpath">
96 96 <ul>
97   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  97 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
98 98 <a href="http://www.doxygen.org/index.html">
99 99 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
100 100 </ul>
... ...
... ... @@ -130,7 +130,10 @@ Functions</h2></td></tr>
130 130
131 131 <span class="keyword">delete</span>(&amp;((this-&gt;conns)[fd].sock));
132 132 <span class="keyword">delete</span>(&amp;((this-&gt;conns)[fd].reader));
  133 + memset((this-&gt;conns)[fd].wbuf, 0, strlen((this-&gt;conns)[fd].wbuf));
133 134 (this-&gt;fds)[i].events = 0;
  135 + (this-&gt;fds)[i].revents = 0;
  136 + (this-&gt;fds)[i].fd = 0;
134 137 this-&gt;ndel++;
135 138 <span class="comment">// CLEAR_CONN(this, i);</span>
136 139 <span class="comment">// this-&gt;nfds--;</span>
... ... @@ -152,7 +155,7 @@ Here is the caller graph for this function:</div>
152 155 <div id="nav-path" class="navpath">
153 156 <ul>
154 157 <li class="navelem"><a class="el" href="close__conn_8c.html">close_conn.c</a> </li>
155   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  158 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
156 159 <a href="http://www.doxygen.org/index.html">
157 160 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
158 161 </ul>
... ...
... ... @@ -93,19 +93,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
93 93 <a name="l00010"></a>00010
94 94 <a name="l00011"></a>00011 <span class="keyword">delete</span>(&amp;((this-&gt;conns)[fd].sock));
95 95 <a name="l00012"></a>00012 <span class="keyword">delete</span>(&amp;((this-&gt;conns)[fd].reader));
96   -<a name="l00013"></a>00013 (this-&gt;fds)[i].events = 0;
97   -<a name="l00014"></a>00014 this-&gt;ndel++;
98   -<a name="l00015"></a>00015 <span class="comment">// CLEAR_CONN(this, i);</span>
99   -<a name="l00016"></a>00016 <span class="comment">// this-&gt;nfds--;</span>
100   -<a name="l00017"></a>00017 }
101   -<a name="l00018"></a>00018
102   -<a name="l00019"></a>00019 <span class="comment">// vim: set ts=4 sw=4:</span>
  96 +<a name="l00013"></a>00013 memset((this-&gt;conns)[fd].wbuf, 0, strlen((this-&gt;conns)[fd].wbuf));
  97 +<a name="l00014"></a>00014 (this-&gt;fds)[i].events = 0;
  98 +<a name="l00015"></a>00015 (this-&gt;fds)[i].revents = 0;
  99 +<a name="l00016"></a>00016 (this-&gt;fds)[i].fd = 0;
  100 +<a name="l00017"></a>00017 this-&gt;ndel++;
  101 +<a name="l00018"></a>00018 <span class="comment">// CLEAR_CONN(this, i);</span>
  102 +<a name="l00019"></a>00019 <span class="comment">// this-&gt;nfds--;</span>
  103 +<a name="l00020"></a>00020 }
  104 +<a name="l00021"></a>00021
  105 +<a name="l00022"></a>00022 <span class="comment">// vim: set ts=4 sw=4:</span>
103 106 </pre></div></div>
104 107 </div>
105 108 <div id="nav-path" class="navpath">
106 109 <ul>
107 110 <li class="navelem"><a class="el" href="close__conn_8c.html">close_conn.c</a> </li>
108   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  111 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
109 112 <a href="http://www.doxygen.org/index.html">
110 113 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
111 114 </ul>
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: config.h File Reference</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('config_8h.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="summary">
  81 +<a href="#define-members">Defines</a> </div>
  82 + <div class="headertitle">
  83 +<h1>config.h File Reference</h1> </div>
  84 +</div>
  85 +<div class="contents">
  86 +
  87 +<p><a href="config_8h_source.html">Go to the source code of this file.</a></p>
  88 +<table class="memberdecls">
  89 +<tr><td colspan="2"><h2><a name="define-members"></a>
  90 +Defines</h2></td></tr>
  91 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a0ee1617ff2f6885ef384a3dd46f9b9d7">HAVE_DLFCN_H</a>&#160;&#160;&#160;1</td></tr>
  92 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ab90a030ff2790ebdc176660a6dd2a478">HAVE_INTTYPES_H</a>&#160;&#160;&#160;1</td></tr>
  93 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ac2c863e4e8669bd8c3a403107e2102ad">HAVE_JSON_JSON_H</a>&#160;&#160;&#160;1</td></tr>
  94 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a4bfc3880cce93add473eb1d1751330bf">HAVE_LIBJSON</a>&#160;&#160;&#160;1</td></tr>
  95 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ae93a78f9d076138897af441c9f86f285">HAVE_MEMORY_H</a>&#160;&#160;&#160;1</td></tr>
  96 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a3df52e9809253860c385be6f3a160607">HAVE_MEMSET</a>&#160;&#160;&#160;1</td></tr>
  97 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a3a3f8c7f8da8cac799fb620a2dbf2b15">HAVE_STDARG_H</a>&#160;&#160;&#160;1</td></tr>
  98 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a8c3fa1b2f1be8c6f6929548c548cf50a">HAVE_STDBOOL_H</a>&#160;&#160;&#160;1</td></tr>
  99 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ab6cd6d1c63c1e26ea2d4537b77148354">HAVE_STDINT_H</a>&#160;&#160;&#160;1</td></tr>
  100 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ae021ce4fe74984428cc97427b7358fda">HAVE_STDIO_H</a>&#160;&#160;&#160;1</td></tr>
  101 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a9e0e434ec1a6ddbd97db12b5a32905e0">HAVE_STDLIB_H</a>&#160;&#160;&#160;1</td></tr>
  102 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a405d10d46190bcb0320524c54eafc850">HAVE_STRINGS_H</a>&#160;&#160;&#160;1</td></tr>
  103 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ad4c234dd1625255dc626a15886306e7d">HAVE_STRING_H</a>&#160;&#160;&#160;1</td></tr>
  104 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a695d4e005378df4a1f286cb3d0f4b333">HAVE_SYSLOG_H</a>&#160;&#160;&#160;1</td></tr>
  105 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ace156430ba007d19b4348a950d0c692b">HAVE_SYS_STAT_H</a>&#160;&#160;&#160;1</td></tr>
  106 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a69dc70bea5d1f8bd2be9740e974fa666">HAVE_SYS_TYPES_H</a>&#160;&#160;&#160;1</td></tr>
  107 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a219b06937831d0da94d801ab13987639">HAVE_UNISTD_H</a>&#160;&#160;&#160;1</td></tr>
  108 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a862ffdbac7ac8323712310a418b7d9a3">HAVE__BOOL</a>&#160;&#160;&#160;1</td></tr>
  109 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ac2d5925d76379847dd9fc4747b061659">LT_OBJDIR</a>&#160;&#160;&#160;&quot;.libs/&quot;</td></tr>
  110 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#aca8570fb706c81df371b7f9bc454ae03">PACKAGE</a>&#160;&#160;&#160;&quot;cclass&quot;</td></tr>
  111 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a1d1d2d7f8d2f95b376954d649ab03233">PACKAGE_BUGREPORT</a>&#160;&#160;&#160;&quot;Georg Hopp &lt;georg@steffers.org&gt;&quot;</td></tr>
  112 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a1c0439e4355794c09b64274849eb0279">PACKAGE_NAME</a>&#160;&#160;&#160;&quot;cclass&quot;</td></tr>
  113 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#ac73e6f903c16eca7710f92e36e1c6fbf">PACKAGE_STRING</a>&#160;&#160;&#160;&quot;cclass 0.0.1&quot;</td></tr>
  114 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#af415af6bfede0e8d5453708afe68651c">PACKAGE_TARNAME</a>&#160;&#160;&#160;&quot;cclass&quot;</td></tr>
  115 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a5c93853116d5a50307b6744f147840aa">PACKAGE_URL</a>&#160;&#160;&#160;&quot;&quot;</td></tr>
  116 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#aa326a05d5e30f9e9a4bb0b4469d5d0c0">PACKAGE_VERSION</a>&#160;&#160;&#160;&quot;0.0.1&quot;</td></tr>
  117 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a550e5c272cc3cf3814651721167dcd23">STDC_HEADERS</a>&#160;&#160;&#160;1</td></tr>
  118 +<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="config_8h.html#a1c6d5de492ac61ad29aec7aa9a436bbf">VERSION</a>&#160;&#160;&#160;&quot;0.0.1&quot;</td></tr>
  119 +</table>
  120 +<hr/><h2>Define Documentation</h2>
  121 +<a class="anchor" id="a862ffdbac7ac8323712310a418b7d9a3"></a><!-- doxytag: member="config.h::HAVE__BOOL" ref="a862ffdbac7ac8323712310a418b7d9a3" args="" -->
  122 +<div class="memitem">
  123 +<div class="memproto">
  124 + <table class="memname">
  125 + <tr>
  126 + <td class="memname">#define HAVE__BOOL&#160;&#160;&#160;1</td>
  127 + </tr>
  128 + </table>
  129 +</div>
  130 +<div class="memdoc">
  131 +
  132 +<p>Definition at line <a class="el" href="config_8h_source.html#l00056">56</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  133 +
  134 +</div>
  135 +</div>
  136 +<a class="anchor" id="a0ee1617ff2f6885ef384a3dd46f9b9d7"></a><!-- doxytag: member="config.h::HAVE_DLFCN_H" ref="a0ee1617ff2f6885ef384a3dd46f9b9d7" args="" -->
  137 +<div class="memitem">
  138 +<div class="memproto">
  139 + <table class="memname">
  140 + <tr>
  141 + <td class="memname">#define HAVE_DLFCN_H&#160;&#160;&#160;1</td>
  142 + </tr>
  143 + </table>
  144 +</div>
  145 +<div class="memdoc">
  146 +
  147 +<p>Definition at line <a class="el" href="config_8h_source.html#l00005">5</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  148 +
  149 +</div>
  150 +</div>
  151 +<a class="anchor" id="ab90a030ff2790ebdc176660a6dd2a478"></a><!-- doxytag: member="config.h::HAVE_INTTYPES_H" ref="ab90a030ff2790ebdc176660a6dd2a478" args="" -->
  152 +<div class="memitem">
  153 +<div class="memproto">
  154 + <table class="memname">
  155 + <tr>
  156 + <td class="memname">#define HAVE_INTTYPES_H&#160;&#160;&#160;1</td>
  157 + </tr>
  158 + </table>
  159 +</div>
  160 +<div class="memdoc">
  161 +
  162 +<p>Definition at line <a class="el" href="config_8h_source.html#l00008">8</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  163 +
  164 +</div>
  165 +</div>
  166 +<a class="anchor" id="ac2c863e4e8669bd8c3a403107e2102ad"></a><!-- doxytag: member="config.h::HAVE_JSON_JSON_H" ref="ac2c863e4e8669bd8c3a403107e2102ad" args="" -->
  167 +<div class="memitem">
  168 +<div class="memproto">
  169 + <table class="memname">
  170 + <tr>
  171 + <td class="memname">#define HAVE_JSON_JSON_H&#160;&#160;&#160;1</td>
  172 + </tr>
  173 + </table>
  174 +</div>
  175 +<div class="memdoc">
  176 +
  177 +<p>Definition at line <a class="el" href="config_8h_source.html#l00011">11</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  178 +
  179 +</div>
  180 +</div>
  181 +<a class="anchor" id="a4bfc3880cce93add473eb1d1751330bf"></a><!-- doxytag: member="config.h::HAVE_LIBJSON" ref="a4bfc3880cce93add473eb1d1751330bf" args="" -->
  182 +<div class="memitem">
  183 +<div class="memproto">
  184 + <table class="memname">
  185 + <tr>
  186 + <td class="memname">#define HAVE_LIBJSON&#160;&#160;&#160;1</td>
  187 + </tr>
  188 + </table>
  189 +</div>
  190 +<div class="memdoc">
  191 +
  192 +<p>Definition at line <a class="el" href="config_8h_source.html#l00014">14</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  193 +
  194 +</div>
  195 +</div>
  196 +<a class="anchor" id="ae93a78f9d076138897af441c9f86f285"></a><!-- doxytag: member="config.h::HAVE_MEMORY_H" ref="ae93a78f9d076138897af441c9f86f285" args="" -->
  197 +<div class="memitem">
  198 +<div class="memproto">
  199 + <table class="memname">
  200 + <tr>
  201 + <td class="memname">#define HAVE_MEMORY_H&#160;&#160;&#160;1</td>
  202 + </tr>
  203 + </table>
  204 +</div>
  205 +<div class="memdoc">
  206 +
  207 +<p>Definition at line <a class="el" href="config_8h_source.html#l00017">17</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  208 +
  209 +</div>
  210 +</div>
  211 +<a class="anchor" id="a3df52e9809253860c385be6f3a160607"></a><!-- doxytag: member="config.h::HAVE_MEMSET" ref="a3df52e9809253860c385be6f3a160607" args="" -->
  212 +<div class="memitem">
  213 +<div class="memproto">
  214 + <table class="memname">
  215 + <tr>
  216 + <td class="memname">#define HAVE_MEMSET&#160;&#160;&#160;1</td>
  217 + </tr>
  218 + </table>
  219 +</div>
  220 +<div class="memdoc">
  221 +
  222 +<p>Definition at line <a class="el" href="config_8h_source.html#l00020">20</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  223 +
  224 +</div>
  225 +</div>
  226 +<a class="anchor" id="a3a3f8c7f8da8cac799fb620a2dbf2b15"></a><!-- doxytag: member="config.h::HAVE_STDARG_H" ref="a3a3f8c7f8da8cac799fb620a2dbf2b15" args="" -->
  227 +<div class="memitem">
  228 +<div class="memproto">
  229 + <table class="memname">
  230 + <tr>
  231 + <td class="memname">#define HAVE_STDARG_H&#160;&#160;&#160;1</td>
  232 + </tr>
  233 + </table>
  234 +</div>
  235 +<div class="memdoc">
  236 +
  237 +<p>Definition at line <a class="el" href="config_8h_source.html#l00023">23</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  238 +
  239 +</div>
  240 +</div>
  241 +<a class="anchor" id="a8c3fa1b2f1be8c6f6929548c548cf50a"></a><!-- doxytag: member="config.h::HAVE_STDBOOL_H" ref="a8c3fa1b2f1be8c6f6929548c548cf50a" args="" -->
  242 +<div class="memitem">
  243 +<div class="memproto">
  244 + <table class="memname">
  245 + <tr>
  246 + <td class="memname">#define HAVE_STDBOOL_H&#160;&#160;&#160;1</td>
  247 + </tr>
  248 + </table>
  249 +</div>
  250 +<div class="memdoc">
  251 +
  252 +<p>Definition at line <a class="el" href="config_8h_source.html#l00026">26</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  253 +
  254 +</div>
  255 +</div>
  256 +<a class="anchor" id="ab6cd6d1c63c1e26ea2d4537b77148354"></a><!-- doxytag: member="config.h::HAVE_STDINT_H" ref="ab6cd6d1c63c1e26ea2d4537b77148354" args="" -->
  257 +<div class="memitem">
  258 +<div class="memproto">
  259 + <table class="memname">
  260 + <tr>
  261 + <td class="memname">#define HAVE_STDINT_H&#160;&#160;&#160;1</td>
  262 + </tr>
  263 + </table>
  264 +</div>
  265 +<div class="memdoc">
  266 +
  267 +<p>Definition at line <a class="el" href="config_8h_source.html#l00029">29</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  268 +
  269 +</div>
  270 +</div>
  271 +<a class="anchor" id="ae021ce4fe74984428cc97427b7358fda"></a><!-- doxytag: member="config.h::HAVE_STDIO_H" ref="ae021ce4fe74984428cc97427b7358fda" args="" -->
  272 +<div class="memitem">
  273 +<div class="memproto">
  274 + <table class="memname">
  275 + <tr>
  276 + <td class="memname">#define HAVE_STDIO_H&#160;&#160;&#160;1</td>
  277 + </tr>
  278 + </table>
  279 +</div>
  280 +<div class="memdoc">
  281 +
  282 +<p>Definition at line <a class="el" href="config_8h_source.html#l00032">32</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  283 +
  284 +</div>
  285 +</div>
  286 +<a class="anchor" id="a9e0e434ec1a6ddbd97db12b5a32905e0"></a><!-- doxytag: member="config.h::HAVE_STDLIB_H" ref="a9e0e434ec1a6ddbd97db12b5a32905e0" args="" -->
  287 +<div class="memitem">
  288 +<div class="memproto">
  289 + <table class="memname">
  290 + <tr>
  291 + <td class="memname">#define HAVE_STDLIB_H&#160;&#160;&#160;1</td>
  292 + </tr>
  293 + </table>
  294 +</div>
  295 +<div class="memdoc">
  296 +
  297 +<p>Definition at line <a class="el" href="config_8h_source.html#l00035">35</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  298 +
  299 +</div>
  300 +</div>
  301 +<a class="anchor" id="ad4c234dd1625255dc626a15886306e7d"></a><!-- doxytag: member="config.h::HAVE_STRING_H" ref="ad4c234dd1625255dc626a15886306e7d" args="" -->
  302 +<div class="memitem">
  303 +<div class="memproto">
  304 + <table class="memname">
  305 + <tr>
  306 + <td class="memname">#define HAVE_STRING_H&#160;&#160;&#160;1</td>
  307 + </tr>
  308 + </table>
  309 +</div>
  310 +<div class="memdoc">
  311 +
  312 +<p>Definition at line <a class="el" href="config_8h_source.html#l00041">41</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  313 +
  314 +</div>
  315 +</div>
  316 +<a class="anchor" id="a405d10d46190bcb0320524c54eafc850"></a><!-- doxytag: member="config.h::HAVE_STRINGS_H" ref="a405d10d46190bcb0320524c54eafc850" args="" -->
  317 +<div class="memitem">
  318 +<div class="memproto">
  319 + <table class="memname">
  320 + <tr>
  321 + <td class="memname">#define HAVE_STRINGS_H&#160;&#160;&#160;1</td>
  322 + </tr>
  323 + </table>
  324 +</div>
  325 +<div class="memdoc">
  326 +
  327 +<p>Definition at line <a class="el" href="config_8h_source.html#l00038">38</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  328 +
  329 +</div>
  330 +</div>
  331 +<a class="anchor" id="ace156430ba007d19b4348a950d0c692b"></a><!-- doxytag: member="config.h::HAVE_SYS_STAT_H" ref="ace156430ba007d19b4348a950d0c692b" args="" -->
  332 +<div class="memitem">
  333 +<div class="memproto">
  334 + <table class="memname">
  335 + <tr>
  336 + <td class="memname">#define HAVE_SYS_STAT_H&#160;&#160;&#160;1</td>
  337 + </tr>
  338 + </table>
  339 +</div>
  340 +<div class="memdoc">
  341 +
  342 +<p>Definition at line <a class="el" href="config_8h_source.html#l00047">47</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  343 +
  344 +</div>
  345 +</div>
  346 +<a class="anchor" id="a69dc70bea5d1f8bd2be9740e974fa666"></a><!-- doxytag: member="config.h::HAVE_SYS_TYPES_H" ref="a69dc70bea5d1f8bd2be9740e974fa666" args="" -->
  347 +<div class="memitem">
  348 +<div class="memproto">
  349 + <table class="memname">
  350 + <tr>
  351 + <td class="memname">#define HAVE_SYS_TYPES_H&#160;&#160;&#160;1</td>
  352 + </tr>
  353 + </table>
  354 +</div>
  355 +<div class="memdoc">
  356 +
  357 +<p>Definition at line <a class="el" href="config_8h_source.html#l00050">50</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  358 +
  359 +</div>
  360 +</div>
  361 +<a class="anchor" id="a695d4e005378df4a1f286cb3d0f4b333"></a><!-- doxytag: member="config.h::HAVE_SYSLOG_H" ref="a695d4e005378df4a1f286cb3d0f4b333" args="" -->
  362 +<div class="memitem">
  363 +<div class="memproto">
  364 + <table class="memname">
  365 + <tr>
  366 + <td class="memname">#define HAVE_SYSLOG_H&#160;&#160;&#160;1</td>
  367 + </tr>
  368 + </table>
  369 +</div>
  370 +<div class="memdoc">
  371 +
  372 +<p>Definition at line <a class="el" href="config_8h_source.html#l00044">44</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  373 +
  374 +</div>
  375 +</div>
  376 +<a class="anchor" id="a219b06937831d0da94d801ab13987639"></a><!-- doxytag: member="config.h::HAVE_UNISTD_H" ref="a219b06937831d0da94d801ab13987639" args="" -->
  377 +<div class="memitem">
  378 +<div class="memproto">
  379 + <table class="memname">
  380 + <tr>
  381 + <td class="memname">#define HAVE_UNISTD_H&#160;&#160;&#160;1</td>
  382 + </tr>
  383 + </table>
  384 +</div>
  385 +<div class="memdoc">
  386 +
  387 +<p>Definition at line <a class="el" href="config_8h_source.html#l00053">53</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  388 +
  389 +</div>
  390 +</div>
  391 +<a class="anchor" id="ac2d5925d76379847dd9fc4747b061659"></a><!-- doxytag: member="config.h::LT_OBJDIR" ref="ac2d5925d76379847dd9fc4747b061659" args="" -->
  392 +<div class="memitem">
  393 +<div class="memproto">
  394 + <table class="memname">
  395 + <tr>
  396 + <td class="memname">#define LT_OBJDIR&#160;&#160;&#160;&quot;.libs/&quot;</td>
  397 + </tr>
  398 + </table>
  399 +</div>
  400 +<div class="memdoc">
  401 +
  402 +<p>Definition at line <a class="el" href="config_8h_source.html#l00060">60</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  403 +
  404 +</div>
  405 +</div>
  406 +<a class="anchor" id="aca8570fb706c81df371b7f9bc454ae03"></a><!-- doxytag: member="config.h::PACKAGE" ref="aca8570fb706c81df371b7f9bc454ae03" args="" -->
  407 +<div class="memitem">
  408 +<div class="memproto">
  409 + <table class="memname">
  410 + <tr>
  411 + <td class="memname">#define PACKAGE&#160;&#160;&#160;&quot;cclass&quot;</td>
  412 + </tr>
  413 + </table>
  414 +</div>
  415 +<div class="memdoc">
  416 +
  417 +<p>Definition at line <a class="el" href="config_8h_source.html#l00066">66</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  418 +
  419 +</div>
  420 +</div>
  421 +<a class="anchor" id="a1d1d2d7f8d2f95b376954d649ab03233"></a><!-- doxytag: member="config.h::PACKAGE_BUGREPORT" ref="a1d1d2d7f8d2f95b376954d649ab03233" args="" -->
  422 +<div class="memitem">
  423 +<div class="memproto">
  424 + <table class="memname">
  425 + <tr>
  426 + <td class="memname">#define PACKAGE_BUGREPORT&#160;&#160;&#160;&quot;Georg Hopp &lt;georg@steffers.org&gt;&quot;</td>
  427 + </tr>
  428 + </table>
  429 +</div>
  430 +<div class="memdoc">
  431 +
  432 +<p>Definition at line <a class="el" href="config_8h_source.html#l00069">69</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  433 +
  434 +</div>
  435 +</div>
  436 +<a class="anchor" id="a1c0439e4355794c09b64274849eb0279"></a><!-- doxytag: member="config.h::PACKAGE_NAME" ref="a1c0439e4355794c09b64274849eb0279" args="" -->
  437 +<div class="memitem">
  438 +<div class="memproto">
  439 + <table class="memname">
  440 + <tr>
  441 + <td class="memname">#define PACKAGE_NAME&#160;&#160;&#160;&quot;cclass&quot;</td>
  442 + </tr>
  443 + </table>
  444 +</div>
  445 +<div class="memdoc">
  446 +
  447 +<p>Definition at line <a class="el" href="config_8h_source.html#l00072">72</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  448 +
  449 +</div>
  450 +</div>
  451 +<a class="anchor" id="ac73e6f903c16eca7710f92e36e1c6fbf"></a><!-- doxytag: member="config.h::PACKAGE_STRING" ref="ac73e6f903c16eca7710f92e36e1c6fbf" args="" -->
  452 +<div class="memitem">
  453 +<div class="memproto">
  454 + <table class="memname">
  455 + <tr>
  456 + <td class="memname">#define PACKAGE_STRING&#160;&#160;&#160;&quot;cclass 0.0.1&quot;</td>
  457 + </tr>
  458 + </table>
  459 +</div>
  460 +<div class="memdoc">
  461 +
  462 +<p>Definition at line <a class="el" href="config_8h_source.html#l00075">75</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  463 +
  464 +</div>
  465 +</div>
  466 +<a class="anchor" id="af415af6bfede0e8d5453708afe68651c"></a><!-- doxytag: member="config.h::PACKAGE_TARNAME" ref="af415af6bfede0e8d5453708afe68651c" args="" -->
  467 +<div class="memitem">
  468 +<div class="memproto">
  469 + <table class="memname">
  470 + <tr>
  471 + <td class="memname">#define PACKAGE_TARNAME&#160;&#160;&#160;&quot;cclass&quot;</td>
  472 + </tr>
  473 + </table>
  474 +</div>
  475 +<div class="memdoc">
  476 +
  477 +<p>Definition at line <a class="el" href="config_8h_source.html#l00078">78</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  478 +
  479 +</div>
  480 +</div>
  481 +<a class="anchor" id="a5c93853116d5a50307b6744f147840aa"></a><!-- doxytag: member="config.h::PACKAGE_URL" ref="a5c93853116d5a50307b6744f147840aa" args="" -->
  482 +<div class="memitem">
  483 +<div class="memproto">
  484 + <table class="memname">
  485 + <tr>
  486 + <td class="memname">#define PACKAGE_URL&#160;&#160;&#160;&quot;&quot;</td>
  487 + </tr>
  488 + </table>
  489 +</div>
  490 +<div class="memdoc">
  491 +
  492 +<p>Definition at line <a class="el" href="config_8h_source.html#l00081">81</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  493 +
  494 +</div>
  495 +</div>
  496 +<a class="anchor" id="aa326a05d5e30f9e9a4bb0b4469d5d0c0"></a><!-- doxytag: member="config.h::PACKAGE_VERSION" ref="aa326a05d5e30f9e9a4bb0b4469d5d0c0" args="" -->
  497 +<div class="memitem">
  498 +<div class="memproto">
  499 + <table class="memname">
  500 + <tr>
  501 + <td class="memname">#define PACKAGE_VERSION&#160;&#160;&#160;&quot;0.0.1&quot;</td>
  502 + </tr>
  503 + </table>
  504 +</div>
  505 +<div class="memdoc">
  506 +
  507 +<p>Definition at line <a class="el" href="config_8h_source.html#l00084">84</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  508 +
  509 +</div>
  510 +</div>
  511 +<a class="anchor" id="a550e5c272cc3cf3814651721167dcd23"></a><!-- doxytag: member="config.h::STDC_HEADERS" ref="a550e5c272cc3cf3814651721167dcd23" args="" -->
  512 +<div class="memitem">
  513 +<div class="memproto">
  514 + <table class="memname">
  515 + <tr>
  516 + <td class="memname">#define STDC_HEADERS&#160;&#160;&#160;1</td>
  517 + </tr>
  518 + </table>
  519 +</div>
  520 +<div class="memdoc">
  521 +
  522 +<p>Definition at line <a class="el" href="config_8h_source.html#l00087">87</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  523 +
  524 +</div>
  525 +</div>
  526 +<a class="anchor" id="a1c6d5de492ac61ad29aec7aa9a436bbf"></a><!-- doxytag: member="config.h::VERSION" ref="a1c6d5de492ac61ad29aec7aa9a436bbf" args="" -->
  527 +<div class="memitem">
  528 +<div class="memproto">
  529 + <table class="memname">
  530 + <tr>
  531 + <td class="memname">#define VERSION&#160;&#160;&#160;&quot;0.0.1&quot;</td>
  532 + </tr>
  533 + </table>
  534 +</div>
  535 +<div class="memdoc">
  536 +
  537 +<p>Definition at line <a class="el" href="config_8h_source.html#l00090">90</a> of file <a class="el" href="config_8h_source.html">config.h</a>.</p>
  538 +
  539 +</div>
  540 +</div>
  541 +</div>
  542 +</div>
  543 + <div id="nav-path" class="navpath">
  544 + <ul>
  545 + <li class="navelem"><a class="el" href="config_8h.html">config.h</a> </li>
  546 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  547 +<a href="http://www.doxygen.org/index.html">
  548 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  549 + </ul>
  550 + </div>
  551 +<!--- window showing the filter options -->
  552 +<div id="MSearchSelectWindow"
  553 + onmouseover="return searchBox.OnSearchSelectShow()"
  554 + onmouseout="return searchBox.OnSearchSelectHide()"
  555 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  556 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  557 +
  558 +<!-- iframe showing the search results (closed by default) -->
  559 +<div id="MSearchResultsWindow">
  560 +<iframe src="" frameborder="0"
  561 + name="MSearchResults" id="MSearchResults">
  562 +</iframe>
  563 +</div>
  564 +
  565 +
  566 +</body>
  567 +</html>
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: config.h Source File</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('config_8h.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="headertitle">
  81 +<h1>config.h</h1> </div>
  82 +</div>
  83 +<div class="contents">
  84 +<a href="config_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* config.h. Generated from config.h.in by configure. */</span>
  85 +<a name="l00002"></a>00002 <span class="comment">/* config.h.in. Generated from configure.ac by autoheader. */</span>
  86 +<a name="l00003"></a>00003
  87 +<a name="l00004"></a>00004 <span class="comment">/* Define to 1 if you have the &lt;dlfcn.h&gt; header file. */</span>
  88 +<a name="l00005"></a><a class="code" href="config_8h.html#a0ee1617ff2f6885ef384a3dd46f9b9d7">00005</a> <span class="preprocessor">#define HAVE_DLFCN_H 1</span>
  89 +<a name="l00006"></a>00006 <span class="preprocessor"></span>
  90 +<a name="l00007"></a>00007 <span class="comment">/* Define to 1 if you have the &lt;inttypes.h&gt; header file. */</span>
  91 +<a name="l00008"></a><a class="code" href="config_8h.html#ab90a030ff2790ebdc176660a6dd2a478">00008</a> <span class="preprocessor">#define HAVE_INTTYPES_H 1</span>
  92 +<a name="l00009"></a>00009 <span class="preprocessor"></span>
  93 +<a name="l00010"></a>00010 <span class="comment">/* Define to 1 if you have the &lt;json/json.h&gt; header file. */</span>
  94 +<a name="l00011"></a><a class="code" href="config_8h.html#ac2c863e4e8669bd8c3a403107e2102ad">00011</a> <span class="preprocessor">#define HAVE_JSON_JSON_H 1</span>
  95 +<a name="l00012"></a>00012 <span class="preprocessor"></span>
  96 +<a name="l00013"></a>00013 <span class="comment">/* Define to 1 if you have the `json&#39; library (-ljson). */</span>
  97 +<a name="l00014"></a><a class="code" href="config_8h.html#a4bfc3880cce93add473eb1d1751330bf">00014</a> <span class="preprocessor">#define HAVE_LIBJSON 1</span>
  98 +<a name="l00015"></a>00015 <span class="preprocessor"></span>
  99 +<a name="l00016"></a>00016 <span class="comment">/* Define to 1 if you have the &lt;memory.h&gt; header file. */</span>
  100 +<a name="l00017"></a><a class="code" href="config_8h.html#ae93a78f9d076138897af441c9f86f285">00017</a> <span class="preprocessor">#define HAVE_MEMORY_H 1</span>
  101 +<a name="l00018"></a>00018 <span class="preprocessor"></span>
  102 +<a name="l00019"></a>00019 <span class="comment">/* Define to 1 if you have the `memset&#39; function. */</span>
  103 +<a name="l00020"></a><a class="code" href="config_8h.html#a3df52e9809253860c385be6f3a160607">00020</a> <span class="preprocessor">#define HAVE_MEMSET 1</span>
  104 +<a name="l00021"></a>00021 <span class="preprocessor"></span>
  105 +<a name="l00022"></a>00022 <span class="comment">/* Define to 1 if you have the &lt;stdarg.h&gt; header file. */</span>
  106 +<a name="l00023"></a><a class="code" href="config_8h.html#a3a3f8c7f8da8cac799fb620a2dbf2b15">00023</a> <span class="preprocessor">#define HAVE_STDARG_H 1</span>
  107 +<a name="l00024"></a>00024 <span class="preprocessor"></span>
  108 +<a name="l00025"></a>00025 <span class="comment">/* Define to 1 if stdbool.h conforms to C99. */</span>
  109 +<a name="l00026"></a><a class="code" href="config_8h.html#a8c3fa1b2f1be8c6f6929548c548cf50a">00026</a> <span class="preprocessor">#define HAVE_STDBOOL_H 1</span>
  110 +<a name="l00027"></a>00027 <span class="preprocessor"></span>
  111 +<a name="l00028"></a>00028 <span class="comment">/* Define to 1 if you have the &lt;stdint.h&gt; header file. */</span>
  112 +<a name="l00029"></a><a class="code" href="config_8h.html#ab6cd6d1c63c1e26ea2d4537b77148354">00029</a> <span class="preprocessor">#define HAVE_STDINT_H 1</span>
  113 +<a name="l00030"></a>00030 <span class="preprocessor"></span>
  114 +<a name="l00031"></a>00031 <span class="comment">/* Define to 1 if you have the &lt;stdio.h&gt; header file. */</span>
  115 +<a name="l00032"></a><a class="code" href="config_8h.html#ae021ce4fe74984428cc97427b7358fda">00032</a> <span class="preprocessor">#define HAVE_STDIO_H 1</span>
  116 +<a name="l00033"></a>00033 <span class="preprocessor"></span>
  117 +<a name="l00034"></a>00034 <span class="comment">/* Define to 1 if you have the &lt;stdlib.h&gt; header file. */</span>
  118 +<a name="l00035"></a><a class="code" href="config_8h.html#a9e0e434ec1a6ddbd97db12b5a32905e0">00035</a> <span class="preprocessor">#define HAVE_STDLIB_H 1</span>
  119 +<a name="l00036"></a>00036 <span class="preprocessor"></span>
  120 +<a name="l00037"></a>00037 <span class="comment">/* Define to 1 if you have the &lt;strings.h&gt; header file. */</span>
  121 +<a name="l00038"></a><a class="code" href="config_8h.html#a405d10d46190bcb0320524c54eafc850">00038</a> <span class="preprocessor">#define HAVE_STRINGS_H 1</span>
  122 +<a name="l00039"></a>00039 <span class="preprocessor"></span>
  123 +<a name="l00040"></a>00040 <span class="comment">/* Define to 1 if you have the &lt;string.h&gt; header file. */</span>
  124 +<a name="l00041"></a><a class="code" href="config_8h.html#ad4c234dd1625255dc626a15886306e7d">00041</a> <span class="preprocessor">#define HAVE_STRING_H 1</span>
  125 +<a name="l00042"></a>00042 <span class="preprocessor"></span>
  126 +<a name="l00043"></a>00043 <span class="comment">/* Define to 1 if you have the &lt;syslog.h&gt; header file. */</span>
  127 +<a name="l00044"></a><a class="code" href="config_8h.html#a695d4e005378df4a1f286cb3d0f4b333">00044</a> <span class="preprocessor">#define HAVE_SYSLOG_H 1</span>
  128 +<a name="l00045"></a>00045 <span class="preprocessor"></span>
  129 +<a name="l00046"></a>00046 <span class="comment">/* Define to 1 if you have the &lt;sys/stat.h&gt; header file. */</span>
  130 +<a name="l00047"></a><a class="code" href="config_8h.html#ace156430ba007d19b4348a950d0c692b">00047</a> <span class="preprocessor">#define HAVE_SYS_STAT_H 1</span>
  131 +<a name="l00048"></a>00048 <span class="preprocessor"></span>
  132 +<a name="l00049"></a>00049 <span class="comment">/* Define to 1 if you have the &lt;sys/types.h&gt; header file. */</span>
  133 +<a name="l00050"></a><a class="code" href="config_8h.html#a69dc70bea5d1f8bd2be9740e974fa666">00050</a> <span class="preprocessor">#define HAVE_SYS_TYPES_H 1</span>
  134 +<a name="l00051"></a>00051 <span class="preprocessor"></span>
  135 +<a name="l00052"></a>00052 <span class="comment">/* Define to 1 if you have the &lt;unistd.h&gt; header file. */</span>
  136 +<a name="l00053"></a><a class="code" href="config_8h.html#a219b06937831d0da94d801ab13987639">00053</a> <span class="preprocessor">#define HAVE_UNISTD_H 1</span>
  137 +<a name="l00054"></a>00054 <span class="preprocessor"></span>
  138 +<a name="l00055"></a>00055 <span class="comment">/* Define to 1 if the system has the type `_Bool&#39;. */</span>
  139 +<a name="l00056"></a><a class="code" href="config_8h.html#a862ffdbac7ac8323712310a418b7d9a3">00056</a> <span class="preprocessor">#define HAVE__BOOL 1</span>
  140 +<a name="l00057"></a>00057 <span class="preprocessor"></span>
  141 +<a name="l00058"></a>00058 <span class="comment">/* Define to the sub-directory in which libtool stores uninstalled libraries.</span>
  142 +<a name="l00059"></a>00059 <span class="comment"> */</span>
  143 +<a name="l00060"></a><a class="code" href="config_8h.html#ac2d5925d76379847dd9fc4747b061659">00060</a> <span class="preprocessor">#define LT_OBJDIR &quot;.libs/&quot;</span>
  144 +<a name="l00061"></a>00061 <span class="preprocessor"></span>
  145 +<a name="l00062"></a>00062 <span class="comment">/* Define to 1 if your C compiler doesn&#39;t accept -c and -o together. */</span>
  146 +<a name="l00063"></a>00063 <span class="comment">/* #undef NO_MINUS_C_MINUS_O */</span>
  147 +<a name="l00064"></a>00064
  148 +<a name="l00065"></a>00065 <span class="comment">/* Name of package */</span>
  149 +<a name="l00066"></a><a class="code" href="config_8h.html#aca8570fb706c81df371b7f9bc454ae03">00066</a> <span class="preprocessor">#define PACKAGE &quot;cclass&quot;</span>
  150 +<a name="l00067"></a>00067 <span class="preprocessor"></span>
  151 +<a name="l00068"></a>00068 <span class="comment">/* Define to the address where bug reports for this package should be sent. */</span>
  152 +<a name="l00069"></a><a class="code" href="config_8h.html#a1d1d2d7f8d2f95b376954d649ab03233">00069</a> <span class="preprocessor">#define PACKAGE_BUGREPORT &quot;Georg Hopp &lt;georg@steffers.org&gt;&quot;</span>
  153 +<a name="l00070"></a>00070 <span class="preprocessor"></span>
  154 +<a name="l00071"></a>00071 <span class="comment">/* Define to the full name of this package. */</span>
  155 +<a name="l00072"></a><a class="code" href="config_8h.html#a1c0439e4355794c09b64274849eb0279">00072</a> <span class="preprocessor">#define PACKAGE_NAME &quot;cclass&quot;</span>
  156 +<a name="l00073"></a>00073 <span class="preprocessor"></span>
  157 +<a name="l00074"></a>00074 <span class="comment">/* Define to the full name and version of this package. */</span>
  158 +<a name="l00075"></a><a class="code" href="config_8h.html#ac73e6f903c16eca7710f92e36e1c6fbf">00075</a> <span class="preprocessor">#define PACKAGE_STRING &quot;cclass 0.0.1&quot;</span>
  159 +<a name="l00076"></a>00076 <span class="preprocessor"></span>
  160 +<a name="l00077"></a>00077 <span class="comment">/* Define to the one symbol short name of this package. */</span>
  161 +<a name="l00078"></a><a class="code" href="config_8h.html#af415af6bfede0e8d5453708afe68651c">00078</a> <span class="preprocessor">#define PACKAGE_TARNAME &quot;cclass&quot;</span>
  162 +<a name="l00079"></a>00079 <span class="preprocessor"></span>
  163 +<a name="l00080"></a>00080 <span class="comment">/* Define to the home page for this package. */</span>
  164 +<a name="l00081"></a><a class="code" href="config_8h.html#a5c93853116d5a50307b6744f147840aa">00081</a> <span class="preprocessor">#define PACKAGE_URL &quot;&quot;</span>
  165 +<a name="l00082"></a>00082 <span class="preprocessor"></span>
  166 +<a name="l00083"></a>00083 <span class="comment">/* Define to the version of this package. */</span>
  167 +<a name="l00084"></a><a class="code" href="config_8h.html#aa326a05d5e30f9e9a4bb0b4469d5d0c0">00084</a> <span class="preprocessor">#define PACKAGE_VERSION &quot;0.0.1&quot;</span>
  168 +<a name="l00085"></a>00085 <span class="preprocessor"></span>
  169 +<a name="l00086"></a>00086 <span class="comment">/* Define to 1 if you have the ANSI C header files. */</span>
  170 +<a name="l00087"></a><a class="code" href="config_8h.html#a550e5c272cc3cf3814651721167dcd23">00087</a> <span class="preprocessor">#define STDC_HEADERS 1</span>
  171 +<a name="l00088"></a>00088 <span class="preprocessor"></span>
  172 +<a name="l00089"></a>00089 <span class="comment">/* Version number of package */</span>
  173 +<a name="l00090"></a><a class="code" href="config_8h.html#a1c6d5de492ac61ad29aec7aa9a436bbf">00090</a> <span class="preprocessor">#define VERSION &quot;0.0.1&quot;</span>
  174 +<a name="l00091"></a>00091 <span class="preprocessor"></span>
  175 +<a name="l00092"></a>00092 <span class="comment">/* Define to `__inline__&#39; or `__inline&#39; if that&#39;s what the C compiler</span>
  176 +<a name="l00093"></a>00093 <span class="comment"> calls it, or to nothing if &#39;inline&#39; is not supported under any name. */</span>
  177 +<a name="l00094"></a>00094 <span class="preprocessor">#ifndef __cplusplus</span>
  178 +<a name="l00095"></a>00095 <span class="preprocessor"></span><span class="comment">/* #undef inline */</span>
  179 +<a name="l00096"></a>00096 <span class="preprocessor">#endif</span>
  180 +<a name="l00097"></a>00097 <span class="preprocessor"></span>
  181 +<a name="l00098"></a>00098 <span class="comment">/* Define to `int&#39; if &lt;sys/types.h&gt; does not define. */</span>
  182 +<a name="l00099"></a>00099 <span class="comment">/* #undef pid_t */</span>
  183 +<a name="l00100"></a>00100
  184 +<a name="l00101"></a>00101 <span class="comment">/* Define to `unsigned int&#39; if &lt;sys/types.h&gt; does not define. */</span>
  185 +<a name="l00102"></a>00102 <span class="comment">/* #undef size_t */</span>
  186 +</pre></div></div>
  187 +</div>
  188 + <div id="nav-path" class="navpath">
  189 + <ul>
  190 + <li class="navelem"><a class="el" href="config_8h.html">config.h</a> </li>
  191 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  192 +<a href="http://www.doxygen.org/index.html">
  193 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  194 + </ul>
  195 + </div>
  196 +<!--- window showing the filter options -->
  197 +<div id="MSearchSelectWindow"
  198 + onmouseover="return searchBox.OnSearchSelectShow()"
  199 + onmouseout="return searchBox.OnSearchSelectHide()"
  200 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  201 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  202 +
  203 +<!-- iframe showing the search results (closed by default) -->
  204 +<div id="MSearchResultsWindow">
  205 +<iframe src="" frameborder="0"
  206 + name="MSearchResults" id="MSearchResults">
  207 +</iframe>
  208 +</div>
  209 +
  210 +
  211 +</body>
  212 +</html>
... ...
... ... @@ -156,7 +156,7 @@ Here is the call graph for this function:</div>
156 156 <div id="nav-path" class="navpath">
157 157 <ul>
158 158 <li class="navelem"><a class="el" href="connect_8c.html">connect.c</a> </li>
159   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  159 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
160 160 <a href="http://www.doxygen.org/index.html">
161 161 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
162 162 </ul>
... ...
... ... @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
110 110 <div id="nav-path" class="navpath">
111 111 <ul>
112 112 <li class="navelem"><a class="el" href="connect_8c.html">connect.c</a> </li>
113   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  113 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
114 114 <a href="http://www.doxygen.org/index.html">
115 115 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
116 116 </ul>
... ...
... ... @@ -141,7 +141,7 @@ Functions</h2></td></tr>
141 141 <div id="nav-path" class="navpath">
142 142 <ul>
143 143 <li class="navelem"><a class="el" href="daemonize_8c.html">daemonize.c</a> </li>
144   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  144 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
145 145 <a href="http://www.doxygen.org/index.html">
146 146 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
147 147 </ul>
... ...
... ... @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
109 109 <div id="nav-path" class="navpath">
110 110 <ul>
111 111 <li class="navelem"><a class="el" href="daemonize_8c.html">daemonize.c</a> </li>
112   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  112 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
113 113 <a href="http://www.doxygen.org/index.html">
114 114 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
115 115 </ul>
... ...
... ... @@ -82,15 +82,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
82 82 </div>
83 83 <div class="contents">
84 84 <div class="textblock">Here is a list of all files with brief descriptions:</div><table>
  85 + <tr><td class="indexkey"><a class="el" href="config_8h.html">config.h</a> <a href="config_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
85 86 <tr><td class="indexkey">include/<a class="el" href="class_8h.html">class.h</a> <a href="class_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
86 87 <tr><td class="indexkey">include/<a class="el" href="interface_8h.html">interface.h</a> <a href="interface_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
87 88 <tr><td class="indexkey">include/<a class="el" href="logger_8h.html">logger.h</a> <a href="logger_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
88 89 <tr><td class="indexkey">include/<a class="el" href="server_8h.html">server.h</a> <a href="server_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
89 90 <tr><td class="indexkey">include/<a class="el" href="signalHandling_8h.html">signalHandling.h</a> <a href="signalHandling_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
90 91 <tr><td class="indexkey">include/<a class="el" href="socket_8h.html">socket.h</a> <a href="socket_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
  92 + <tr><td class="indexkey">include/http/<a class="el" href="header_8h.html">header.h</a> <a href="header_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
91 93 <tr><td class="indexkey">include/http/<a class="el" href="request_8h.html">request.h</a> <a href="request_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
92 94 <tr><td class="indexkey">include/http/<a class="el" href="request__parser_8h.html">request_parser.h</a> <a href="request__parser_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
93 95 <tr><td class="indexkey">include/http/<a class="el" href="request__queue_8h.html">request_queue.h</a> <a href="request__queue_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
  96 + <tr><td class="indexkey">include/http/<a class="el" href="response_8h.html">response.h</a> <a href="response_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
94 97 <tr><td class="indexkey">include/interface/<a class="el" href="interface_2class_8h.html">class.h</a> <a href="interface_2class_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
95 98 <tr><td class="indexkey">include/interface/<a class="el" href="interface_2logger_8h.html">logger.h</a> <a href="interface_2logger_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
96 99 <tr><td class="indexkey">include/interface/<a class="el" href="stream__reader_8h.html">stream_reader.h</a> <a href="stream__reader_8h_source.html">[code]</a></td><td class="indexvalue"></td></tr>
... ... @@ -102,9 +105,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
102 105 <tr><td class="indexkey">src/<a class="el" href="signalHandling_8c.html">signalHandling.c</a> <a href="signalHandling_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
103 106 <tr><td class="indexkey">src/<a class="el" href="socket_8c.html">socket.c</a> <a href="socket_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
104 107 <tr><td class="indexkey">src/<a class="el" href="testserver_8c.html">testserver.c</a> <a href="testserver_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
  108 + <tr><td class="indexkey">src/http/<a class="el" href="header_8c.html">header.c</a> <a href="header_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
105 109 <tr><td class="indexkey">src/http/<a class="el" href="request_8c.html">request.c</a> <a href="request_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
106   - <tr><td class="indexkey">src/http/<a class="el" href="request__parser_8c.html">request_parser.c</a> <a href="request__parser_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
107   - <tr><td class="indexkey">src/http/<a class="el" href="request__queue_8c.html">request_queue.c</a> <a href="request__queue_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
  110 + <tr><td class="indexkey">src/http/header/<a class="el" href="get_8c.html">get.c</a> <a href="get_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
  111 + <tr><td class="indexkey">src/http/header/<a class="el" href="sort_8c.html">sort.c</a> <a href="sort_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
  112 + <tr><td class="indexkey">src/http/request/<a class="el" href="header__get_8c.html">header_get.c</a> <a href="header__get_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
  113 + <tr><td class="indexkey">src/http/request/<a class="el" href="parser_8c.html">parser.c</a> <a href="parser_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
  114 + <tr><td class="indexkey">src/http/request/<a class="el" href="queue_8c.html">queue.c</a> <a href="queue_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
  115 + <tr><td class="indexkey">src/http/request/parser/<a class="el" href="get__header_8c.html">get_header.c</a> <a href="get__header_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
  116 + <tr><td class="indexkey">src/http/request/parser/<a class="el" href="get__request__line_8c.html">get_request_line.c</a> <a href="get__request__line_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
  117 + <tr><td class="indexkey">src/http/request/parser/<a class="el" href="parse_8c.html">parse.c</a> <a href="parse_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
108 118 <tr><td class="indexkey">src/interface/<a class="el" href="interface_2class_8c.html">class.c</a> <a href="interface_2class_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
109 119 <tr><td class="indexkey">src/interface/<a class="el" href="interface_2logger_8c.html">logger.c</a> <a href="interface_2logger_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
110 120 <tr><td class="indexkey">src/interface/<a class="el" href="stream__reader_8c.html">stream_reader.c</a> <a href="stream__reader_8c_source.html">[code]</a></td><td class="indexvalue"></td></tr>
... ... @@ -123,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
123 133 </div>
124 134 <div id="nav-path" class="navpath">
125 135 <ul>
126   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  136 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
127 137 <a href="http://www.doxygen.org/index.html">
128 138 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
129 139 </ul>
... ...
... ... @@ -120,6 +120,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
120 120 <h3><a class="anchor" id="index_b"></a>- b -</h3><ul>
121 121 <li>body
122 122 : <a class="el" href="structHttpRequest.html#a4064a72196787ee73d246b117de2a7ef">HttpRequest</a>
  123 +, <a class="el" href="structHttpResponse.html#a48b139a9e8a5385630d90c3ffa0a1666">HttpResponse</a>
123 124 </li>
124 125 <li>buffer
125 126 : <a class="el" href="structHttpRequestParser.html#a6c93a89e984f6ee2c7f52bfa281c2f94">HttpRequestParser</a>
... ... @@ -138,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
138 139 : <a class="el" href="structi__Class.html#ad3af0db4f258c8af23f62e14283bff43">i_Class</a>
139 140 </li>
140 141 <li>conns
141   -: <a class="el" href="structServer.html#a269c01ae6736206cdd9a5e1d5ad2398b">Server</a>
  142 +: <a class="el" href="structServer.html#a05ddcbbda8dfb0e506f624799de9d8f4">Server</a>
142 143 </li>
143 144 <li>ctor
144 145 : <a class="el" href="structi__Class.html#ace20a21c57a14d2846cfd061002970f4">i_Class</a>
... ... @@ -147,9 +148,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
147 148
148 149
149 150 <h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
150   -<li>done
151   -: <a class="el" href="structHttpRequest.html#a3cda82352767cf9f1c2a665ec2638a70">HttpRequest</a>
152   -</li>
153 151 <li>dtor
154 152 : <a class="el" href="structi__Class.html#aced52ce163499af9cc7de1ae979e0ee2">i_Class</a>
155 153 </li>
... ... @@ -168,11 +166,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
168 166 <li>handle
169 167 : <a class="el" href="structSock.html#a1b5945aef923a906501d7abac82449c3">Sock</a>
170 168 </li>
  169 +<li>hash
  170 +: <a class="el" href="structHttpHeader.html#a60c635bed9da0be4f2db9a1f453d73ee">HttpHeader</a>
  171 +</li>
171 172 <li>header
172   -: <a class="el" href="structHttpRequest.html#ab0abc660d76e3b9a169bddd4a92ffd52">HttpRequest</a>
  173 +: <a class="el" href="structHttpResponse.html#aab84006da7b1af3df1fca9cd91045462">HttpResponse</a>
  174 +, <a class="el" href="structHttpRequest.html#afb868f467dd9d53bac726682415e7e05">HttpRequest</a>
173 175 </li>
174 176 <li>http_version
175   -: <a class="el" href="structHttpRequest.html#ab9bfe4f569e5cbcbf49d4b8377d254a2">HttpRequest</a>
  177 +: <a class="el" href="structHttpResponse.html#ac74d5ca0e4f7e9c053ea014d9eb8e674">HttpResponse</a>
176 178 </li>
177 179 </ul>
178 180
... ... @@ -213,15 +215,23 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
213 215
214 216 <h3><a class="anchor" id="index_n"></a>- n -</h3><ul>
215 217 <li>name
216   -: <a class="el" href="structHttpRequest.html#a6b66dcc28e31a61cc2f9f0b462f6ea18">HttpRequest</a>
  218 +: <a class="el" href="structHttpHeader.html#a84cd71e92a4b68eb176446c8acfc9a0f">HttpHeader</a>
217 219 , <a class="el" href="structinterface.html#aee0f8e8ed8b404d358a6da91196da0d9">interface</a>
218 220 </li>
  221 +<li>nbody
  222 +: <a class="el" href="structHttpResponse.html#a27f5d9dfbbadf674387c12ebbae46561">HttpResponse</a>
  223 +, <a class="el" href="structHttpRequest.html#a797280ec2d7f176f386a3da15d202a94">HttpRequest</a>
  224 +</li>
219 225 <li>ndel
220 226 : <a class="el" href="structServer.html#a88eb6b108b1d22967076fc1d9e21c4d4">Server</a>
221 227 </li>
222 228 <li>nfds
223 229 : <a class="el" href="structServer.html#a156e386a6d4c73e6233531706a091fb3">Server</a>
224 230 </li>
  231 +<li>nheader
  232 +: <a class="el" href="structHttpResponse.html#ab79cf221a040988a1dd5b1a6f0ed38a0">HttpResponse</a>
  233 +, <a class="el" href="structHttpRequest.html#abd65f3f675b3291d2ce6e584b6ada40d">HttpRequest</a>
  234 +</li>
225 235 <li>nimpl
226 236 : <a class="el" href="structiface__impl.html#af2eaa008e863bdef373ed0c6fa26722b">iface_impl</a>
227 237 </li>
... ... @@ -267,6 +277,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
267 277 <li>requests
268 278 : <a class="el" href="structHttpRequestQueue.html#a9413ed3fe003274c47618adde5335164">HttpRequestQueue</a>
269 279 </li>
  280 +<li>reson
  281 +: <a class="el" href="structHttpResponse.html#aa74792db8cbc7e9c6046a41cfc79b895">HttpResponse</a>
  282 +</li>
270 283 <li>rpos
271 284 : <a class="el" href="structServer.html#af39a8d40450b5c6a947be2c1a95c0943">Server</a>
272 285 </li>
... ... @@ -283,6 +296,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
283 296 <li>state
284 297 : <a class="el" href="structHttpRequestParser.html#a8b0173db304820355cc8764e57cc5b63">HttpRequestParser</a>
285 298 </li>
  299 +<li>status
  300 +: <a class="el" href="structHttpResponse.html#a3db0e40bc5f3d969fd15eb8b96214571">HttpResponse</a>
  301 +</li>
286 302 </ul>
287 303
288 304
... ... @@ -295,7 +311,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
295 311
296 312 <h3><a class="anchor" id="index_v"></a>- v -</h3><ul>
297 313 <li>value
298   -: <a class="el" href="structHttpRequest.html#a333e4fbf77305e59196c2ebd59cf6b65">HttpRequest</a>
  314 +: <a class="el" href="structHttpHeader.html#aa7dd0f8361dba57f5be17ff9c6a181e5">HttpHeader</a>
  315 +</li>
  316 +<li>version
  317 +: <a class="el" href="structHttpRequest.html#aca04aed601a66376623f14c98244cb66">HttpRequest</a>
299 318 </li>
300 319 </ul>
301 320
... ... @@ -312,7 +331,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
312 331 </div>
313 332 <div id="nav-path" class="navpath">
314 333 <ul>
315   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  334 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
316 335 <a href="http://www.doxygen.org/index.html">
317 336 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
318 337 </ul>
... ...
... ... @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
95 95 </div>
96 96 <div id="nav-path" class="navpath">
97 97 <ul>
98   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  98 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
99 99 <a href="http://www.doxygen.org/index.html">
100 100 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
101 101 </ul>
... ...
... ... @@ -119,6 +119,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
119 119 <h3><a class="anchor" id="index_b"></a>- b -</h3><ul>
120 120 <li>body
121 121 : <a class="el" href="structHttpRequest.html#a4064a72196787ee73d246b117de2a7ef">HttpRequest</a>
  122 +, <a class="el" href="structHttpResponse.html#a48b139a9e8a5385630d90c3ffa0a1666">HttpResponse</a>
122 123 </li>
123 124 <li>buffer
124 125 : <a class="el" href="structHttpRequestParser.html#a6c93a89e984f6ee2c7f52bfa281c2f94">HttpRequestParser</a>
... ... @@ -137,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
137 138 : <a class="el" href="structi__Class.html#ad3af0db4f258c8af23f62e14283bff43">i_Class</a>
138 139 </li>
139 140 <li>conns
140   -: <a class="el" href="structServer.html#a269c01ae6736206cdd9a5e1d5ad2398b">Server</a>
  141 +: <a class="el" href="structServer.html#a05ddcbbda8dfb0e506f624799de9d8f4">Server</a>
141 142 </li>
142 143 <li>ctor
143 144 : <a class="el" href="structi__Class.html#ace20a21c57a14d2846cfd061002970f4">i_Class</a>
... ... @@ -146,9 +147,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
146 147
147 148
148 149 <h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
149   -<li>done
150   -: <a class="el" href="structHttpRequest.html#a3cda82352767cf9f1c2a665ec2638a70">HttpRequest</a>
151   -</li>
152 150 <li>dtor
153 151 : <a class="el" href="structi__Class.html#aced52ce163499af9cc7de1ae979e0ee2">i_Class</a>
154 152 </li>
... ... @@ -159,11 +157,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
159 157 <li>handle
160 158 : <a class="el" href="structSock.html#a1b5945aef923a906501d7abac82449c3">Sock</a>
161 159 </li>
  160 +<li>hash
  161 +: <a class="el" href="structHttpHeader.html#a60c635bed9da0be4f2db9a1f453d73ee">HttpHeader</a>
  162 +</li>
162 163 <li>header
163   -: <a class="el" href="structHttpRequest.html#ab0abc660d76e3b9a169bddd4a92ffd52">HttpRequest</a>
  164 +: <a class="el" href="structHttpResponse.html#aab84006da7b1af3df1fca9cd91045462">HttpResponse</a>
  165 +, <a class="el" href="structHttpRequest.html#afb868f467dd9d53bac726682415e7e05">HttpRequest</a>
164 166 </li>
165 167 <li>http_version
166   -: <a class="el" href="structHttpRequest.html#ab9bfe4f569e5cbcbf49d4b8377d254a2">HttpRequest</a>
  168 +: <a class="el" href="structHttpResponse.html#ac74d5ca0e4f7e9c053ea014d9eb8e674">HttpResponse</a>
167 169 </li>
168 170 </ul>
169 171
... ... @@ -204,15 +206,23 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
204 206
205 207 <h3><a class="anchor" id="index_n"></a>- n -</h3><ul>
206 208 <li>name
207   -: <a class="el" href="structHttpRequest.html#a6b66dcc28e31a61cc2f9f0b462f6ea18">HttpRequest</a>
  209 +: <a class="el" href="structHttpHeader.html#a84cd71e92a4b68eb176446c8acfc9a0f">HttpHeader</a>
208 210 , <a class="el" href="structinterface.html#aee0f8e8ed8b404d358a6da91196da0d9">interface</a>
209 211 </li>
  212 +<li>nbody
  213 +: <a class="el" href="structHttpResponse.html#a27f5d9dfbbadf674387c12ebbae46561">HttpResponse</a>
  214 +, <a class="el" href="structHttpRequest.html#a797280ec2d7f176f386a3da15d202a94">HttpRequest</a>
  215 +</li>
210 216 <li>ndel
211 217 : <a class="el" href="structServer.html#a88eb6b108b1d22967076fc1d9e21c4d4">Server</a>
212 218 </li>
213 219 <li>nfds
214 220 : <a class="el" href="structServer.html#a156e386a6d4c73e6233531706a091fb3">Server</a>
215 221 </li>
  222 +<li>nheader
  223 +: <a class="el" href="structHttpResponse.html#ab79cf221a040988a1dd5b1a6f0ed38a0">HttpResponse</a>
  224 +, <a class="el" href="structHttpRequest.html#abd65f3f675b3291d2ce6e584b6ada40d">HttpRequest</a>
  225 +</li>
216 226 <li>nimpl
217 227 : <a class="el" href="structiface__impl.html#af2eaa008e863bdef373ed0c6fa26722b">iface_impl</a>
218 228 </li>
... ... @@ -258,6 +268,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
258 268 <li>requests
259 269 : <a class="el" href="structHttpRequestQueue.html#a9413ed3fe003274c47618adde5335164">HttpRequestQueue</a>
260 270 </li>
  271 +<li>reson
  272 +: <a class="el" href="structHttpResponse.html#aa74792db8cbc7e9c6046a41cfc79b895">HttpResponse</a>
  273 +</li>
261 274 <li>rpos
262 275 : <a class="el" href="structServer.html#af39a8d40450b5c6a947be2c1a95c0943">Server</a>
263 276 </li>
... ... @@ -274,6 +287,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
274 287 <li>state
275 288 : <a class="el" href="structHttpRequestParser.html#a8b0173db304820355cc8764e57cc5b63">HttpRequestParser</a>
276 289 </li>
  290 +<li>status
  291 +: <a class="el" href="structHttpResponse.html#a3db0e40bc5f3d969fd15eb8b96214571">HttpResponse</a>
  292 +</li>
277 293 </ul>
278 294
279 295
... ... @@ -286,7 +302,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
286 302
287 303 <h3><a class="anchor" id="index_v"></a>- v -</h3><ul>
288 304 <li>value
289   -: <a class="el" href="structHttpRequest.html#a333e4fbf77305e59196c2ebd59cf6b65">HttpRequest</a>
  305 +: <a class="el" href="structHttpHeader.html#aa7dd0f8361dba57f5be17ff9c6a181e5">HttpHeader</a>
  306 +</li>
  307 +<li>version
  308 +: <a class="el" href="structHttpRequest.html#aca04aed601a66376623f14c98244cb66">HttpRequest</a>
290 309 </li>
291 310 </ul>
292 311
... ... @@ -303,7 +322,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
303 322 </div>
304 323 <div id="nav-path" class="navpath">
305 324 <ul>
306   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  325 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
307 326 <a href="http://www.doxygen.org/index.html">
308 327 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
309 328 </ul>
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: src/http/header/get.c File Reference</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('get_8c.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="summary">
  81 +<a href="#func-members">Functions</a> </div>
  82 + <div class="headertitle">
  83 +<h1>src/http/header/get.c File Reference</h1> </div>
  84 +</div>
  85 +<div class="contents">
  86 +<div class="textblock"><code>#include &lt;stdlib.h&gt;</code><br/>
  87 +<code>#include &lt;ctype.h&gt;</code><br/>
  88 +<code>#include &quot;http/header.h&quot;</code><br/>
  89 +</div><div class="textblock"><div class="dynheader">
  90 +Include dependency graph for get.c:</div>
  91 +<div class="dyncontent">
  92 +<div class="center"><img src="get_8c__incl.png" border="0" usemap="#src_2http_2header_2get_8c" alt=""/></div>
  93 +<map name="src_2http_2header_2get_8c" id="src_2http_2header_2get_8c">
  94 +</map>
  95 +</div>
  96 +</div>
  97 +<p><a href="get_8c_source.html">Go to the source code of this file.</a></p>
  98 +<table class="memberdecls">
  99 +<tr><td colspan="2"><h2><a name="func-members"></a>
  100 +Functions</h2></td></tr>
  101 +<tr><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="get_8c.html#abed67d03f002ffb1a7cf94d641a80ca4">httpHeaderGet</a> (const <a class="el" href="structHttpHeader.html">HttpHeader</a> header[], int nheader, const char *name)</td></tr>
  102 +</table>
  103 +<hr/><h2>Function Documentation</h2>
  104 +<a class="anchor" id="abed67d03f002ffb1a7cf94d641a80ca4"></a><!-- doxytag: member="get.c::httpHeaderGet" ref="abed67d03f002ffb1a7cf94d641a80ca4" args="(const HttpHeader header[], int nheader, const char *name)" -->
  105 +<div class="memitem">
  106 +<div class="memproto">
  107 + <table class="memname">
  108 + <tr>
  109 + <td class="memname">char* httpHeaderGet </td>
  110 + <td>(</td>
  111 + <td class="paramtype">const <a class="el" href="structHttpHeader.html">HttpHeader</a>&#160;</td>
  112 + <td class="paramname"><em>header</em>[], </td>
  113 + </tr>
  114 + <tr>
  115 + <td class="paramkey"></td>
  116 + <td></td>
  117 + <td class="paramtype">int&#160;</td>
  118 + <td class="paramname"><em>nheader</em>, </td>
  119 + </tr>
  120 + <tr>
  121 + <td class="paramkey"></td>
  122 + <td></td>
  123 + <td class="paramtype">const char *&#160;</td>
  124 + <td class="paramname"><em>name</em>&#160;</td>
  125 + </tr>
  126 + <tr>
  127 + <td></td>
  128 + <td>)</td>
  129 + <td></td><td></td>
  130 + </tr>
  131 + </table>
  132 +</div>
  133 +<div class="memdoc">
  134 +
  135 +<p>Definition at line <a class="el" href="get_8c_source.html#l00031">31</a> of file <a class="el" href="get_8c_source.html">get.c</a>.</p>
  136 +<div class="fragment"><pre class="fragment">{
  137 + <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> hash = sdbm((<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)name);
  138 + <a class="code" href="structHttpHeader.html">HttpHeader</a> found;
  139 +
  140 + found = bsearch(&amp;hash, header, nheader, <span class="keyword">sizeof</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>), comp);
  141 +
  142 + <span class="keywordflow">return</span> (NULL != found)? found-&gt;<a class="code" href="structHttpHeader.html#aa7dd0f8361dba57f5be17ff9c6a181e5">value</a> : NULL;
  143 +}
  144 +</pre></div>
  145 +<p><div class="dynheader">
  146 +Here is the caller graph for this function:</div>
  147 +<div class="dyncontent">
  148 +<div class="center"><img src="get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph.png" border="0" usemap="#get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph" alt=""/></div>
  149 +<map name="get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph" id="get_8c_abed67d03f002ffb1a7cf94d641a80ca4_icgraph">
  150 +<area shape="rect" id="node3" href="parser_8c.html#a659e7ea125685d797a099638b3376320" title="httpRequestParserParse" alt="" coords="163,5,331,33"/></map>
  151 +</div>
  152 +</p>
  153 +
  154 +</div>
  155 +</div>
  156 +</div>
  157 +</div>
  158 + <div id="nav-path" class="navpath">
  159 + <ul>
  160 + <li class="navelem"><a class="el" href="get_8c.html">get.c</a> </li>
  161 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  162 +<a href="http://www.doxygen.org/index.html">
  163 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  164 + </ul>
  165 + </div>
  166 +<!--- window showing the filter options -->
  167 +<div id="MSearchSelectWindow"
  168 + onmouseover="return searchBox.OnSearchSelectShow()"
  169 + onmouseout="return searchBox.OnSearchSelectHide()"
  170 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  171 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  172 +
  173 +<!-- iframe showing the search results (closed by default) -->
  174 +<div id="MSearchResultsWindow">
  175 +<iframe src="" frameborder="0"
  176 + name="MSearchResults" id="MSearchResults">
  177 +</iframe>
  178 +</div>
  179 +
  180 +
  181 +</body>
  182 +</html>
... ...
  1 +<map id="G" name="G">
  2 +</map>
... ...
  1 +1e88de88b5311e9915c958b3ce062f86
\ No newline at end of file
... ...
  1 +<map id="G" name="G">
  2 +<area shape="rect" id="node3" href="$parser_8c.html#a659e7ea125685d797a099638b3376320" title="httpRequestParserParse" alt="" coords="163,5,331,33"/>
  3 +</map>
... ...
  1 +e121973e81d665acb1be05befc4d66dc
\ No newline at end of file
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: src/http/header/get.c Source File</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('get_8c.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="headertitle">
  81 +<h1>src/http/header/get.c</h1> </div>
  82 +</div>
  83 +<div class="contents">
  84 +<a href="get_8c.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
  85 +<a name="l00002"></a>00002 <span class="preprocessor">#include &lt;ctype.h&gt;</span>
  86 +<a name="l00003"></a>00003
  87 +<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;http/header.h&quot;</span>
  88 +<a name="l00005"></a>00005
  89 +<a name="l00006"></a>00006 <span class="keyword">static</span>
  90 +<a name="l00007"></a>00007 <span class="keyword">inline</span>
  91 +<a name="l00008"></a>00008 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>
  92 +<a name="l00009"></a>00009 sdbm(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * str)
  93 +<a name="l00010"></a>00010 {
  94 +<a name="l00011"></a>00011 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> hash = 0;
  95 +<a name="l00012"></a>00012 <span class="keywordtype">int</span> c;
  96 +<a name="l00013"></a>00013
  97 +<a name="l00014"></a>00014 <span class="keywordflow">while</span> ((c = tolower(*str++)))
  98 +<a name="l00015"></a>00015 hash = c + (hash &lt;&lt; 6) + (hash &lt;&lt; 16) - hash;
  99 +<a name="l00016"></a>00016
  100 +<a name="l00017"></a>00017 <span class="keywordflow">return</span> hash;
  101 +<a name="l00018"></a>00018 }
  102 +<a name="l00019"></a>00019
  103 +<a name="l00020"></a>00020 <span class="keyword">static</span>
  104 +<a name="l00021"></a>00021 <span class="keyword">inline</span>
  105 +<a name="l00022"></a>00022 <span class="keywordtype">int</span>
  106 +<a name="l00023"></a>00023 comp (<span class="keyword">const</span> <span class="keywordtype">void</span> * _a, <span class="keyword">const</span> <span class="keywordtype">void</span> * _b)
  107 +<a name="l00024"></a>00024 {
  108 +<a name="l00025"></a>00025 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> a = *(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *)_a;
  109 +<a name="l00026"></a>00026 <span class="keyword">const</span> <a class="code" href="structHttpHeader.html">HttpHeader</a> b = *(<span class="keyword">const</span> <a class="code" href="structHttpHeader.html">HttpHeader</a> *)_b;
  110 +<a name="l00027"></a>00027 <span class="keywordflow">return</span> (a &lt; b-&gt;hash)? -1 : (a &gt; b-&gt;<a class="code" href="structHttpHeader.html#a60c635bed9da0be4f2db9a1f453d73ee">hash</a>)? 1 : 0;
  111 +<a name="l00028"></a>00028 }
  112 +<a name="l00029"></a>00029
  113 +<a name="l00030"></a>00030 <span class="keywordtype">char</span> *
  114 +<a name="l00031"></a><a class="code" href="get_8c.html#abed67d03f002ffb1a7cf94d641a80ca4">00031</a> <a class="code" href="header_8h.html#a002a617a3523cbc79ba8ef6f76d98465">httpHeaderGet</a>(<span class="keyword">const</span> <a class="code" href="structHttpHeader.html">HttpHeader</a> header[], <span class="keywordtype">int</span> nheader, <span class="keyword">const</span> <span class="keywordtype">char</span> * name)
  115 +<a name="l00032"></a>00032 {
  116 +<a name="l00033"></a>00033 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> hash = sdbm((<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)name);
  117 +<a name="l00034"></a>00034 <a class="code" href="structHttpHeader.html">HttpHeader</a> found;
  118 +<a name="l00035"></a>00035
  119 +<a name="l00036"></a>00036 found = bsearch(&amp;hash, header, nheader, <span class="keyword">sizeof</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>), comp);
  120 +<a name="l00037"></a>00037
  121 +<a name="l00038"></a>00038 <span class="keywordflow">return</span> (NULL != found)? found-&gt;<a class="code" href="structHttpHeader.html#aa7dd0f8361dba57f5be17ff9c6a181e5">value</a> : NULL;
  122 +<a name="l00039"></a>00039 }
  123 +<a name="l00040"></a>00040
  124 +<a name="l00041"></a>00041 <span class="comment">// vim: set ts=4 sw=4:</span>
  125 +</pre></div></div>
  126 +</div>
  127 + <div id="nav-path" class="navpath">
  128 + <ul>
  129 + <li class="navelem"><a class="el" href="get_8c.html">get.c</a> </li>
  130 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  131 +<a href="http://www.doxygen.org/index.html">
  132 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  133 + </ul>
  134 + </div>
  135 +<!--- window showing the filter options -->
  136 +<div id="MSearchSelectWindow"
  137 + onmouseover="return searchBox.OnSearchSelectShow()"
  138 + onmouseout="return searchBox.OnSearchSelectHide()"
  139 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  140 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  141 +
  142 +<!-- iframe showing the search results (closed by default) -->
  143 +<div id="MSearchResultsWindow">
  144 +<iframe src="" frameborder="0"
  145 + name="MSearchResults" id="MSearchResults">
  146 +</iframe>
  147 +</div>
  148 +
  149 +
  150 +</body>
  151 +</html>
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: src/http/request/parser/get_header.c File Reference</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('get__header_8c.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="summary">
  81 +<a href="#func-members">Functions</a> </div>
  82 + <div class="headertitle">
  83 +<h1>src/http/request/parser/get_header.c File Reference</h1> </div>
  84 +</div>
  85 +<div class="contents">
  86 +<div class="textblock"><code>#include &quot;class.h&quot;</code><br/>
  87 +<code>#include &quot;interface/class.h&quot;</code><br/>
  88 +<code>#include &quot;http/header.h&quot;</code><br/>
  89 +<code>#include &quot;http/request.h&quot;</code><br/>
  90 +</div><div class="textblock"><div class="dynheader">
  91 +Include dependency graph for get_header.c:</div>
  92 +<div class="dyncontent">
  93 +<div class="center"><img src="get__header_8c__incl.png" border="0" usemap="#src_2http_2request_2parser_2get__header_8c" alt=""/></div>
  94 +<map name="src_2http_2request_2parser_2get__header_8c" id="src_2http_2request_2parser_2get__header_8c">
  95 +</map>
  96 +</div>
  97 +</div>
  98 +<p><a href="get__header_8c_source.html">Go to the source code of this file.</a></p>
  99 +<table class="memberdecls">
  100 +<tr><td colspan="2"><h2><a name="func-members"></a>
  101 +Functions</h2></td></tr>
  102 +<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="get__header_8c.html#a53acbf83d2753cafdc4880dfc4f4222c">httpRequestParserGetHeader</a> (<a class="el" href="structHttpRequest.html">HttpRequest</a> request, char *line)</td></tr>
  103 +</table>
  104 +<hr/><h2>Function Documentation</h2>
  105 +<a class="anchor" id="a53acbf83d2753cafdc4880dfc4f4222c"></a><!-- doxytag: member="get_header.c::httpRequestParserGetHeader" ref="a53acbf83d2753cafdc4880dfc4f4222c" args="(HttpRequest request, char *line)" -->
  106 +<div class="memitem">
  107 +<div class="memproto">
  108 + <table class="memname">
  109 + <tr>
  110 + <td class="memname">void httpRequestParserGetHeader </td>
  111 + <td>(</td>
  112 + <td class="paramtype"><a class="el" href="structHttpRequest.html">HttpRequest</a>&#160;</td>
  113 + <td class="paramname"><em>request</em>, </td>
  114 + </tr>
  115 + <tr>
  116 + <td class="paramkey"></td>
  117 + <td></td>
  118 + <td class="paramtype">char *&#160;</td>
  119 + <td class="paramname"><em>line</em>&#160;</td>
  120 + </tr>
  121 + <tr>
  122 + <td></td>
  123 + <td>)</td>
  124 + <td></td><td></td>
  125 + </tr>
  126 + </table>
  127 +</div>
  128 +<div class="memdoc">
  129 +
  130 +<p>Definition at line <a class="el" href="get__header_8c_source.html#l00007">7</a> of file <a class="el" href="get__header_8c_source.html">get_header.c</a>.</p>
  131 +<div class="fragment"><pre class="fragment">{
  132 + <span class="keywordtype">char</span> * name = line;
  133 + <span class="keywordtype">char</span> * value = strchr(line, <span class="charliteral">&#39;:&#39;</span>);
  134 +
  135 + *value = 0;
  136 + <span class="keywordflow">for</span> (; *value == <span class="charliteral">&#39; &#39;</span> &amp;&amp; *value != 0; value++);
  137 +
  138 + (request-&gt;<a class="code" href="structHttpRequest.html#afb868f467dd9d53bac726682415e7e05">header</a>)[request-&gt;<a class="code" href="structHttpRequest.html#abd65f3f675b3291d2ce6e584b6ada40d">nheader</a>++] = <span class="keyword">new</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>, name, value);
  139 +}
  140 +</pre></div>
  141 +<p><div class="dynheader">
  142 +Here is the caller graph for this function:</div>
  143 +<div class="dyncontent">
  144 +<div class="center"><img src="get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph.png" border="0" usemap="#get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph" alt=""/></div>
  145 +<map name="get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph" id="get__header_8c_a53acbf83d2753cafdc4880dfc4f4222c_icgraph">
  146 +<area shape="rect" id="node3" href="parser_8c.html#a659e7ea125685d797a099638b3376320" title="httpRequestParserParse" alt="" coords="253,5,421,33"/></map>
  147 +</div>
  148 +</p>
  149 +
  150 +</div>
  151 +</div>
  152 +</div>
  153 +</div>
  154 + <div id="nav-path" class="navpath">
  155 + <ul>
  156 + <li class="navelem"><a class="el" href="get__header_8c.html">get_header.c</a> </li>
  157 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  158 +<a href="http://www.doxygen.org/index.html">
  159 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  160 + </ul>
  161 + </div>
  162 +<!--- window showing the filter options -->
  163 +<div id="MSearchSelectWindow"
  164 + onmouseover="return searchBox.OnSearchSelectShow()"
  165 + onmouseout="return searchBox.OnSearchSelectHide()"
  166 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  167 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  168 +
  169 +<!-- iframe showing the search results (closed by default) -->
  170 +<div id="MSearchResultsWindow">
  171 +<iframe src="" frameborder="0"
  172 + name="MSearchResults" id="MSearchResults">
  173 +</iframe>
  174 +</div>
  175 +
  176 +
  177 +</body>
  178 +</html>
... ...
  1 +<map id="G" name="G">
  2 +</map>
... ...
  1 +4811240ca1816728301264f7b1794c6f
\ No newline at end of file
... ...
  1 +<map id="G" name="G">
  2 +<area shape="rect" id="node3" href="$parser_8c.html#a659e7ea125685d797a099638b3376320" title="httpRequestParserParse" alt="" coords="253,5,421,33"/>
  3 +</map>
... ...
  1 +933e2e7f32c2b754d66448c2170a9cf7
\ No newline at end of file
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: src/http/request/parser/get_header.c Source File</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('get__header_8c.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="headertitle">
  81 +<h1>src/http/request/parser/get_header.c</h1> </div>
  82 +</div>
  83 +<div class="contents">
  84 +<a href="get__header_8c.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &quot;class.h&quot;</span>
  85 +<a name="l00002"></a>00002 <span class="preprocessor">#include &quot;interface/class.h&quot;</span>
  86 +<a name="l00003"></a>00003 <span class="preprocessor">#include &quot;http/header.h&quot;</span>
  87 +<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;http/request.h&quot;</span>
  88 +<a name="l00005"></a>00005
  89 +<a name="l00006"></a>00006 <span class="keywordtype">void</span>
  90 +<a name="l00007"></a><a class="code" href="get__header_8c.html#a53acbf83d2753cafdc4880dfc4f4222c">00007</a> <a class="code" href="get__header_8c.html#a53acbf83d2753cafdc4880dfc4f4222c">httpRequestParserGetHeader</a>(<a class="code" href="structHttpRequest.html">HttpRequest</a> request, <span class="keywordtype">char</span> * line)
  91 +<a name="l00008"></a>00008 {
  92 +<a name="l00009"></a>00009 <span class="keywordtype">char</span> * name = line;
  93 +<a name="l00010"></a>00010 <span class="keywordtype">char</span> * value = strchr(line, <span class="charliteral">&#39;:&#39;</span>);
  94 +<a name="l00011"></a>00011
  95 +<a name="l00012"></a>00012 *value = 0;
  96 +<a name="l00013"></a>00013 <span class="keywordflow">for</span> (; *value == <span class="charliteral">&#39; &#39;</span> &amp;&amp; *value != 0; value++);
  97 +<a name="l00014"></a>00014
  98 +<a name="l00015"></a>00015 (request-&gt;<a class="code" href="structHttpRequest.html#afb868f467dd9d53bac726682415e7e05">header</a>)[request-&gt;<a class="code" href="structHttpRequest.html#abd65f3f675b3291d2ce6e584b6ada40d">nheader</a>++] = <span class="keyword">new</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>, name, value);
  99 +<a name="l00016"></a>00016 }
  100 +<a name="l00017"></a>00017
  101 +<a name="l00018"></a>00018 <span class="comment">// vim: set ts=4 sw=4:</span>
  102 +</pre></div></div>
  103 +</div>
  104 + <div id="nav-path" class="navpath">
  105 + <ul>
  106 + <li class="navelem"><a class="el" href="get__header_8c.html">get_header.c</a> </li>
  107 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  108 +<a href="http://www.doxygen.org/index.html">
  109 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  110 + </ul>
  111 + </div>
  112 +<!--- window showing the filter options -->
  113 +<div id="MSearchSelectWindow"
  114 + onmouseover="return searchBox.OnSearchSelectShow()"
  115 + onmouseout="return searchBox.OnSearchSelectHide()"
  116 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  117 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  118 +
  119 +<!-- iframe showing the search results (closed by default) -->
  120 +<div id="MSearchResultsWindow">
  121 +<iframe src="" frameborder="0"
  122 + name="MSearchResults" id="MSearchResults">
  123 +</iframe>
  124 +</div>
  125 +
  126 +
  127 +</body>
  128 +</html>
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: src/http/request/parser/get_request_line.c File Reference</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('get__request__line_8c.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="summary">
  81 +<a href="#func-members">Functions</a> </div>
  82 + <div class="headertitle">
  83 +<h1>src/http/request/parser/get_request_line.c File Reference</h1> </div>
  84 +</div>
  85 +<div class="contents">
  86 +<div class="textblock"><code>#include &lt;string.h&gt;</code><br/>
  87 +<code>#include &quot;http/request.h&quot;</code><br/>
  88 +</div><div class="textblock"><div class="dynheader">
  89 +Include dependency graph for get_request_line.c:</div>
  90 +<div class="dyncontent">
  91 +<div class="center"><img src="get__request__line_8c__incl.png" border="0" usemap="#src_2http_2request_2parser_2get__request__line_8c" alt=""/></div>
  92 +<map name="src_2http_2request_2parser_2get__request__line_8c" id="src_2http_2request_2parser_2get__request__line_8c">
  93 +</map>
  94 +</div>
  95 +</div>
  96 +<p><a href="get__request__line_8c_source.html">Go to the source code of this file.</a></p>
  97 +<table class="memberdecls">
  98 +<tr><td colspan="2"><h2><a name="func-members"></a>
  99 +Functions</h2></td></tr>
  100 +<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="get__request__line_8c.html#a47a4a36f54b295507a2599488a4a6077">httpRequestParserGetRequestLine</a> (<a class="el" href="structHttpRequest.html">HttpRequest</a> request, char *line)</td></tr>
  101 +</table>
  102 +<hr/><h2>Function Documentation</h2>
  103 +<a class="anchor" id="a47a4a36f54b295507a2599488a4a6077"></a><!-- doxytag: member="get_request_line.c::httpRequestParserGetRequestLine" ref="a47a4a36f54b295507a2599488a4a6077" args="(HttpRequest request, char *line)" -->
  104 +<div class="memitem">
  105 +<div class="memproto">
  106 + <table class="memname">
  107 + <tr>
  108 + <td class="memname">void httpRequestParserGetRequestLine </td>
  109 + <td>(</td>
  110 + <td class="paramtype"><a class="el" href="structHttpRequest.html">HttpRequest</a>&#160;</td>
  111 + <td class="paramname"><em>request</em>, </td>
  112 + </tr>
  113 + <tr>
  114 + <td class="paramkey"></td>
  115 + <td></td>
  116 + <td class="paramtype">char *&#160;</td>
  117 + <td class="paramname"><em>line</em>&#160;</td>
  118 + </tr>
  119 + <tr>
  120 + <td></td>
  121 + <td>)</td>
  122 + <td></td><td></td>
  123 + </tr>
  124 + </table>
  125 +</div>
  126 +<div class="memdoc">
  127 +
  128 +<p>Definition at line <a class="el" href="get__request__line_8c_source.html#l00007">7</a> of file <a class="el" href="get__request__line_8c_source.html">get_request_line.c</a>.</p>
  129 +<div class="fragment"><pre class="fragment">{
  130 + <span class="keywordtype">char</span> * method, * uri, * version;
  131 +
  132 + method = line;
  133 +
  134 + uri = strchr(line, <span class="charliteral">&#39; &#39;</span>);
  135 + *uri++ = 0;
  136 + <span class="keywordflow">for</span> (; *uri == <span class="charliteral">&#39; &#39;</span> &amp;&amp; *uri != 0; uri++);
  137 +
  138 + version = strchr(uri, <span class="charliteral">&#39; &#39;</span>);
  139 + *version++ = 0;
  140 + <span class="keywordflow">for</span> (; *version == <span class="charliteral">&#39; &#39;</span> &amp;&amp; *version != 0; version++);
  141 +
  142 + request-&gt;<a class="code" href="structHttpRequest.html#a266c616e67dea85335c9fcfca6e5c0cb">method</a> = malloc(strlen(method) + 1);
  143 + strcpy(request-&gt;<a class="code" href="structHttpRequest.html#a266c616e67dea85335c9fcfca6e5c0cb">method</a>, method);
  144 + request-&gt;<a class="code" href="structHttpRequest.html#a3f880540d72ba70d88f8a312b256b7c9">uri</a> = malloc(strlen(uri) + 1);
  145 + strcpy(request-&gt;<a class="code" href="structHttpRequest.html#a3f880540d72ba70d88f8a312b256b7c9">uri</a>, uri);
  146 + request-&gt;<a class="code" href="structHttpRequest.html#aca04aed601a66376623f14c98244cb66">version</a> = malloc(strlen(version) + 1);
  147 + strcpy(request-&gt;<a class="code" href="structHttpRequest.html#aca04aed601a66376623f14c98244cb66">version</a>, method);
  148 +}
  149 +</pre></div>
  150 +<p><div class="dynheader">
  151 +Here is the caller graph for this function:</div>
  152 +<div class="dyncontent">
  153 +<div class="center"><img src="get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph.png" border="0" usemap="#get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph" alt=""/></div>
  154 +<map name="get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph" id="get__request__line_8c_a47a4a36f54b295507a2599488a4a6077_icgraph">
  155 +<area shape="rect" id="node3" href="parser_8c.html#a659e7ea125685d797a099638b3376320" title="httpRequestParserParse" alt="" coords="283,5,451,33"/></map>
  156 +</div>
  157 +</p>
  158 +
  159 +</div>
  160 +</div>
  161 +</div>
  162 +</div>
  163 + <div id="nav-path" class="navpath">
  164 + <ul>
  165 + <li class="navelem"><a class="el" href="get__request__line_8c.html">get_request_line.c</a> </li>
  166 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  167 +<a href="http://www.doxygen.org/index.html">
  168 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  169 + </ul>
  170 + </div>
  171 +<!--- window showing the filter options -->
  172 +<div id="MSearchSelectWindow"
  173 + onmouseover="return searchBox.OnSearchSelectShow()"
  174 + onmouseout="return searchBox.OnSearchSelectHide()"
  175 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  176 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  177 +
  178 +<!-- iframe showing the search results (closed by default) -->
  179 +<div id="MSearchResultsWindow">
  180 +<iframe src="" frameborder="0"
  181 + name="MSearchResults" id="MSearchResults">
  182 +</iframe>
  183 +</div>
  184 +
  185 +
  186 +</body>
  187 +</html>
... ...
  1 +<map id="G" name="G">
  2 +</map>
... ...
  1 +cb6e586a8f9a0f50adfaac4b911b97f7
\ No newline at end of file
... ...
  1 +<map id="G" name="G">
  2 +<area shape="rect" id="node3" href="$parser_8c.html#a659e7ea125685d797a099638b3376320" title="httpRequestParserParse" alt="" coords="283,5,451,33"/>
  3 +</map>
... ...
  1 +99e054c8a121835084e75516f7b257cf
\ No newline at end of file
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: src/http/request/parser/get_request_line.c Source File</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('get__request__line_8c.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="headertitle">
  81 +<h1>src/http/request/parser/get_request_line.c</h1> </div>
  82 +</div>
  83 +<div class="contents">
  84 +<a href="get__request__line_8c.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &lt;string.h&gt;</span>
  85 +<a name="l00002"></a>00002
  86 +<a name="l00003"></a>00003 <span class="preprocessor">#include &quot;http/request.h&quot;</span>
  87 +<a name="l00004"></a>00004
  88 +<a name="l00005"></a>00005
  89 +<a name="l00006"></a>00006 <span class="keywordtype">void</span>
  90 +<a name="l00007"></a><a class="code" href="parse_8c.html#a187bf52da83090068bafea54589f6f69">00007</a> <a class="code" href="get__request__line_8c.html#a47a4a36f54b295507a2599488a4a6077">httpRequestParserGetRequestLine</a>(<a class="code" href="structHttpRequest.html">HttpRequest</a> request, <span class="keywordtype">char</span> * line)
  91 +<a name="l00008"></a>00008 {
  92 +<a name="l00009"></a>00009 <span class="keywordtype">char</span> * method, * uri, * version;
  93 +<a name="l00010"></a>00010
  94 +<a name="l00011"></a>00011 method = line;
  95 +<a name="l00012"></a>00012
  96 +<a name="l00013"></a>00013 uri = strchr(line, <span class="charliteral">&#39; &#39;</span>);
  97 +<a name="l00014"></a>00014 *uri++ = 0;
  98 +<a name="l00015"></a>00015 <span class="keywordflow">for</span> (; *uri == <span class="charliteral">&#39; &#39;</span> &amp;&amp; *uri != 0; uri++);
  99 +<a name="l00016"></a>00016
  100 +<a name="l00017"></a>00017 version = strchr(uri, <span class="charliteral">&#39; &#39;</span>);
  101 +<a name="l00018"></a>00018 *version++ = 0;
  102 +<a name="l00019"></a>00019 <span class="keywordflow">for</span> (; *version == <span class="charliteral">&#39; &#39;</span> &amp;&amp; *version != 0; version++);
  103 +<a name="l00020"></a>00020
  104 +<a name="l00021"></a>00021 request-&gt;<a class="code" href="structHttpRequest.html#a266c616e67dea85335c9fcfca6e5c0cb">method</a> = malloc(strlen(method) + 1);
  105 +<a name="l00022"></a>00022 strcpy(request-&gt;<a class="code" href="structHttpRequest.html#a266c616e67dea85335c9fcfca6e5c0cb">method</a>, method);
  106 +<a name="l00023"></a>00023 request-&gt;<a class="code" href="structHttpRequest.html#a3f880540d72ba70d88f8a312b256b7c9">uri</a> = malloc(strlen(uri) + 1);
  107 +<a name="l00024"></a>00024 strcpy(request-&gt;<a class="code" href="structHttpRequest.html#a3f880540d72ba70d88f8a312b256b7c9">uri</a>, uri);
  108 +<a name="l00025"></a>00025 request-&gt;<a class="code" href="structHttpRequest.html#aca04aed601a66376623f14c98244cb66">version</a> = malloc(strlen(version) + 1);
  109 +<a name="l00026"></a>00026 strcpy(request-&gt;<a class="code" href="structHttpRequest.html#aca04aed601a66376623f14c98244cb66">version</a>, method);
  110 +<a name="l00027"></a>00027 }
  111 +<a name="l00028"></a>00028
  112 +<a name="l00029"></a>00029 <span class="comment">// vim: set ts=4 sw=4:</span>
  113 +</pre></div></div>
  114 +</div>
  115 + <div id="nav-path" class="navpath">
  116 + <ul>
  117 + <li class="navelem"><a class="el" href="get__request__line_8c.html">get_request_line.c</a> </li>
  118 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  119 +<a href="http://www.doxygen.org/index.html">
  120 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  121 + </ul>
  122 + </div>
  123 +<!--- window showing the filter options -->
  124 +<div id="MSearchSelectWindow"
  125 + onmouseover="return searchBox.OnSearchSelectShow()"
  126 + onmouseout="return searchBox.OnSearchSelectHide()"
  127 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  128 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  129 +
  130 +<!-- iframe showing the search results (closed by default) -->
  131 +<div id="MSearchResultsWindow">
  132 +<iframe src="" frameborder="0"
  133 + name="MSearchResults" id="MSearchResults">
  134 +</iframe>
  135 +</div>
  136 +
  137 +
  138 +</body>
  139 +</html>
... ...
... ... @@ -89,6 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
89 89 <li><a href="#index_r"><span>r</span></a></li>
90 90 <li><a href="#index_s"><span>s</span></a></li>
91 91 <li><a href="#index_t"><span>t</span></a></li>
  92 + <li><a href="#index_v"><span>v</span></a></li>
92 93 </ul>
93 94 </div>
94 95 </div>
... ... @@ -161,15 +162,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
161 162 : <a class="el" href="interface_2class_8h.html#a864061d3c9c7f123efb63649bb0fade7">class.h</a>
162 163 </li>
163 164 <li>CREATE_CLASS()
164   -: <a class="el" href="request__parser_8c.html#a70093dfed29b221273e59f63936237b5">request_parser.c</a>
  165 +: <a class="el" href="stderr_8c.html#a2536b6205a32b98ee5ee97ace564a412">stderr.c</a>
  166 +, <a class="el" href="queue_8c.html#aebf96b69aa671f499918b976cd20c087">queue.c</a>
165 167 , <a class="el" href="socket_8c.html#a924e6743ea24bce5099df53ea23f25d5">socket.c</a>
166 168 , <a class="el" href="logger_8c.html#a010ac92393088a64e3dbe6cd301e6cd0">logger.c</a>
167   -, <a class="el" href="class_8h.html#a509b4880afb25bb862c448d7a71e7afe">class.h</a>
  169 +, <a class="el" href="header_8c.html#ae8e5d69987c0bf3b3f0a3729c8bec8e4">header.c</a>
168 170 , <a class="el" href="syslog_8c.html#a86d902d1f3ac6c51e9e184744b37f7e3">syslog.c</a>
169 171 , <a class="el" href="server_8c.html#a69cdcc8e4e123675a4c70e8d38693826">server.c</a>
  172 +, <a class="el" href="parser_8c.html#a70093dfed29b221273e59f63936237b5">parser.c</a>
170 173 , <a class="el" href="request_8c.html#a3eb93e136cdb6fe8cd7ae90040020852">request.c</a>
171   -, <a class="el" href="request__queue_8c.html#aebf96b69aa671f499918b976cd20c087">request_queue.c</a>
172   -, <a class="el" href="stderr_8c.html#a2536b6205a32b98ee5ee97ace564a412">stderr.c</a>
  174 +, <a class="el" href="class_8h.html#a509b4880afb25bb862c448d7a71e7afe">class.h</a>
173 175 </li>
174 176 <li>CREATE_IMPL
175 177 : <a class="el" href="interface_8h.html#a855b98f3119c2d64e7dd4c2c910bd5b5">interface.h</a>
... ... @@ -227,6 +229,60 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
227 229 <li>HAS_PARENT
228 230 : <a class="el" href="class_8h.html#a5ea9893a0e62748b9d1154d5b77abed1">class.h</a>
229 231 </li>
  232 +<li>HAVE__BOOL
  233 +: <a class="el" href="config_8h.html#a862ffdbac7ac8323712310a418b7d9a3">config.h</a>
  234 +</li>
  235 +<li>HAVE_DLFCN_H
  236 +: <a class="el" href="config_8h.html#a0ee1617ff2f6885ef384a3dd46f9b9d7">config.h</a>
  237 +</li>
  238 +<li>HAVE_INTTYPES_H
  239 +: <a class="el" href="config_8h.html#ab90a030ff2790ebdc176660a6dd2a478">config.h</a>
  240 +</li>
  241 +<li>HAVE_JSON_JSON_H
  242 +: <a class="el" href="config_8h.html#ac2c863e4e8669bd8c3a403107e2102ad">config.h</a>
  243 +</li>
  244 +<li>HAVE_LIBJSON
  245 +: <a class="el" href="config_8h.html#a4bfc3880cce93add473eb1d1751330bf">config.h</a>
  246 +</li>
  247 +<li>HAVE_MEMORY_H
  248 +: <a class="el" href="config_8h.html#ae93a78f9d076138897af441c9f86f285">config.h</a>
  249 +</li>
  250 +<li>HAVE_MEMSET
  251 +: <a class="el" href="config_8h.html#a3df52e9809253860c385be6f3a160607">config.h</a>
  252 +</li>
  253 +<li>HAVE_STDARG_H
  254 +: <a class="el" href="config_8h.html#a3a3f8c7f8da8cac799fb620a2dbf2b15">config.h</a>
  255 +</li>
  256 +<li>HAVE_STDBOOL_H
  257 +: <a class="el" href="config_8h.html#a8c3fa1b2f1be8c6f6929548c548cf50a">config.h</a>
  258 +</li>
  259 +<li>HAVE_STDINT_H
  260 +: <a class="el" href="config_8h.html#ab6cd6d1c63c1e26ea2d4537b77148354">config.h</a>
  261 +</li>
  262 +<li>HAVE_STDIO_H
  263 +: <a class="el" href="config_8h.html#ae021ce4fe74984428cc97427b7358fda">config.h</a>
  264 +</li>
  265 +<li>HAVE_STDLIB_H
  266 +: <a class="el" href="config_8h.html#a9e0e434ec1a6ddbd97db12b5a32905e0">config.h</a>
  267 +</li>
  268 +<li>HAVE_STRING_H
  269 +: <a class="el" href="config_8h.html#ad4c234dd1625255dc626a15886306e7d">config.h</a>
  270 +</li>
  271 +<li>HAVE_STRINGS_H
  272 +: <a class="el" href="config_8h.html#a405d10d46190bcb0320524c54eafc850">config.h</a>
  273 +</li>
  274 +<li>HAVE_SYS_STAT_H
  275 +: <a class="el" href="config_8h.html#ace156430ba007d19b4348a950d0c692b">config.h</a>
  276 +</li>
  277 +<li>HAVE_SYS_TYPES_H
  278 +: <a class="el" href="config_8h.html#a69dc70bea5d1f8bd2be9740e974fa666">config.h</a>
  279 +</li>
  280 +<li>HAVE_SYSLOG_H
  281 +: <a class="el" href="config_8h.html#a695d4e005378df4a1f286cb3d0f4b333">config.h</a>
  282 +</li>
  283 +<li>HAVE_UNISTD_H
  284 +: <a class="el" href="config_8h.html#a219b06937831d0da94d801ab13987639">config.h</a>
  285 +</li>
230 286 <li>HTTP_REQUEST_DONE
231 287 : <a class="el" href="request__parser_8h.html#a9e1bc4e9118896fae9e2d86e25582c21abb5b68f30f3d5e90723983a86ef54a8b">request_parser.h</a>
232 288 </li>
... ... @@ -248,6 +304,33 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
248 304 <li>HTTP_REQUEST_START
249 305 : <a class="el" href="request__parser_8h.html#a9e1bc4e9118896fae9e2d86e25582c21adb7cd42594721f63ab68224a0b1c250a">request_parser.h</a>
250 306 </li>
  307 +<li>httpHeaderGet()
  308 +: <a class="el" href="header_8h.html#a002a617a3523cbc79ba8ef6f76d98465">header.h</a>
  309 +, <a class="el" href="get_8c.html#abed67d03f002ffb1a7cf94d641a80ca4">get.c</a>
  310 +</li>
  311 +<li>httpHeaderParse()
  312 +: <a class="el" href="header_8h.html#a498d29a6d4b5a4e3ef92df617600fe54">header.h</a>
  313 +</li>
  314 +<li>httpHeaderSort()
  315 +: <a class="el" href="sort_8c.html#ad438f1a61df8ee1f19ef193370b902d2">sort.c</a>
  316 +, <a class="el" href="header_8h.html#a43ccec0413f9f2e394bb3af5ff628b56">header.h</a>
  317 +</li>
  318 +<li>httpRequestHeaderGet()
  319 +: <a class="el" href="request_8h.html#abe5df7e20fea66f7926cf40df8250f26">request.h</a>
  320 +, <a class="el" href="response_8h.html#abe5df7e20fea66f7926cf40df8250f26">response.h</a>
  321 +, <a class="el" href="header__get_8c.html#abe5df7e20fea66f7926cf40df8250f26">header_get.c</a>
  322 +</li>
  323 +<li>httpRequestParserGetHeader()
  324 +: <a class="el" href="get__header_8c.html#a53acbf83d2753cafdc4880dfc4f4222c">get_header.c</a>
  325 +</li>
  326 +<li>httpRequestParserGetRequestLine()
  327 +: <a class="el" href="get__request__line_8c.html#a47a4a36f54b295507a2599488a4a6077">get_request_line.c</a>
  328 +, <a class="el" href="parse_8c.html#a187bf52da83090068bafea54589f6f69">parse.c</a>
  329 +</li>
  330 +<li>httpRequestParserParse()
  331 +: <a class="el" href="parser_8c.html#a659e7ea125685d797a099638b3376320">parser.c</a>
  332 +, <a class="el" href="parse_8c.html#a9bb74bc564fe961a7ab5459ef5806de6">parse.c</a>
  333 +</li>
251 334 <li>HttpRequestState
252 335 : <a class="el" href="request__parser_8h.html#acaccfe3e34d50afe26e415749f7f4827">request_parser.h</a>
253 336 </li>
... ... @@ -271,16 +354,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
271 354 : <a class="el" href="interface_8h.html#afaa63cd951f41a496111e88acf36dc40">interface.h</a>
272 355 </li>
273 356 <li>INIT_IFACE()
274   -: <a class="el" href="request__parser_8c.html#a0508cf41efb8d26b8c43116711820d71">request_parser.c</a>
  357 +: <a class="el" href="parser_8c.html#a0508cf41efb8d26b8c43116711820d71">parser.c</a>
275 358 , <a class="el" href="socket_8c.html#a4dd368b7bead6fa0805e91405d90f786">socket.c</a>
276 359 , <a class="el" href="server_8c.html#a4dd368b7bead6fa0805e91405d90f786">server.c</a>
277 360 , <a class="el" href="logger_8c.html#a4dd368b7bead6fa0805e91405d90f786">logger.c</a>
278   -, <a class="el" href="request__parser_8c.html#a70f4eea7746a809dd8da71e9cbf4842a">request_parser.c</a>
279   -, <a class="el" href="request__queue_8c.html#a4dd368b7bead6fa0805e91405d90f786">request_queue.c</a>
280   -, <a class="el" href="stderr_8c.html#a677bd96e9a85b74f5624a07221b79fbc">stderr.c</a>
281   -, <a class="el" href="interface_8h.html#a446cc7d7282f8a0b8e62a371671ea605">interface.h</a>
282 361 , <a class="el" href="syslog_8c.html#aaf569dba91297bc3e203e7ad7f9c90f8">syslog.c</a>
  362 +, <a class="el" href="parser_8c.html#a70f4eea7746a809dd8da71e9cbf4842a">parser.c</a>
  363 +, <a class="el" href="queue_8c.html#a4dd368b7bead6fa0805e91405d90f786">queue.c</a>
283 364 , <a class="el" href="request_8c.html#a4dd368b7bead6fa0805e91405d90f786">request.c</a>
  365 +, <a class="el" href="interface_8h.html#a446cc7d7282f8a0b8e62a371671ea605">interface.h</a>
  366 +, <a class="el" href="stderr_8c.html#a677bd96e9a85b74f5624a07221b79fbc">stderr.c</a>
  367 +, <a class="el" href="header_8c.html#a4dd368b7bead6fa0805e91405d90f786">header.c</a>
284 368 </li>
285 369 <li>INIT_IMPL
286 370 : <a class="el" href="interface_8h.html#a6e8015282e5aac5747daff5bb71d8601">interface.h</a>
... ... @@ -329,8 +413,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
329 413 : <a class="el" href="logger_8h.html#a63296c69f4b9bf51d6756a5d2c482d1ea236a2401a6ed3e96611f3a14352082ad">logger.h</a>
330 414 </li>
331 415 <li>loggerLog()
332   -: <a class="el" href="interface_2logger_8c.html#a9053743a944f1faef3866efaa52d3c7f">logger.c</a>
333   -, <a class="el" href="interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e">logger.h</a>
  416 +: <a class="el" href="interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e">logger.h</a>
  417 +, <a class="el" href="interface_2logger_8c.html#a9053743a944f1faef3866efaa52d3c7f">logger.c</a>
  418 +</li>
  419 +<li>LT_OBJDIR
  420 +: <a class="el" href="config_8h.html#ac2d5925d76379847dd9fc4747b061659">config.h</a>
334 421 </li>
335 422 </ul>
336 423
... ... @@ -365,6 +452,27 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
365 452
366 453
367 454 <h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
  455 +<li>PACKAGE
  456 +: <a class="el" href="config_8h.html#aca8570fb706c81df371b7f9bc454ae03">config.h</a>
  457 +</li>
  458 +<li>PACKAGE_BUGREPORT
  459 +: <a class="el" href="config_8h.html#a1d1d2d7f8d2f95b376954d649ab03233">config.h</a>
  460 +</li>
  461 +<li>PACKAGE_NAME
  462 +: <a class="el" href="config_8h.html#a1c0439e4355794c09b64274849eb0279">config.h</a>
  463 +</li>
  464 +<li>PACKAGE_STRING
  465 +: <a class="el" href="config_8h.html#ac73e6f903c16eca7710f92e36e1c6fbf">config.h</a>
  466 +</li>
  467 +<li>PACKAGE_TARNAME
  468 +: <a class="el" href="config_8h.html#af415af6bfede0e8d5453708afe68651c">config.h</a>
  469 +</li>
  470 +<li>PACKAGE_URL
  471 +: <a class="el" href="config_8h.html#a5c93853116d5a50307b6744f147840aa">config.h</a>
  472 +</li>
  473 +<li>PACKAGE_VERSION
  474 +: <a class="el" href="config_8h.html#aa326a05d5e30f9e9a4bb0b4469d5d0c0">config.h</a>
  475 +</li>
368 476 <li>POLL_FD_NSIZE
369 477 : <a class="el" href="server_8h.html#a6371240ebfb3156b737ddd83e1e142bd">server.h</a>
370 478 </li>
... ... @@ -378,6 +486,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
378 486
379 487
380 488 <h3><a class="anchor" id="index_r"></a>- r -</h3><ul>
  489 +<li>REMAINS
  490 +: <a class="el" href="parse_8c.html#a3d501f4eabec1eb9a20aed0a116b69a3">parse.c</a>
  491 +</li>
381 492 <li>RESP_DATA
382 493 : <a class="el" href="run_8c.html#a668b468f247abfce706ce6eaf6caecc9">run.c</a>
383 494 </li>
... ... @@ -408,12 +519,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
408 519 , <a class="el" href="socket_8h.html#adbfc4792c437102f20e2c86c4ee8581b">socket.h</a>
409 520 </li>
410 521 <li>socketListen()
411   -: <a class="el" href="listen_8c.html#a757c220e9371523ef55b1137a1efed57">listen.c</a>
412   -, <a class="el" href="socket_8h.html#a757c220e9371523ef55b1137a1efed57">socket.h</a>
  522 +: <a class="el" href="socket_8h.html#a757c220e9371523ef55b1137a1efed57">socket.h</a>
  523 +, <a class="el" href="listen_8c.html#a757c220e9371523ef55b1137a1efed57">listen.c</a>
  524 +</li>
  525 +<li>STDC_HEADERS
  526 +: <a class="el" href="config_8h.html#a550e5c272cc3cf3814651721167dcd23">config.h</a>
413 527 </li>
414 528 <li>streamReaderRead()
415   -: <a class="el" href="stream__reader_8h.html#a8a8ae2e5ad974a747042b5dd70e31ca8">stream_reader.h</a>
416   -, <a class="el" href="stream__reader_8c.html#aae6ed042c16a2d5f008c550fe116ad40">stream_reader.c</a>
  529 +: <a class="el" href="stream__reader_8c.html#aae6ed042c16a2d5f008c550fe116ad40">stream_reader.c</a>
  530 +, <a class="el" href="stream__reader_8h.html#a8a8ae2e5ad974a747042b5dd70e31ca8">stream_reader.h</a>
417 531 </li>
418 532 </ul>
419 533
... ... @@ -427,11 +541,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
427 541 : <a class="el" href="interface_8c.html#aa8cecfc5c5c054d2875c03e77b7be15d">interface.c</a>
428 542 </li>
429 543 </ul>
  544 +
  545 +
  546 +<h3><a class="anchor" id="index_v"></a>- v -</h3><ul>
  547 +<li>VERSION
  548 +: <a class="el" href="config_8h.html#a1c6d5de492ac61ad29aec7aa9a436bbf">config.h</a>
  549 +</li>
  550 +</ul>
430 551 </div>
431 552 </div>
432 553 <div id="nav-path" class="navpath">
433 554 <ul>
434   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  555 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
435 556 <a href="http://www.doxygen.org/index.html">
436 557 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
437 558 </ul>
... ...
... ... @@ -81,11 +81,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
81 81 <li><a href="#index_e"><span>e</span></a></li>
82 82 <li><a href="#index_h"><span>h</span></a></li>
83 83 <li><a href="#index_i"><span>i</span></a></li>
  84 + <li><a href="#index_l"><span>l</span></a></li>
84 85 <li><a href="#index_m"><span>m</span></a></li>
85 86 <li><a href="#index_n"><span>n</span></a></li>
86 87 <li><a href="#index_p"><span>p</span></a></li>
87 88 <li><a href="#index_r"><span>r</span></a></li>
  89 + <li><a href="#index_s"><span>s</span></a></li>
88 90 <li><a href="#index_t"><span>t</span></a></li>
  91 + <li><a href="#index_v"><span>v</span></a></li>
89 92 </ul>
90 93 </div>
91 94 </div>
... ... @@ -161,6 +164,60 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
161 164 <li>HAS_PARENT
162 165 : <a class="el" href="class_8h.html#a5ea9893a0e62748b9d1154d5b77abed1">class.h</a>
163 166 </li>
  167 +<li>HAVE__BOOL
  168 +: <a class="el" href="config_8h.html#a862ffdbac7ac8323712310a418b7d9a3">config.h</a>
  169 +</li>
  170 +<li>HAVE_DLFCN_H
  171 +: <a class="el" href="config_8h.html#a0ee1617ff2f6885ef384a3dd46f9b9d7">config.h</a>
  172 +</li>
  173 +<li>HAVE_INTTYPES_H
  174 +: <a class="el" href="config_8h.html#ab90a030ff2790ebdc176660a6dd2a478">config.h</a>
  175 +</li>
  176 +<li>HAVE_JSON_JSON_H
  177 +: <a class="el" href="config_8h.html#ac2c863e4e8669bd8c3a403107e2102ad">config.h</a>
  178 +</li>
  179 +<li>HAVE_LIBJSON
  180 +: <a class="el" href="config_8h.html#a4bfc3880cce93add473eb1d1751330bf">config.h</a>
  181 +</li>
  182 +<li>HAVE_MEMORY_H
  183 +: <a class="el" href="config_8h.html#ae93a78f9d076138897af441c9f86f285">config.h</a>
  184 +</li>
  185 +<li>HAVE_MEMSET
  186 +: <a class="el" href="config_8h.html#a3df52e9809253860c385be6f3a160607">config.h</a>
  187 +</li>
  188 +<li>HAVE_STDARG_H
  189 +: <a class="el" href="config_8h.html#a3a3f8c7f8da8cac799fb620a2dbf2b15">config.h</a>
  190 +</li>
  191 +<li>HAVE_STDBOOL_H
  192 +: <a class="el" href="config_8h.html#a8c3fa1b2f1be8c6f6929548c548cf50a">config.h</a>
  193 +</li>
  194 +<li>HAVE_STDINT_H
  195 +: <a class="el" href="config_8h.html#ab6cd6d1c63c1e26ea2d4537b77148354">config.h</a>
  196 +</li>
  197 +<li>HAVE_STDIO_H
  198 +: <a class="el" href="config_8h.html#ae021ce4fe74984428cc97427b7358fda">config.h</a>
  199 +</li>
  200 +<li>HAVE_STDLIB_H
  201 +: <a class="el" href="config_8h.html#a9e0e434ec1a6ddbd97db12b5a32905e0">config.h</a>
  202 +</li>
  203 +<li>HAVE_STRING_H
  204 +: <a class="el" href="config_8h.html#ad4c234dd1625255dc626a15886306e7d">config.h</a>
  205 +</li>
  206 +<li>HAVE_STRINGS_H
  207 +: <a class="el" href="config_8h.html#a405d10d46190bcb0320524c54eafc850">config.h</a>
  208 +</li>
  209 +<li>HAVE_SYS_STAT_H
  210 +: <a class="el" href="config_8h.html#ace156430ba007d19b4348a950d0c692b">config.h</a>
  211 +</li>
  212 +<li>HAVE_SYS_TYPES_H
  213 +: <a class="el" href="config_8h.html#a69dc70bea5d1f8bd2be9740e974fa666">config.h</a>
  214 +</li>
  215 +<li>HAVE_SYSLOG_H
  216 +: <a class="el" href="config_8h.html#a695d4e005378df4a1f286cb3d0f4b333">config.h</a>
  217 +</li>
  218 +<li>HAVE_UNISTD_H
  219 +: <a class="el" href="config_8h.html#a219b06937831d0da94d801ab13987639">config.h</a>
  220 +</li>
164 221 <li>HTTP_REQUEST_PARSER_READ_CHUNK
165 222 : <a class="el" href="request__parser_8h.html#ad645c7940041e8d57b5557a197e133fb">request_parser.h</a>
166 223 </li>
... ... @@ -189,6 +246,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
189 246 </ul>
190 247
191 248
  249 +<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
  250 +<li>LT_OBJDIR
  251 +: <a class="el" href="config_8h.html#ac2d5925d76379847dd9fc4747b061659">config.h</a>
  252 +</li>
  253 +</ul>
  254 +
  255 +
192 256 <h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
193 257 <li>MAX
194 258 : <a class="el" href="run_8c.html#aacc3ee1a7f283f8ef65cea31f4436a95">run.c</a>
... ... @@ -216,6 +280,27 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
216 280
217 281
218 282 <h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
  283 +<li>PACKAGE
  284 +: <a class="el" href="config_8h.html#aca8570fb706c81df371b7f9bc454ae03">config.h</a>
  285 +</li>
  286 +<li>PACKAGE_BUGREPORT
  287 +: <a class="el" href="config_8h.html#a1d1d2d7f8d2f95b376954d649ab03233">config.h</a>
  288 +</li>
  289 +<li>PACKAGE_NAME
  290 +: <a class="el" href="config_8h.html#a1c0439e4355794c09b64274849eb0279">config.h</a>
  291 +</li>
  292 +<li>PACKAGE_STRING
  293 +: <a class="el" href="config_8h.html#ac73e6f903c16eca7710f92e36e1c6fbf">config.h</a>
  294 +</li>
  295 +<li>PACKAGE_TARNAME
  296 +: <a class="el" href="config_8h.html#af415af6bfede0e8d5453708afe68651c">config.h</a>
  297 +</li>
  298 +<li>PACKAGE_URL
  299 +: <a class="el" href="config_8h.html#a5c93853116d5a50307b6744f147840aa">config.h</a>
  300 +</li>
  301 +<li>PACKAGE_VERSION
  302 +: <a class="el" href="config_8h.html#aa326a05d5e30f9e9a4bb0b4469d5d0c0">config.h</a>
  303 +</li>
219 304 <li>POLL_FD_NSIZE
220 305 : <a class="el" href="server_8h.html#a6371240ebfb3156b737ddd83e1e142bd">server.h</a>
221 306 </li>
... ... @@ -229,6 +314,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
229 314
230 315
231 316 <h3><a class="anchor" id="index_r"></a>- r -</h3><ul>
  317 +<li>REMAINS
  318 +: <a class="el" href="parse_8c.html#a3d501f4eabec1eb9a20aed0a116b69a3">parse.c</a>
  319 +</li>
232 320 <li>RESP_DATA
233 321 : <a class="el" href="run_8c.html#a668b468f247abfce706ce6eaf6caecc9">run.c</a>
234 322 </li>
... ... @@ -241,16 +329,30 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
241 329 </ul>
242 330
243 331
  332 +<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
  333 +<li>STDC_HEADERS
  334 +: <a class="el" href="config_8h.html#a550e5c272cc3cf3814651721167dcd23">config.h</a>
  335 +</li>
  336 +</ul>
  337 +
  338 +
244 339 <h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
245 340 <li>TRUE
246 341 : <a class="el" href="interface_8c.html#aa8cecfc5c5c054d2875c03e77b7be15d">interface.c</a>
247 342 </li>
248 343 </ul>
  344 +
  345 +
  346 +<h3><a class="anchor" id="index_v"></a>- v -</h3><ul>
  347 +<li>VERSION
  348 +: <a class="el" href="config_8h.html#a1c6d5de492ac61ad29aec7aa9a436bbf">config.h</a>
  349 +</li>
  350 +</ul>
249 351 </div>
250 352 </div>
251 353 <div id="nav-path" class="navpath">
252 354 <ul>
253   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  355 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
254 356 <a href="http://www.doxygen.org/index.html">
255 357 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
256 358 </ul>
... ...
... ... @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
100 100 </div>
101 101 <div id="nav-path" class="navpath">
102 102 <ul>
103   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  103 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
104 104 <a href="http://www.doxygen.org/index.html">
105 105 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
106 106 </ul>
... ...
... ... @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
133 133 </div>
134 134 <div id="nav-path" class="navpath">
135 135 <ul>
136   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  136 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
137 137 <a href="http://www.doxygen.org/index.html">
138 138 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
139 139 </ul>
... ...
... ... @@ -77,6 +77,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
77 77 <ul class="tablist">
78 78 <li><a href="#index_c"><span>c</span></a></li>
79 79 <li><a href="#index_d"><span>d</span></a></li>
  80 + <li><a href="#index_h"><span>h</span></a></li>
80 81 <li><a href="#index_i"><span>i</span></a></li>
81 82 <li><a href="#index_l"><span>l</span></a></li>
82 83 <li><a href="#index_m"><span>m</span></a></li>
... ... @@ -123,14 +124,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
123 124 , <a class="el" href="interface_2class_8c.html#a841e4a0f9bceb16fda262302d038bfa0">class.c</a>
124 125 </li>
125 126 <li>CREATE_CLASS()
126   -: <a class="el" href="syslog_8c.html#a86d902d1f3ac6c51e9e184744b37f7e3">syslog.c</a>
  127 +: <a class="el" href="server_8c.html#a69cdcc8e4e123675a4c70e8d38693826">server.c</a>
  128 +, <a class="el" href="syslog_8c.html#a86d902d1f3ac6c51e9e184744b37f7e3">syslog.c</a>
127 129 , <a class="el" href="socket_8c.html#a924e6743ea24bce5099df53ea23f25d5">socket.c</a>
128 130 , <a class="el" href="stderr_8c.html#a2536b6205a32b98ee5ee97ace564a412">stderr.c</a>
129 131 , <a class="el" href="logger_8c.html#a010ac92393088a64e3dbe6cd301e6cd0">logger.c</a>
  132 +, <a class="el" href="parser_8c.html#a70093dfed29b221273e59f63936237b5">parser.c</a>
130 133 , <a class="el" href="request_8c.html#a3eb93e136cdb6fe8cd7ae90040020852">request.c</a>
131   -, <a class="el" href="request__queue_8c.html#aebf96b69aa671f499918b976cd20c087">request_queue.c</a>
132   -, <a class="el" href="request__parser_8c.html#a70093dfed29b221273e59f63936237b5">request_parser.c</a>
133   -, <a class="el" href="server_8c.html#a69cdcc8e4e123675a4c70e8d38693826">server.c</a>
  134 +, <a class="el" href="queue_8c.html#aebf96b69aa671f499918b976cd20c087">queue.c</a>
  135 +, <a class="el" href="header_8c.html#ae8e5d69987c0bf3b3f0a3729c8bec8e4">header.c</a>
134 136 </li>
135 137 </ul>
136 138
... ... @@ -142,17 +144,49 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
142 144 </ul>
143 145
144 146
  147 +<h3><a class="anchor" id="index_h"></a>- h -</h3><ul>
  148 +<li>httpHeaderGet()
  149 +: <a class="el" href="header_8h.html#a002a617a3523cbc79ba8ef6f76d98465">header.h</a>
  150 +, <a class="el" href="get_8c.html#abed67d03f002ffb1a7cf94d641a80ca4">get.c</a>
  151 +</li>
  152 +<li>httpHeaderParse()
  153 +: <a class="el" href="header_8h.html#a498d29a6d4b5a4e3ef92df617600fe54">header.h</a>
  154 +</li>
  155 +<li>httpHeaderSort()
  156 +: <a class="el" href="header_8h.html#a43ccec0413f9f2e394bb3af5ff628b56">header.h</a>
  157 +, <a class="el" href="sort_8c.html#ad438f1a61df8ee1f19ef193370b902d2">sort.c</a>
  158 +</li>
  159 +<li>httpRequestHeaderGet()
  160 +: <a class="el" href="header__get_8c.html#abe5df7e20fea66f7926cf40df8250f26">header_get.c</a>
  161 +, <a class="el" href="request_8h.html#abe5df7e20fea66f7926cf40df8250f26">request.h</a>
  162 +, <a class="el" href="response_8h.html#abe5df7e20fea66f7926cf40df8250f26">response.h</a>
  163 +</li>
  164 +<li>httpRequestParserGetHeader()
  165 +: <a class="el" href="get__header_8c.html#a53acbf83d2753cafdc4880dfc4f4222c">get_header.c</a>
  166 +</li>
  167 +<li>httpRequestParserGetRequestLine()
  168 +: <a class="el" href="parse_8c.html#a187bf52da83090068bafea54589f6f69">parse.c</a>
  169 +, <a class="el" href="get__request__line_8c.html#a47a4a36f54b295507a2599488a4a6077">get_request_line.c</a>
  170 +</li>
  171 +<li>httpRequestParserParse()
  172 +: <a class="el" href="parser_8c.html#a659e7ea125685d797a099638b3376320">parser.c</a>
  173 +, <a class="el" href="parse_8c.html#a9bb74bc564fe961a7ab5459ef5806de6">parse.c</a>
  174 +</li>
  175 +</ul>
  176 +
  177 +
145 178 <h3><a class="anchor" id="index_i"></a>- i -</h3><ul>
146 179 <li>INIT_IFACE()
147   -: <a class="el" href="request_8c.html#a4dd368b7bead6fa0805e91405d90f786">request.c</a>
148   -, <a class="el" href="request__parser_8c.html#a0508cf41efb8d26b8c43116711820d71">request_parser.c</a>
149   -, <a class="el" href="request__queue_8c.html#a4dd368b7bead6fa0805e91405d90f786">request_queue.c</a>
  180 +: <a class="el" href="header_8c.html#a4dd368b7bead6fa0805e91405d90f786">header.c</a>
  181 +, <a class="el" href="parser_8c.html#a0508cf41efb8d26b8c43116711820d71">parser.c</a>
  182 +, <a class="el" href="queue_8c.html#a4dd368b7bead6fa0805e91405d90f786">queue.c</a>
  183 +, <a class="el" href="logger_8c.html#a4dd368b7bead6fa0805e91405d90f786">logger.c</a>
150 184 , <a class="el" href="server_8c.html#a4dd368b7bead6fa0805e91405d90f786">server.c</a>
  185 +, <a class="el" href="request_8c.html#a4dd368b7bead6fa0805e91405d90f786">request.c</a>
151 186 , <a class="el" href="socket_8c.html#a4dd368b7bead6fa0805e91405d90f786">socket.c</a>
152   -, <a class="el" href="stderr_8c.html#a677bd96e9a85b74f5624a07221b79fbc">stderr.c</a>
153   -, <a class="el" href="request__parser_8c.html#a70f4eea7746a809dd8da71e9cbf4842a">request_parser.c</a>
154   -, <a class="el" href="logger_8c.html#a4dd368b7bead6fa0805e91405d90f786">logger.c</a>
  187 +, <a class="el" href="parser_8c.html#a70f4eea7746a809dd8da71e9cbf4842a">parser.c</a>
155 188 , <a class="el" href="syslog_8c.html#aaf569dba91297bc3e203e7ad7f9c90f8">syslog.c</a>
  189 +, <a class="el" href="stderr_8c.html#a677bd96e9a85b74f5624a07221b79fbc">stderr.c</a>
156 190 </li>
157 191 <li>init_signals()
158 192 : <a class="el" href="signalHandling_8h.html#a1de31bdef82f181f8045b94ae0933916">signalHandling.h</a>
... ... @@ -218,7 +252,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
218 252 </div>
219 253 <div id="nav-path" class="navpath">
220 254 <ul>
221   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  255 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
222 256 <a href="http://www.doxygen.org/index.html">
223 257 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
224 258 </ul>
... ...
... ... @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
127 127 </div>
128 128 <div id="nav-path" class="navpath">
129 129 <ul>
130   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  130 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
131 131 <a href="http://www.doxygen.org/index.html">
132 132 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
133 133 </ul>
... ...
... ... @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
102 102 </div>
103 103 <div id="nav-path" class="navpath">
104 104 <ul>
105   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  105 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
106 106 <a href="http://www.doxygen.org/index.html">
107 107 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
108 108 </ul>
... ...
... ... @@ -143,7 +143,7 @@ A yellow dashed arrow denotes a relation between a template instance and the tem
143 143 </div>
144 144 <div id="nav-path" class="navpath">
145 145 <ul>
146   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  146 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
147 147 <a href="http://www.doxygen.org/index.html">
148 148 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
149 149 </ul>
... ...
... ... @@ -97,7 +97,7 @@ This graph shows which files directly or indirectly include this file:</div>
97 97 <div id="nav-path" class="navpath">
98 98 <ul>
99 99 <li class="navelem"><a class="el" href="handle__accept_8c.html">handle_accept.c</a> </li>
100   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  100 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
101 101 <a href="http://www.doxygen.org/index.html">
102 102 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
103 103 </ul>
... ...
... ... @@ -97,14 +97,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
97 97 <a name="l00014"></a>00014 <span class="comment">//* clone reader</span>
98 98 <a name="l00015"></a>00015 (this-&gt;conns)[acc-&gt;<a class="code" href="structSock.html#a1b5945aef923a906501d7abac82449c3">handle</a>].reader = <a class="code" href="interface_2class_8h.html#a864061d3c9c7f123efb63649bb0fade7">clone</a>(this-&gt;reader);
99 99 <a name="l00016"></a>00016
100   -<a name="l00017"></a>00017 (this-&gt;fds)[this-&gt;nfds].fd = acc-&gt;<a class="code" href="structSock.html#a1b5945aef923a906501d7abac82449c3">handle</a>;
101   -<a name="l00018"></a>00018 (this-&gt;fds)[this-&gt;nfds].events = POLLIN;
  100 +<a name="l00017"></a>00017 (this-&gt;fds)[this-&gt;nfds].fd = acc-&gt;<a class="code" href="structSock.html#a1b5945aef923a906501d7abac82449c3">handle</a>;
  101 +<a name="l00018"></a>00018 (this-&gt;fds)[this-&gt;nfds].events = POLLIN;
102 102 <a name="l00019"></a>00019 this-&gt;nfds++;
103 103 <a name="l00020"></a>00020 } <span class="keywordflow">else</span> {
104 104 <a name="l00021"></a>00021 <span class="keyword">delete</span>(&amp;acc);
105 105 <a name="l00022"></a>00022 }
106 106 <a name="l00023"></a>00023
107   -<a name="l00024"></a>00024 (this-&gt;fds)[0].revents |= POLLIN;
  107 +<a name="l00024"></a>00024 <span class="comment">// (this-&gt;fds)[0].revents |= POLLIN;</span>
108 108 <a name="l00025"></a>00025 }
109 109 <a name="l00026"></a>00026
110 110 <a name="l00027"></a>00027 <span class="comment">// vim: set ts=4 sw=4:</span>
... ... @@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
113 113 <div id="nav-path" class="navpath">
114 114 <ul>
115 115 <li class="navelem"><a class="el" href="handle__accept_8c.html">handle_accept.c</a> </li>
116   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  116 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
117 117 <a href="http://www.doxygen.org/index.html">
118 118 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
119 119 </ul>
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: src/http/header.c File Reference</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('header_8c.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="summary">
  81 +<a href="#func-members">Functions</a> </div>
  82 + <div class="headertitle">
  83 +<h1>src/http/header.c File Reference</h1> </div>
  84 +</div>
  85 +<div class="contents">
  86 +<div class="textblock"><code>#include &lt;stdlib.h&gt;</code><br/>
  87 +<code>#include &lt;string.h&gt;</code><br/>
  88 +<code>#include &lt;ctype.h&gt;</code><br/>
  89 +<code>#include &quot;class.h&quot;</code><br/>
  90 +<code>#include &quot;interface/class.h&quot;</code><br/>
  91 +<code>#include &quot;http/header.h&quot;</code><br/>
  92 +</div><div class="textblock"><div class="dynheader">
  93 +Include dependency graph for header.c:</div>
  94 +<div class="dyncontent">
  95 +<div class="center"><img src="header_8c__incl.png" border="0" usemap="#src_2http_2header_8c" alt=""/></div>
  96 +<map name="src_2http_2header_8c" id="src_2http_2header_8c">
  97 +</map>
  98 +</div>
  99 +</div>
  100 +<p><a href="header_8c_source.html">Go to the source code of this file.</a></p>
  101 +<table class="memberdecls">
  102 +<tr><td colspan="2"><h2><a name="func-members"></a>
  103 +Functions</h2></td></tr>
  104 +<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_8c.html#a4dd368b7bead6fa0805e91405d90f786">INIT_IFACE</a> (Class, ctor, dtor, NULL)</td></tr>
  105 +<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_8c.html#ae8e5d69987c0bf3b3f0a3729c8bec8e4">CREATE_CLASS</a> (<a class="el" href="structHttpHeader.html">HttpHeader</a>, NULL, IFACE(Class))</td></tr>
  106 +</table>
  107 +<hr/><h2>Function Documentation</h2>
  108 +<a class="anchor" id="ae8e5d69987c0bf3b3f0a3729c8bec8e4"></a><!-- doxytag: member="header.c::CREATE_CLASS" ref="ae8e5d69987c0bf3b3f0a3729c8bec8e4" args="(HttpHeader, NULL, IFACE(Class))" -->
  109 +<div class="memitem">
  110 +<div class="memproto">
  111 + <table class="memname">
  112 + <tr>
  113 + <td class="memname">CREATE_CLASS </td>
  114 + <td>(</td>
  115 + <td class="paramtype"><a class="el" href="structHttpHeader.html">HttpHeader</a>&#160;</td>
  116 + <td class="paramname">, </td>
  117 + </tr>
  118 + <tr>
  119 + <td class="paramkey"></td>
  120 + <td></td>
  121 + <td class="paramtype">NULL&#160;</td>
  122 + <td class="paramname">, </td>
  123 + </tr>
  124 + <tr>
  125 + <td class="paramkey"></td>
  126 + <td></td>
  127 + <td class="paramtype">IFACE(Class)&#160;</td>
  128 + <td class="paramname">&#160;</td>
  129 + </tr>
  130 + <tr>
  131 + <td></td>
  132 + <td>)</td>
  133 + <td></td><td></td>
  134 + </tr>
  135 + </table>
  136 +</div>
  137 +<div class="memdoc">
  138 +
  139 +</div>
  140 +</div>
  141 +<a class="anchor" id="a4dd368b7bead6fa0805e91405d90f786"></a><!-- doxytag: member="header.c::INIT_IFACE" ref="a4dd368b7bead6fa0805e91405d90f786" args="(Class, ctor, dtor, NULL)" -->
  142 +<div class="memitem">
  143 +<div class="memproto">
  144 + <table class="memname">
  145 + <tr>
  146 + <td class="memname">INIT_IFACE </td>
  147 + <td>(</td>
  148 + <td class="paramtype">Class&#160;</td>
  149 + <td class="paramname">, </td>
  150 + </tr>
  151 + <tr>
  152 + <td class="paramkey"></td>
  153 + <td></td>
  154 + <td class="paramtype">ctor&#160;</td>
  155 + <td class="paramname">, </td>
  156 + </tr>
  157 + <tr>
  158 + <td class="paramkey"></td>
  159 + <td></td>
  160 + <td class="paramtype">dtor&#160;</td>
  161 + <td class="paramname">, </td>
  162 + </tr>
  163 + <tr>
  164 + <td class="paramkey"></td>
  165 + <td></td>
  166 + <td class="paramtype">NULL&#160;</td>
  167 + <td class="paramname">&#160;</td>
  168 + </tr>
  169 + <tr>
  170 + <td></td>
  171 + <td>)</td>
  172 + <td></td><td></td>
  173 + </tr>
  174 + </table>
  175 +</div>
  176 +<div class="memdoc">
  177 +
  178 +</div>
  179 +</div>
  180 +</div>
  181 +</div>
  182 + <div id="nav-path" class="navpath">
  183 + <ul>
  184 + <li class="navelem"><a class="el" href="header_8c.html">header.c</a> </li>
  185 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  186 +<a href="http://www.doxygen.org/index.html">
  187 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  188 + </ul>
  189 + </div>
  190 +<!--- window showing the filter options -->
  191 +<div id="MSearchSelectWindow"
  192 + onmouseover="return searchBox.OnSearchSelectShow()"
  193 + onmouseout="return searchBox.OnSearchSelectHide()"
  194 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  195 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  196 +
  197 +<!-- iframe showing the search results (closed by default) -->
  198 +<div id="MSearchResultsWindow">
  199 +<iframe src="" frameborder="0"
  200 + name="MSearchResults" id="MSearchResults">
  201 +</iframe>
  202 +</div>
  203 +
  204 +
  205 +</body>
  206 +</html>
... ...
  1 +<map id="G" name="G">
  2 +</map>
... ...
  1 +29c51c46322a5a318c6a3d45d7016ed7
\ No newline at end of file
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: src/http/header.c Source File</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('header_8c.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="headertitle">
  81 +<h1>src/http/header.c</h1> </div>
  82 +</div>
  83 +<div class="contents">
  84 +<a href="header_8c.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
  85 +<a name="l00002"></a>00002 <span class="preprocessor">#include &lt;string.h&gt;</span>
  86 +<a name="l00003"></a>00003 <span class="preprocessor">#include &lt;ctype.h&gt;</span>
  87 +<a name="l00004"></a>00004
  88 +<a name="l00005"></a>00005 <span class="preprocessor">#include &quot;class.h&quot;</span>
  89 +<a name="l00006"></a>00006 <span class="preprocessor">#include &quot;interface/class.h&quot;</span>
  90 +<a name="l00007"></a>00007
  91 +<a name="l00008"></a>00008 <span class="preprocessor">#include &quot;http/header.h&quot;</span>
  92 +<a name="l00009"></a>00009
  93 +<a name="l00023"></a>00023 <span class="keyword">static</span>
  94 +<a name="l00024"></a>00024 <span class="keyword">inline</span>
  95 +<a name="l00025"></a>00025 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>
  96 +<a name="l00026"></a>00026 sdbm(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * str)
  97 +<a name="l00027"></a>00027 {
  98 +<a name="l00028"></a>00028 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> hash = 0;
  99 +<a name="l00029"></a>00029 <span class="keywordtype">int</span> c;
  100 +<a name="l00030"></a>00030
  101 +<a name="l00031"></a>00031 <span class="keywordflow">while</span> ((c = tolower(*str++)))
  102 +<a name="l00032"></a>00032 hash = c + (hash &lt;&lt; 6) + (hash &lt;&lt; 16) - hash;
  103 +<a name="l00033"></a>00033
  104 +<a name="l00034"></a>00034 <span class="keywordflow">return</span> hash;
  105 +<a name="l00035"></a>00035 }
  106 +<a name="l00036"></a>00036
  107 +<a name="l00037"></a>00037 <span class="keyword">static</span>
  108 +<a name="l00038"></a>00038 <span class="keywordtype">void</span>
  109 +<a name="l00039"></a>00039 ctor(<span class="keywordtype">void</span> * _this, va_list * params) {
  110 +<a name="l00040"></a>00040 <a class="code" href="structHttpHeader.html">HttpHeader</a> <span class="keyword">this</span> = _this;
  111 +<a name="l00041"></a>00041 <span class="keywordtype">char</span> * name;
  112 +<a name="l00042"></a>00042 <span class="keywordtype">char</span> * value;
  113 +<a name="l00043"></a>00043
  114 +<a name="l00044"></a>00044 name = va_arg(* params, <span class="keywordtype">char</span> *);
  115 +<a name="l00045"></a>00045 value = va_arg(* params, <span class="keywordtype">char</span> *);
  116 +<a name="l00046"></a>00046
  117 +<a name="l00047"></a>00047 this-&gt;name = malloc(strlen(name) + 1);
  118 +<a name="l00048"></a>00048 strcpy(this-&gt;name, name);
  119 +<a name="l00049"></a>00049
  120 +<a name="l00050"></a>00050 this-&gt;hash = sdbm((<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)name);
  121 +<a name="l00051"></a>00051
  122 +<a name="l00052"></a>00052 this-&gt;value = malloc(strlen(value) + 1);
  123 +<a name="l00053"></a>00053 strcpy(this-&gt;value, value);
  124 +<a name="l00054"></a>00054 }
  125 +<a name="l00055"></a>00055
  126 +<a name="l00056"></a>00056 <span class="keyword">static</span>
  127 +<a name="l00057"></a>00057 <span class="keywordtype">void</span>
  128 +<a name="l00058"></a>00058 dtor(<span class="keywordtype">void</span> * _this)
  129 +<a name="l00059"></a>00059 {
  130 +<a name="l00060"></a>00060 <a class="code" href="structHttpHeader.html">HttpHeader</a> <span class="keyword">this</span> = _this;
  131 +<a name="l00061"></a>00061
  132 +<a name="l00062"></a>00062 free(this-&gt;name);
  133 +<a name="l00063"></a>00063 free(this-&gt;value);
  134 +<a name="l00064"></a>00064 }
  135 +<a name="l00065"></a>00065
  136 +<a name="l00066"></a>00066 <a class="code" href="interface_8h.html#a446cc7d7282f8a0b8e62a371671ea605">INIT_IFACE</a>(Class, ctor, dtor, NULL);
  137 +<a name="l00067"></a>00067 <a class="code" href="class_8h.html#a509b4880afb25bb862c448d7a71e7afe">CREATE_CLASS</a>(<a class="code" href="structHttpHeader.html">HttpHeader</a>, NULL, <a class="code" href="interface_8h.html#a02255665665c91d905ec32d00d9a4a85">IFACE</a>(Class));
  138 +<a name="l00068"></a>00068
  139 +<a name="l00069"></a>00069 <span class="comment">// vim: set ts=4 sw=4:</span>
  140 +</pre></div></div>
  141 +</div>
  142 + <div id="nav-path" class="navpath">
  143 + <ul>
  144 + <li class="navelem"><a class="el" href="header_8c.html">header.c</a> </li>
  145 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  146 +<a href="http://www.doxygen.org/index.html">
  147 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  148 + </ul>
  149 + </div>
  150 +<!--- window showing the filter options -->
  151 +<div id="MSearchSelectWindow"
  152 + onmouseover="return searchBox.OnSearchSelectShow()"
  153 + onmouseout="return searchBox.OnSearchSelectHide()"
  154 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  155 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  156 +
  157 +<!-- iframe showing the search results (closed by default) -->
  158 +<div id="MSearchResultsWindow">
  159 +<iframe src="" frameborder="0"
  160 + name="MSearchResults" id="MSearchResults">
  161 +</iframe>
  162 +</div>
  163 +
  164 +
  165 +</body>
  166 +</html>
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: include/http/header.h File Reference</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('header_8h.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="summary">
  81 +<a href="#nested-classes">Classes</a> &#124;
  82 +<a href="#func-members">Functions</a> </div>
  83 + <div class="headertitle">
  84 +<h1>include/http/header.h File Reference</h1> </div>
  85 +</div>
  86 +<div class="contents">
  87 +<div class="textblock"><code>#include &quot;class.h&quot;</code><br/>
  88 +</div><div class="textblock"><div class="dynheader">
  89 +Include dependency graph for header.h:</div>
  90 +<div class="dyncontent">
  91 +<div class="center"><img src="header_8h__incl.png" border="0" usemap="#include_2http_2header_8h" alt=""/></div>
  92 +<map name="include_2http_2header_8h" id="include_2http_2header_8h">
  93 +</map>
  94 +</div>
  95 +</div>
  96 +<p><a href="header_8h_source.html">Go to the source code of this file.</a></p>
  97 +<table class="memberdecls">
  98 +<tr><td colspan="2"><h2><a name="nested-classes"></a>
  99 +Classes</h2></td></tr>
  100 +<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structHttpHeader.html">HttpHeader</a></td></tr>
  101 +<tr><td colspan="2"><h2><a name="func-members"></a>
  102 +Functions</h2></td></tr>
  103 +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structHttpHeader.html">HttpHeader</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_8h.html#a498d29a6d4b5a4e3ef92df617600fe54">httpHeaderParse</a> (char *line)</td></tr>
  104 +<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_8h.html#a43ccec0413f9f2e394bb3af5ff628b56">httpHeaderSort</a> (const <a class="el" href="structHttpHeader.html">HttpHeader</a>[], int)</td></tr>
  105 +<tr><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header_8h.html#a002a617a3523cbc79ba8ef6f76d98465">httpHeaderGet</a> (const <a class="el" href="structHttpHeader.html">HttpHeader</a>[], int, const char *)</td></tr>
  106 +</table>
  107 +<hr/><h2>Function Documentation</h2>
  108 +<a class="anchor" id="a002a617a3523cbc79ba8ef6f76d98465"></a><!-- doxytag: member="header.h::httpHeaderGet" ref="a002a617a3523cbc79ba8ef6f76d98465" args="(const HttpHeader[], int, const char *)" -->
  109 +<div class="memitem">
  110 +<div class="memproto">
  111 + <table class="memname">
  112 + <tr>
  113 + <td class="memname">char* httpHeaderGet </td>
  114 + <td>(</td>
  115 + <td class="paramtype">const <a class="el" href="structHttpHeader.html">HttpHeader</a>&#160;</td>
  116 + <td class="paramname">[], </td>
  117 + </tr>
  118 + <tr>
  119 + <td class="paramkey"></td>
  120 + <td></td>
  121 + <td class="paramtype">int&#160;</td>
  122 + <td class="paramname">, </td>
  123 + </tr>
  124 + <tr>
  125 + <td class="paramkey"></td>
  126 + <td></td>
  127 + <td class="paramtype">const char *&#160;</td>
  128 + <td class="paramname">&#160;</td>
  129 + </tr>
  130 + <tr>
  131 + <td></td>
  132 + <td>)</td>
  133 + <td></td><td></td>
  134 + </tr>
  135 + </table>
  136 +</div>
  137 +<div class="memdoc">
  138 +
  139 +<p>Definition at line <a class="el" href="get_8c_source.html#l00031">31</a> of file <a class="el" href="get_8c_source.html">get.c</a>.</p>
  140 +<div class="fragment"><pre class="fragment">{
  141 + <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> hash = sdbm((<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)name);
  142 + <a class="code" href="structHttpHeader.html">HttpHeader</a> found;
  143 +
  144 + found = bsearch(&amp;hash, header, nheader, <span class="keyword">sizeof</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>), comp);
  145 +
  146 + <span class="keywordflow">return</span> (NULL != found)? found-&gt;<a class="code" href="structHttpHeader.html#aa7dd0f8361dba57f5be17ff9c6a181e5">value</a> : NULL;
  147 +}
  148 +</pre></div>
  149 +<p><div class="dynheader">
  150 +Here is the caller graph for this function:</div>
  151 +<div class="dyncontent">
  152 +<div class="center"><img src="header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph.png" border="0" usemap="#header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph" alt=""/></div>
  153 +<map name="header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph" id="header_8h_a002a617a3523cbc79ba8ef6f76d98465_icgraph">
  154 +<area shape="rect" id="node3" href="parser_8c.html#a659e7ea125685d797a099638b3376320" title="httpRequestParserParse" alt="" coords="163,5,331,33"/></map>
  155 +</div>
  156 +</p>
  157 +
  158 +</div>
  159 +</div>
  160 +<a class="anchor" id="a498d29a6d4b5a4e3ef92df617600fe54"></a><!-- doxytag: member="header.h::httpHeaderParse" ref="a498d29a6d4b5a4e3ef92df617600fe54" args="(char *line)" -->
  161 +<div class="memitem">
  162 +<div class="memproto">
  163 + <table class="memname">
  164 + <tr>
  165 + <td class="memname"><a class="el" href="structHttpHeader.html">HttpHeader</a> httpHeaderParse </td>
  166 + <td>(</td>
  167 + <td class="paramtype">char *&#160;</td>
  168 + <td class="paramname"><em>line</em></td><td>)</td>
  169 + <td></td>
  170 + </tr>
  171 + </table>
  172 +</div>
  173 +<div class="memdoc">
  174 +
  175 +</div>
  176 +</div>
  177 +<a class="anchor" id="a43ccec0413f9f2e394bb3af5ff628b56"></a><!-- doxytag: member="header.h::httpHeaderSort" ref="a43ccec0413f9f2e394bb3af5ff628b56" args="(const HttpHeader[], int)" -->
  178 +<div class="memitem">
  179 +<div class="memproto">
  180 + <table class="memname">
  181 + <tr>
  182 + <td class="memname">void httpHeaderSort </td>
  183 + <td>(</td>
  184 + <td class="paramtype">const <a class="el" href="structHttpHeader.html">HttpHeader</a>&#160;</td>
  185 + <td class="paramname">[], </td>
  186 + </tr>
  187 + <tr>
  188 + <td class="paramkey"></td>
  189 + <td></td>
  190 + <td class="paramtype">int&#160;</td>
  191 + <td class="paramname">&#160;</td>
  192 + </tr>
  193 + <tr>
  194 + <td></td>
  195 + <td>)</td>
  196 + <td></td><td></td>
  197 + </tr>
  198 + </table>
  199 +</div>
  200 +<div class="memdoc">
  201 +
  202 +<p>Definition at line <a class="el" href="sort_8c_source.html#l00014">14</a> of file <a class="el" href="sort_8c_source.html">sort.c</a>.</p>
  203 +<div class="fragment"><pre class="fragment">{
  204 + qsort(header, nheader, <span class="keyword">sizeof</span>(<a class="code" href="structHttpHeader.html">HttpHeader</a>), comp);
  205 +}
  206 +</pre></div>
  207 +<p><div class="dynheader">
  208 +Here is the caller graph for this function:</div>
  209 +<div class="dyncontent">
  210 +<div class="center"><img src="header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph.png" border="0" usemap="#header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph" alt=""/></div>
  211 +<map name="header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph" id="header_8h_a43ccec0413f9f2e394bb3af5ff628b56_icgraph">
  212 +<area shape="rect" id="node3" href="parser_8c.html#a659e7ea125685d797a099638b3376320" title="httpRequestParserParse" alt="" coords="168,5,336,33"/></map>
  213 +</div>
  214 +</p>
  215 +
  216 +</div>
  217 +</div>
  218 +</div>
  219 +</div>
  220 + <div id="nav-path" class="navpath">
  221 + <ul>
  222 + <li class="navelem"><a class="el" href="header_8h.html">header.h</a> </li>
  223 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  224 +<a href="http://www.doxygen.org/index.html">
  225 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  226 + </ul>
  227 + </div>
  228 +<!--- window showing the filter options -->
  229 +<div id="MSearchSelectWindow"
  230 + onmouseover="return searchBox.OnSearchSelectShow()"
  231 + onmouseout="return searchBox.OnSearchSelectHide()"
  232 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  233 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  234 +
  235 +<!-- iframe showing the search results (closed by default) -->
  236 +<div id="MSearchResultsWindow">
  237 +<iframe src="" frameborder="0"
  238 + name="MSearchResults" id="MSearchResults">
  239 +</iframe>
  240 +</div>
  241 +
  242 +
  243 +</body>
  244 +</html>
... ...
  1 +<map id="G" name="G">
  2 +</map>
... ...
  1 +b00d694ef806d6e244e09e79f0fb1736
\ No newline at end of file
... ...
  1 +<map id="G" name="G">
  2 +<area shape="rect" id="node3" href="$parser_8c.html#a659e7ea125685d797a099638b3376320" title="httpRequestParserParse" alt="" coords="163,5,331,33"/>
  3 +</map>
... ...
  1 +e121973e81d665acb1be05befc4d66dc
\ No newline at end of file
... ...
  1 +<map id="G" name="G">
  2 +<area shape="rect" id="node3" href="$parser_8c.html#a659e7ea125685d797a099638b3376320" title="httpRequestParserParse" alt="" coords="168,5,336,33"/>
  3 +</map>
... ...
  1 +71394d12b5a7b8762f9e0e79e33ef3c6
\ No newline at end of file
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: include/http/header.h Source File</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('header_8h.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="headertitle">
  81 +<h1>include/http/header.h</h1> </div>
  82 +</div>
  83 +<div class="contents">
  84 +<a href="header_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __HTTP_HEADER_H__</span>
  85 +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __HTTP_HEADER_H__</span>
  86 +<a name="l00003"></a>00003 <span class="preprocessor"></span>
  87 +<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;class.h&quot;</span>
  88 +<a name="l00005"></a>00005
  89 +<a name="l00006"></a><a class="code" href="structHttpHeader.html">00006</a> <a class="code" href="class_8h.html#ab12c2142e0ec3f4f19a03b3879c67f32">CLASS</a>(<a class="code" href="structHttpHeader.html">HttpHeader</a>) {
  90 +<a name="l00007"></a>00007 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> hash;
  91 +<a name="l00008"></a>00008 <span class="keywordtype">char</span> * <a class="code" href="structinterface.html#aee0f8e8ed8b404d358a6da91196da0d9">name</a>;
  92 +<a name="l00009"></a>00009 <span class="keywordtype">char</span> * value;
  93 +<a name="l00010"></a>00010 };
  94 +<a name="l00011"></a>00011
  95 +<a name="l00012"></a>00012 <a class="code" href="structHttpHeader.html">HttpHeader</a> <a class="code" href="header_8h.html#a498d29a6d4b5a4e3ef92df617600fe54">httpHeaderParse</a>(<span class="keywordtype">char</span> * line); <span class="comment">// @INFO: destructive</span>
  96 +<a name="l00013"></a>00013 <span class="keywordtype">void</span> <a class="code" href="header_8h.html#a43ccec0413f9f2e394bb3af5ff628b56">httpHeaderSort</a>(<span class="keyword">const</span> <a class="code" href="structHttpHeader.html">HttpHeader</a> [], <span class="keywordtype">int</span>);
  97 +<a name="l00014"></a>00014 <span class="keywordtype">char</span> * <a class="code" href="header_8h.html#a002a617a3523cbc79ba8ef6f76d98465">httpHeaderGet</a>(<span class="keyword">const</span> <a class="code" href="structHttpHeader.html">HttpHeader</a> [], <span class="keywordtype">int</span>, <span class="keyword">const</span> <span class="keywordtype">char</span> *);
  98 +<a name="l00015"></a>00015
  99 +<a name="l00016"></a>00016 <span class="preprocessor">#endif // __HTTP_HEADER_H__</span>
  100 +<a name="l00017"></a>00017 <span class="preprocessor"></span>
  101 +<a name="l00018"></a>00018 <span class="comment">// vim: set ts=4 sw=4:</span>
  102 +</pre></div></div>
  103 +</div>
  104 + <div id="nav-path" class="navpath">
  105 + <ul>
  106 + <li class="navelem"><a class="el" href="header_8h.html">header.h</a> </li>
  107 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  108 +<a href="http://www.doxygen.org/index.html">
  109 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  110 + </ul>
  111 + </div>
  112 +<!--- window showing the filter options -->
  113 +<div id="MSearchSelectWindow"
  114 + onmouseover="return searchBox.OnSearchSelectShow()"
  115 + onmouseout="return searchBox.OnSearchSelectHide()"
  116 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  117 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  118 +
  119 +<!-- iframe showing the search results (closed by default) -->
  120 +<div id="MSearchResultsWindow">
  121 +<iframe src="" frameborder="0"
  122 + name="MSearchResults" id="MSearchResults">
  123 +</iframe>
  124 +</div>
  125 +
  126 +
  127 +</body>
  128 +</html>
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: src/http/request/header_get.c File Reference</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('header__get_8c.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="summary">
  81 +<a href="#func-members">Functions</a> </div>
  82 + <div class="headertitle">
  83 +<h1>src/http/request/header_get.c File Reference</h1> </div>
  84 +</div>
  85 +<div class="contents">
  86 +<div class="textblock"><code>#include &lt;stdlib.h&gt;</code><br/>
  87 +<code>#include &lt;ctype.h&gt;</code><br/>
  88 +<code>#include &quot;http/request.h&quot;</code><br/>
  89 +</div><div class="textblock"><div class="dynheader">
  90 +Include dependency graph for header_get.c:</div>
  91 +<div class="dyncontent">
  92 +<div class="center"><img src="header__get_8c__incl.png" border="0" usemap="#src_2http_2request_2header__get_8c" alt=""/></div>
  93 +<map name="src_2http_2request_2header__get_8c" id="src_2http_2request_2header__get_8c">
  94 +</map>
  95 +</div>
  96 +</div>
  97 +<p><a href="header__get_8c_source.html">Go to the source code of this file.</a></p>
  98 +<table class="memberdecls">
  99 +<tr><td colspan="2"><h2><a name="func-members"></a>
  100 +Functions</h2></td></tr>
  101 +<tr><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="header__get_8c.html#abe5df7e20fea66f7926cf40df8250f26">httpRequestHeaderGet</a> (<a class="el" href="structHttpRequest.html">HttpRequest</a> this, const char *name)</td></tr>
  102 +</table>
  103 +<hr/><h2>Function Documentation</h2>
  104 +<a class="anchor" id="abe5df7e20fea66f7926cf40df8250f26"></a><!-- doxytag: member="header_get.c::httpRequestHeaderGet" ref="abe5df7e20fea66f7926cf40df8250f26" args="(HttpRequest this, const char *name)" -->
  105 +<div class="memitem">
  106 +<div class="memproto">
  107 + <table class="memname">
  108 + <tr>
  109 + <td class="memname">char* httpRequestHeaderGet </td>
  110 + <td>(</td>
  111 + <td class="paramtype"><a class="el" href="structHttpRequest.html">HttpRequest</a>&#160;</td>
  112 + <td class="paramname"><em>this</em>, </td>
  113 + </tr>
  114 + <tr>
  115 + <td class="paramkey"></td>
  116 + <td></td>
  117 + <td class="paramtype">const char *&#160;</td>
  118 + <td class="paramname"><em>name</em>&#160;</td>
  119 + </tr>
  120 + <tr>
  121 + <td></td>
  122 + <td>)</td>
  123 + <td></td><td></td>
  124 + </tr>
  125 + </table>
  126 +</div>
  127 +<div class="memdoc">
  128 +
  129 +<p>Definition at line <a class="el" href="header__get_8c_source.html#l00031">31</a> of file <a class="el" href="header__get_8c_source.html">header_get.c</a>.</p>
  130 +<div class="fragment"><pre class="fragment">{
  131 + <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> hash = sdbm((<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)name);
  132 + <span class="keyword">struct </span>HttpRequestHeader * header;
  133 +
  134 + header = bsearch(
  135 + &amp;hash,
  136 + this-&gt;header,
  137 + this-&gt;nheader,
  138 + <span class="keyword">sizeof</span>(<span class="keyword">struct</span> HttpRequestHeader),
  139 + comp);
  140 +
  141 + <span class="keywordflow">return</span> (NULL != header)? header-&gt;value : NULL;
  142 +}
  143 +</pre></div>
  144 +</div>
  145 +</div>
  146 +</div>
  147 +</div>
  148 + <div id="nav-path" class="navpath">
  149 + <ul>
  150 + <li class="navelem"><a class="el" href="header__get_8c.html">header_get.c</a> </li>
  151 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  152 +<a href="http://www.doxygen.org/index.html">
  153 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  154 + </ul>
  155 + </div>
  156 +<!--- window showing the filter options -->
  157 +<div id="MSearchSelectWindow"
  158 + onmouseover="return searchBox.OnSearchSelectShow()"
  159 + onmouseout="return searchBox.OnSearchSelectHide()"
  160 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  161 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  162 +
  163 +<!-- iframe showing the search results (closed by default) -->
  164 +<div id="MSearchResultsWindow">
  165 +<iframe src="" frameborder="0"
  166 + name="MSearchResults" id="MSearchResults">
  167 +</iframe>
  168 +</div>
  169 +
  170 +
  171 +</body>
  172 +</html>
... ...
  1 +<map id="G" name="G">
  2 +</map>
... ...
  1 +ac8d131eabb03284335c71e7be280ce0
\ No newline at end of file
... ...
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 +<html xmlns="http://www.w3.org/1999/xhtml">
  3 +<head>
  4 +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5 +<title>server: src/http/request/header_get.c Source File</title>
  6 +<link href="tabs.css" rel="stylesheet" type="text/css"/>
  7 +<link href="search/search.css" rel="stylesheet" type="text/css"/>
  8 +<script type="text/javascript" src="search/search.js"></script>
  9 +<link href="navtree.css" rel="stylesheet" type="text/css"/>
  10 +<script type="text/javascript" src="jquery.js"></script>
  11 +<script type="text/javascript" src="navtree.js"></script>
  12 +<script type="text/javascript" src="resize.js"></script>
  13 +<script type="text/javascript">
  14 +$(document).ready(initResizable);
  15 +</script>
  16 +<link href="doxygen.css" rel="stylesheet" type="text/css"/>
  17 +</head>
  18 +<body onload='searchBox.OnSelectItem(0);'>
  19 +<!-- Generated by Doxygen 1.7.3 -->
  20 +<script type="text/javascript"><!--
  21 +var searchBox = new SearchBox("searchBox", "search",false,'Search');
  22 +--></script>
  23 +<div id="top">
  24 +<div id="titlearea">
  25 +<table cellspacing="0" cellpadding="0">
  26 + <tbody>
  27 + <tr style="height: 56px;">
  28 + <td style="padding-left: 0.5em;">
  29 + <div id="projectname">server&#160;<span id="projectnumber">0.0.1</span></div>
  30 + <div id="projectbrief">basicserverinfrastructure</div>
  31 + </td>
  32 + </tr>
  33 + </tbody>
  34 +</table>
  35 +</div>
  36 + <div id="navrow1" class="tabs">
  37 + <ul class="tablist">
  38 + <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  39 + <li><a href="annotated.html"><span>Classes</span></a></li>
  40 + <li class="current"><a href="files.html"><span>Files</span></a></li>
  41 + <li id="searchli">
  42 + <div id="MSearchBox" class="MSearchBoxInactive">
  43 + <span class="left">
  44 + <img id="MSearchSelect" src="search/mag_sel.png"
  45 + onmouseover="return searchBox.OnSearchSelectShow()"
  46 + onmouseout="return searchBox.OnSearchSelectHide()"
  47 + alt=""/>
  48 + <input type="text" id="MSearchField" value="Search" accesskey="S"
  49 + onfocus="searchBox.OnSearchFieldFocus(true)"
  50 + onblur="searchBox.OnSearchFieldFocus(false)"
  51 + onkeyup="searchBox.OnSearchFieldChange(event)"/>
  52 + </span><span class="right">
  53 + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  54 + </span>
  55 + </div>
  56 + </li>
  57 + </ul>
  58 + </div>
  59 + <div id="navrow2" class="tabs2">
  60 + <ul class="tablist">
  61 + <li><a href="files.html"><span>File&#160;List</span></a></li>
  62 + <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  63 + </ul>
  64 + </div>
  65 +</div>
  66 +<div id="side-nav" class="ui-resizable side-nav-resizable">
  67 + <div id="nav-tree">
  68 + <div id="nav-tree-contents">
  69 + </div>
  70 + </div>
  71 + <div id="splitbar" style="-moz-user-select:none;"
  72 + class="ui-resizable-handle">
  73 + </div>
  74 +</div>
  75 +<script type="text/javascript">
  76 + initNavTree('header__get_8c.html','');
  77 +</script>
  78 +<div id="doc-content">
  79 +<div class="header">
  80 + <div class="headertitle">
  81 +<h1>src/http/request/header_get.c</h1> </div>
  82 +</div>
  83 +<div class="contents">
  84 +<a href="header__get_8c.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
  85 +<a name="l00002"></a>00002 <span class="preprocessor">#include &lt;ctype.h&gt;</span>
  86 +<a name="l00003"></a>00003
  87 +<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;http/request.h&quot;</span>
  88 +<a name="l00005"></a>00005
  89 +<a name="l00006"></a>00006 <span class="keyword">static</span>
  90 +<a name="l00007"></a>00007 <span class="keyword">inline</span>
  91 +<a name="l00008"></a>00008 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>
  92 +<a name="l00009"></a>00009 sdbm(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * str)
  93 +<a name="l00010"></a>00010 {
  94 +<a name="l00011"></a>00011 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> hash = 0;
  95 +<a name="l00012"></a>00012 <span class="keywordtype">int</span> c;
  96 +<a name="l00013"></a>00013
  97 +<a name="l00014"></a>00014 <span class="keywordflow">while</span> ((c = tolower(*str++)))
  98 +<a name="l00015"></a>00015 hash = c + (hash &lt;&lt; 6) + (hash &lt;&lt; 16) - hash;
  99 +<a name="l00016"></a>00016
  100 +<a name="l00017"></a>00017 <span class="keywordflow">return</span> hash;
  101 +<a name="l00018"></a>00018 }
  102 +<a name="l00019"></a>00019
  103 +<a name="l00020"></a>00020 <span class="keyword">static</span>
  104 +<a name="l00021"></a>00021 <span class="keyword">inline</span>
  105 +<a name="l00022"></a>00022 <span class="keywordtype">int</span>
  106 +<a name="l00023"></a>00023 comp (<span class="keyword">const</span> <span class="keywordtype">void</span> * _a, <span class="keyword">const</span> <span class="keywordtype">void</span> * _b)
  107 +<a name="l00024"></a>00024 {
  108 +<a name="l00025"></a>00025 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> a = *(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> *)_a;
  109 +<a name="l00026"></a>00026 <span class="keyword">const</span> <span class="keyword">struct </span>HttpRequestHeader * b = _b;
  110 +<a name="l00027"></a>00027 <span class="keywordflow">return</span> (a &lt; b-&gt;hash)? -1 : (a &gt; b-&gt;hash)? 1 : 0;
  111 +<a name="l00028"></a>00028 }
  112 +<a name="l00029"></a>00029
  113 +<a name="l00030"></a>00030 <span class="keywordtype">char</span> *
  114 +<a name="l00031"></a><a class="code" href="header__get_8c.html#abe5df7e20fea66f7926cf40df8250f26">00031</a> <a class="code" href="request_8h.html#abe5df7e20fea66f7926cf40df8250f26">httpRequestHeaderGet</a>(<a class="code" href="structHttpRequest.html">HttpRequest</a> <span class="keyword">this</span>, <span class="keyword">const</span> <span class="keywordtype">char</span> * name)
  115 +<a name="l00032"></a>00032 {
  116 +<a name="l00033"></a>00033 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> hash = sdbm((<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)name);
  117 +<a name="l00034"></a>00034 <span class="keyword">struct </span>HttpRequestHeader * header;
  118 +<a name="l00035"></a>00035
  119 +<a name="l00036"></a>00036 header = bsearch(
  120 +<a name="l00037"></a>00037 &amp;hash,
  121 +<a name="l00038"></a>00038 this-&gt;header,
  122 +<a name="l00039"></a>00039 this-&gt;nheader,
  123 +<a name="l00040"></a>00040 <span class="keyword">sizeof</span>(<span class="keyword">struct</span> HttpRequestHeader),
  124 +<a name="l00041"></a>00041 comp);
  125 +<a name="l00042"></a>00042
  126 +<a name="l00043"></a>00043 <span class="keywordflow">return</span> (NULL != header)? header-&gt;value : NULL;
  127 +<a name="l00044"></a>00044 }
  128 +<a name="l00045"></a>00045
  129 +<a name="l00046"></a>00046 <span class="comment">// vim: set ts=4 sw=4:</span>
  130 +</pre></div></div>
  131 +</div>
  132 + <div id="nav-path" class="navpath">
  133 + <ul>
  134 + <li class="navelem"><a class="el" href="header__get_8c.html">header_get.c</a> </li>
  135 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
  136 +<a href="http://www.doxygen.org/index.html">
  137 +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
  138 + </ul>
  139 + </div>
  140 +<!--- window showing the filter options -->
  141 +<div id="MSearchSelectWindow"
  142 + onmouseover="return searchBox.OnSearchSelectShow()"
  143 + onmouseout="return searchBox.OnSearchSelectHide()"
  144 + onkeydown="return searchBox.OnSearchSelectKey(event)">
  145 +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>
  146 +
  147 +<!-- iframe showing the search results (closed by default) -->
  148 +<div id="MSearchResultsWindow">
  149 +<iframe src="" frameborder="0"
  150 + name="MSearchResults" id="MSearchResults">
  151 +</iframe>
  152 +</div>
  153 +
  154 +
  155 +</body>
  156 +</html>
... ...
... ... @@ -79,7 +79,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
79 79 </div>
80 80 <div id="nav-path" class="navpath">
81 81 <ul>
82   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  82 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
83 83 <a href="http://www.doxygen.org/index.html">
84 84 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
85 85 </ul>
... ...
... ... @@ -217,7 +217,7 @@ Here is the call graph for this function:</div>
217 217 <div id="nav-path" class="navpath">
218 218 <ul>
219 219 <li class="navelem"><a class="el" href="interface_2class_8c.html">class.c</a> </li>
220   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  220 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
221 221 <a href="http://www.doxygen.org/index.html">
222 222 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
223 223 </ul>
... ...
... ... @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
142 142 <div id="nav-path" class="navpath">
143 143 <ul>
144 144 <li class="navelem"><a class="el" href="interface_2class_8c.html">class.c</a> </li>
145   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  145 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
146 146 <a href="http://www.doxygen.org/index.html">
147 147 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
148 148 </ul>
... ...
... ... @@ -350,7 +350,7 @@ Here is the call graph for this function:</div>
350 350 <div id="nav-path" class="navpath">
351 351 <ul>
352 352 <li class="navelem"><a class="el" href="interface_2class_8h.html">class.h</a> </li>
353   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  353 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
354 354 <a href="http://www.doxygen.org/index.html">
355 355 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
356 356 </ul>
... ...
... ... @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
118 118 <div id="nav-path" class="navpath">
119 119 <ul>
120 120 <li class="navelem"><a class="el" href="interface_2class_8h.html">class.h</a> </li>
121   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  121 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
122 122 <a href="http://www.doxygen.org/index.html">
123 123 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
124 124 </ul>
... ...
... ... @@ -84,6 +84,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
84 84 </div>
85 85 <div class="contents">
86 86 <div class="textblock"><code>#include &lt;stdlib.h&gt;</code><br/>
  87 +<code>#include &lt;stdio.h&gt;</code><br/>
87 88 <code>#include &lt;stdarg.h&gt;</code><br/>
88 89 <code>#include &quot;logger.h&quot;</code><br/>
89 90 <code>#include &quot;interface/logger.h&quot;</code><br/>
... ... @@ -91,6 +92,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
91 92 Include dependency graph for logger.c:</div>
92 93 <div class="dyncontent">
93 94 <div class="center"><img src="interface_2logger_8c__incl.png" border="0" usemap="#src_2interface_2logger_8c" alt=""/></div>
  95 +<map name="src_2interface_2logger_8c" id="src_2interface_2logger_8c">
  96 +</map>
94 97 </div>
95 98 </div>
96 99 <p><a href="interface_2logger_8c_source.html">Go to the source code of this file.</a></p>
... ... @@ -137,7 +140,7 @@ Functions</h2></td></tr>
137 140 </div>
138 141 <div class="memdoc">
139 142
140   -<p>Definition at line <a class="el" href="interface_2logger_8c_source.html#l00013">13</a> of file <a class="el" href="interface_2logger_8c_source.html">logger.c</a>.</p>
  143 +<p>Definition at line <a class="el" href="interface_2logger_8c_source.html#l00014">14</a> of file <a class="el" href="interface_2logger_8c_source.html">logger.c</a>.</p>
141 144 <div class="fragment"><pre class="fragment"> {
142 145 <a class="code" href="structLogger.html">Logger</a> <span class="keywordtype">object</span> = _object;
143 146
... ... @@ -178,7 +181,7 @@ Here is the caller graph for this function:</div>
178 181 <div id="nav-path" class="navpath">
179 182 <ul>
180 183 <li class="navelem"><a class="el" href="interface_2logger_8c.html">logger.c</a> </li>
181   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  184 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
182 185 <a href="http://www.doxygen.org/index.html">
183 186 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
184 187 </ul>
... ...
1   -a79dfd2227829af04969c50e48d23117
\ No newline at end of file
  1 +f814c1974f3868750c83967ad2aefc9a
\ No newline at end of file
... ...

1.9 KB | W: | H:

2.11 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
... ... @@ -82,48 +82,49 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
82 82 </div>
83 83 <div class="contents">
84 84 <a href="interface_2logger_8c.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
85   -<a name="l00002"></a>00002 <span class="preprocessor">#include &lt;stdarg.h&gt;</span>
86   -<a name="l00003"></a>00003
87   -<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;logger.h&quot;</span>
88   -<a name="l00005"></a>00005 <span class="preprocessor">#include &quot;interface/logger.h&quot;</span>
89   -<a name="l00006"></a>00006
90   -<a name="l00007"></a>00007 <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structinterface.html">interface</a> <a class="code" href="structi__Logger.html">i_Logger</a> = {
91   -<a name="l00008"></a>00008 <span class="stringliteral">&quot;logger&quot;</span>,
92   -<a name="l00009"></a>00009 1
93   -<a name="l00010"></a>00010 };
94   -<a name="l00011"></a>00011
95   -<a name="l00012"></a>00012 <span class="keywordtype">void</span>
96   -<a name="l00013"></a><a class="code" href="interface_2logger_8c.html#a9053743a944f1faef3866efaa52d3c7f">00013</a> <a class="code" href="interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e">loggerLog</a>(<span class="keywordtype">void</span> * _object, <a class="code" href="logger_8h.html#a63296c69f4b9bf51d6756a5d2c482d1e">logger_level</a> level, <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> fmt, ...) {
97   -<a name="l00014"></a>00014 <a class="code" href="structLogger.html">Logger</a> <span class="keywordtype">object</span> = _object;
98   -<a name="l00015"></a>00015
99   -<a name="l00016"></a>00016 <span class="keywordflow">if</span> (level &gt;= object-&gt;<a class="code" href="structLogger.html#ae0e2ee030c14c5ef01dc0d1568c6fd3f">min_level</a>) {
100   -<a name="l00017"></a>00017 <span class="keywordtype">char</span> * msg = NULL;
101   -<a name="l00018"></a>00018 <span class="keywordtype">size_t</span> msg_size = 0;
102   -<a name="l00019"></a>00019 va_list params;
103   -<a name="l00020"></a>00020
104   -<a name="l00021"></a>00021 va_start(params, fmt);
105   -<a name="l00022"></a>00022 msg_size = vsnprintf(msg, msg_size, fmt, params);
106   -<a name="l00023"></a>00023 va_end(params);
107   -<a name="l00024"></a>00024
108   -<a name="l00025"></a>00025 msg = malloc(msg_size + 1);
109   -<a name="l00026"></a>00026
110   -<a name="l00027"></a>00027 va_start(params, fmt);
111   -<a name="l00028"></a>00028 vsnprintf(msg, msg_size + 1, fmt, params);
112   -<a name="l00029"></a>00029 va_end(params);
113   -<a name="l00030"></a>00030
114   -<a name="l00031"></a>00031 <a class="code" href="class_8h.html#ada752d9d1fdbf84e978606e8999c762d">CALL</a>(_object, <a class="code" href="structLogger.html">Logger</a>, log, level, msg);
115   -<a name="l00032"></a>00032
116   -<a name="l00033"></a>00033 free(msg);
117   -<a name="l00034"></a>00034 }
118   -<a name="l00035"></a>00035 }
119   -<a name="l00036"></a>00036
120   -<a name="l00037"></a>00037 <span class="comment">// vim: set ts=4 sw=4:</span>
  85 +<a name="l00002"></a>00002 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
  86 +<a name="l00003"></a>00003 <span class="preprocessor">#include &lt;stdarg.h&gt;</span>
  87 +<a name="l00004"></a>00004
  88 +<a name="l00005"></a>00005 <span class="preprocessor">#include &quot;logger.h&quot;</span>
  89 +<a name="l00006"></a>00006 <span class="preprocessor">#include &quot;interface/logger.h&quot;</span>
  90 +<a name="l00007"></a>00007
  91 +<a name="l00008"></a>00008 <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structinterface.html">interface</a> <a class="code" href="structi__Logger.html">i_Logger</a> = {
  92 +<a name="l00009"></a>00009 <span class="stringliteral">&quot;logger&quot;</span>,
  93 +<a name="l00010"></a>00010 1
  94 +<a name="l00011"></a>00011 };
  95 +<a name="l00012"></a>00012
  96 +<a name="l00013"></a>00013 <span class="keywordtype">void</span>
  97 +<a name="l00014"></a><a class="code" href="interface_2logger_8c.html#a9053743a944f1faef3866efaa52d3c7f">00014</a> <a class="code" href="interface_2logger_8h.html#ae9f8662ec8b300dcfb5064906937553e">loggerLog</a>(<span class="keywordtype">void</span> * _object, <a class="code" href="logger_8h.html#a63296c69f4b9bf51d6756a5d2c482d1e">logger_level</a> level, <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> fmt, ...) {
  98 +<a name="l00015"></a>00015 <a class="code" href="structLogger.html">Logger</a> <span class="keywordtype">object</span> = _object;
  99 +<a name="l00016"></a>00016
  100 +<a name="l00017"></a>00017 <span class="keywordflow">if</span> (level &gt;= object-&gt;<a class="code" href="structLogger.html#ae0e2ee030c14c5ef01dc0d1568c6fd3f">min_level</a>) {
  101 +<a name="l00018"></a>00018 <span class="keywordtype">char</span> * msg = NULL;
  102 +<a name="l00019"></a>00019 <span class="keywordtype">size_t</span> msg_size = 0;
  103 +<a name="l00020"></a>00020 va_list params;
  104 +<a name="l00021"></a>00021
  105 +<a name="l00022"></a>00022 va_start(params, fmt);
  106 +<a name="l00023"></a>00023 msg_size = vsnprintf(msg, msg_size, fmt, params);
  107 +<a name="l00024"></a>00024 va_end(params);
  108 +<a name="l00025"></a>00025
  109 +<a name="l00026"></a>00026 msg = malloc(msg_size + 1);
  110 +<a name="l00027"></a>00027
  111 +<a name="l00028"></a>00028 va_start(params, fmt);
  112 +<a name="l00029"></a>00029 vsnprintf(msg, msg_size + 1, fmt, params);
  113 +<a name="l00030"></a>00030 va_end(params);
  114 +<a name="l00031"></a>00031
  115 +<a name="l00032"></a>00032 <a class="code" href="class_8h.html#ada752d9d1fdbf84e978606e8999c762d">CALL</a>(_object, <a class="code" href="structLogger.html">Logger</a>, log, level, msg);
  116 +<a name="l00033"></a>00033
  117 +<a name="l00034"></a>00034 free(msg);
  118 +<a name="l00035"></a>00035 }
  119 +<a name="l00036"></a>00036 }
  120 +<a name="l00037"></a>00037
  121 +<a name="l00038"></a>00038 <span class="comment">// vim: set ts=4 sw=4:</span>
121 122 </pre></div></div>
122 123 </div>
123 124 <div id="nav-path" class="navpath">
124 125 <ul>
125 126 <li class="navelem"><a class="el" href="interface_2logger_8c.html">logger.c</a> </li>
126   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  127 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
127 128 <a href="http://www.doxygen.org/index.html">
128 129 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
129 130 </ul>
... ...
... ... @@ -165,7 +165,7 @@ Functions</h2></td></tr>
165 165 </div>
166 166 <div class="memdoc">
167 167
168   -<p>Definition at line <a class="el" href="interface_2logger_8c_source.html#l00013">13</a> of file <a class="el" href="interface_2logger_8c_source.html">logger.c</a>.</p>
  168 +<p>Definition at line <a class="el" href="interface_2logger_8c_source.html#l00014">14</a> of file <a class="el" href="interface_2logger_8c_source.html">logger.c</a>.</p>
169 169 <div class="fragment"><pre class="fragment"> {
170 170 <a class="code" href="structLogger.html">Logger</a> <span class="keywordtype">object</span> = _object;
171 171
... ... @@ -206,7 +206,7 @@ Here is the caller graph for this function:</div>
206 206 <div id="nav-path" class="navpath">
207 207 <ul>
208 208 <li class="navelem"><a class="el" href="interface_2logger_8h.html">logger.h</a> </li>
209   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  209 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
210 210 <a href="http://www.doxygen.org/index.html">
211 211 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
212 212 </ul>
... ...
... ... @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
108 108 <div id="nav-path" class="navpath">
109 109 <ul>
110 110 <li class="navelem"><a class="el" href="interface_2logger_8h.html">logger.h</a> </li>
111   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  111 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
112 112 <a href="http://www.doxygen.org/index.html">
113 113 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
114 114 </ul>
... ...
... ... @@ -172,7 +172,7 @@ Functions</h2></td></tr>
172 172 <div id="nav-path" class="navpath">
173 173 <ul>
174 174 <li class="navelem"><a class="el" href="interface_8c.html">interface.c</a> </li>
175   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  175 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
176 176 <a href="http://www.doxygen.org/index.html">
177 177 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
178 178 </ul>
... ...
... ... @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
127 127 <div id="nav-path" class="navpath">
128 128 <ul>
129 129 <li class="navelem"><a class="el" href="interface_8c.html">interface.c</a> </li>
130   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  130 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
131 131 <a href="http://www.doxygen.org/index.html">
132 132 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
133 133 </ul>
... ...
... ... @@ -358,7 +358,7 @@ Functions</h2></td></tr>
358 358 <div id="nav-path" class="navpath">
359 359 <ul>
360 360 <li class="navelem"><a class="el" href="interface_8h.html">interface.h</a> </li>
361   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  361 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
362 362 <a href="http://www.doxygen.org/index.html">
363 363 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
364 364 </ul>
... ...
... ... @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
125 125 <div id="nav-path" class="navpath">
126 126 <ul>
127 127 <li class="navelem"><a class="el" href="interface_8h.html">interface.h</a> </li>
128   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  128 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
129 129 <a href="http://www.doxygen.org/index.html">
130 130 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
131 131 </ul>
... ...
... ... @@ -165,7 +165,7 @@ Here is the call graph for this function:</div>
165 165 <div id="nav-path" class="navpath">
166 166 <ul>
167 167 <li class="navelem"><a class="el" href="listen_8c.html">listen.c</a> </li>
168   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  168 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
169 169 <a href="http://www.doxygen.org/index.html">
170 170 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
171 171 </ul>
... ...
... ... @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
119 119 <div id="nav-path" class="navpath">
120 120 <ul>
121 121 <li class="navelem"><a class="el" href="listen_8c.html">listen.c</a> </li>
122   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  122 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
123 123 <a href="http://www.doxygen.org/index.html">
124 124 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
125 125 </ul>
... ...
... ... @@ -208,7 +208,7 @@ Variables</h2></td></tr>
208 208 <div id="nav-path" class="navpath">
209 209 <ul>
210 210 <li class="navelem"><a class="el" href="logger_8c.html">logger.c</a> </li>
211   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  211 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
212 212 <a href="http://www.doxygen.org/index.html">
213 213 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
214 214 </ul>
... ...
... ... @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
119 119 <div id="nav-path" class="navpath">
120 120 <ul>
121 121 <li class="navelem"><a class="el" href="logger_8c.html">logger.c</a> </li>
122   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  122 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
123 123 <a href="http://www.doxygen.org/index.html">
124 124 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
125 125 </ul>
... ...
... ... @@ -211,7 +211,7 @@ Variables</h2></td></tr>
211 211 <div id="nav-path" class="navpath">
212 212 <ul>
213 213 <li class="navelem"><a class="el" href="logger_8h.html">logger.h</a> </li>
214   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  214 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
215 215 <a href="http://www.doxygen.org/index.html">
216 216 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
217 217 </ul>
... ...
... ... @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
119 119 <div id="nav-path" class="navpath">
120 120 <ul>
121 121 <li class="navelem"><a class="el" href="logger_8h.html">logger.h</a> </li>
122   - <li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by&#160;
  122 + <li class="footer">Generated on Thu Feb 9 2012 22:38:12 for server by&#160;
123 123 <a href="http://www.doxygen.org/index.html">
124 124 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
125 125 </ul>
... ...
... ... @@ -3,9 +3,11 @@ var NAVTREE =
3 3 [ "server", "index.html", [
4 4 [ "Class List", "annotated.html", [
5 5 [ "class", "structclass.html", null ],
  6 + [ "HttpHeader", "structHttpHeader.html", null ],
6 7 [ "HttpRequest", "structHttpRequest.html", null ],
7 8 [ "HttpRequestParser", "structHttpRequestParser.html", null ],
8 9 [ "HttpRequestQueue", "structHttpRequestQueue.html", null ],
  10 + [ "HttpResponse", "structHttpResponse.html", null ],
9 11 [ "i_Class", "structi__Class.html", null ],
10 12 [ "i_Logger", "structi__Logger.html", null ],
11 13 [ "i_StreamReader", "structi__StreamReader.html", null ],
... ... @@ -20,15 +22,18 @@ var NAVTREE =
20 22 [ "Class Index", "classes.html", null ],
21 23 [ "Class Members", "functions.html", null ],
22 24 [ "File List", "files.html", [
  25 + [ "config.h", "config_8h.html", null ],
23 26 [ "include/class.h", "class_8h.html", null ],
24 27 [ "include/interface.h", "interface_8h.html", null ],
25 28 [ "include/logger.h", "logger_8h.html", null ],
26 29 [ "include/server.h", "server_8h.html", null ],
27 30 [ "include/signalHandling.h", "signalHandling_8h.html", null ],
28 31 [ "include/socket.h", "socket_8h.html", null ],
  32 + [ "include/http/header.h", "header_8h.html", null ],
29 33 [ "include/http/request.h", "request_8h.html", null ],
30 34 [ "include/http/request_parser.h", "request__parser_8h.html", null ],
31 35 [ "include/http/request_queue.h", "request__queue_8h.html", null ],
  36 + [ "include/http/response.h", "response_8h.html", null ],
32 37 [ "include/interface/class.h", "interface_2class_8h.html", null ],
33 38 [ "include/interface/logger.h", "interface_2logger_8h.html", null ],
34 39 [ "include/interface/stream_reader.h", "stream__reader_8h.html", null ],
... ... @@ -40,9 +45,16 @@ var NAVTREE =
40 45 [ "src/signalHandling.c", "signalHandling_8c.html", null ],
41 46 [ "src/socket.c", "socket_8c.html", null ],
42 47 [ "src/testserver.c", "testserver_8c.html", null ],
  48 + [ "src/http/header.c", "header_8c.html", null ],
43 49 [ "src/http/request.c", "request_8c.html", null ],
44   - [ "src/http/request_parser.c", "request__parser_8c.html", null ],
45   - [ "src/http/request_queue.c", "request__queue_8c.html", null ],
  50 + [ "src/http/header/get.c", "get_8c.html", null ],
  51 + [ "src/http/header/sort.c", "sort_8c.html", null ],
  52 + [ "src/http/request/header_get.c", "header__get_8c.html", null ],
  53 + [ "src/http/request/parser.c", "parser_8c.html", null ],
  54 + [ "src/http/request/queue.c", "queue_8c.html", null ],
  55 + [ "src/http/request/parser/get_header.c", "get__header_8c.html", null ],
  56 + [ "src/http/request/parser/get_request_line.c", "get__request__line_8c.html", null ],
  57 + [ "src/http/request/parser/parse.c", "parse_8c.html", null ],
46 58 [ "src/interface/class.c", "interface_2class_8c.html", null ],
47 59 [ "src/interface/logger.c", "interface_2logger_8c.html", null ],
48 60 [ "src/interface/stream_reader.c", "stream__reader_8c.html", null ],
... ...
Please register or login to post a comment