serverRun_8c.html 8.24 KB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>xmlrpc: server/serverRun.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>server/serverRun.c File Reference</h1><code>#include &lt;sys/select.h&gt;</code><br>
<code>#include &lt;string.h&gt;</code><br>
<code>#include &lt;stdlib.h&gt;</code><br>
<code>#include &lt;errno.h&gt;</code><br>
<code>#include &lt;unistd.h&gt;</code><br>
<code>#include &lt;expat.h&gt;</code><br>
<code>#include &quot;<a class="el" href="appConfig_8h-source.html">../include/appConfig.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="server_8h-source.html">../include/server.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="client_8h-source.html">../include/client.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="socket_8h-source.html">../include/socket.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="monitor_8h-source.html">../include/monitor.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="logRotate_8h-source.html">../include/logRotate.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="signalHandling_8h-source.html">../include/signalHandling.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="httpRequest_8h-source.html">../include/httpRequest.h</a>&quot;</code><br>

<p>
<a href="serverRun_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="serverRun_8c.html#98a2366f9ef44f0d3eee7d33981bbe8a">RESPONSE</a>&nbsp;&nbsp;&nbsp;&quot; 200 OK\r\nServer: xmlrpc\r\nStatus: 200\r\nContent-Length: 10\r\nContent-Type: text/plain\r\n\r\n0123456789&quot;</td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void XMLCALL&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="serverRun_8c.html#73425567b97c64e9af77c626e0069f67">start</a> (void *data, const char *el, const char **attr)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void XMLCALL&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="serverRun_8c.html#1e60190f250d3f699f3671c759e6fe36">end</a> (void *data, const char *el)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="serverRun_8c.html#208ea34b5a69f6ff0d48ed85c9a6f9eb">serverRun</a> (<a class="el" href="structtServer.html">tServer</a> *server)</td></tr>

<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="serverRun_8c.html#c66dbe0e082fd3cc29bc1572a4dccc09">Depth</a></td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="98a2366f9ef44f0d3eee7d33981bbe8a"></a><!-- doxytag: member="serverRun.c::RESPONSE" ref="98a2366f9ef44f0d3eee7d33981bbe8a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RESPONSE&nbsp;&nbsp;&nbsp;&quot; 200 OK\r\nServer: xmlrpc\r\nStatus: 200\r\nContent-Length: 10\r\nContent-Type: text/plain\r\n\r\n0123456789&quot;          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="serverRun_8c-source.html#l00018">18</a> of file <a class="el" href="serverRun_8c-source.html">serverRun.c</a>.</p>

</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="1e60190f250d3f699f3671c759e6fe36"></a><!-- doxytag: member="serverRun.c::end" ref="1e60190f250d3f699f3671c759e6fe36" args="(void *data, const char *el)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XMLCALL end           </td>
          <td>(</td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>el</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="serverRun_8c-source.html#l00040">40</a> of file <a class="el" href="serverRun_8c-source.html">serverRun.c</a>.</p>

</div>
</div><p>
<a class="anchor" name="208ea34b5a69f6ff0d48ed85c9a6f9eb"></a><!-- doxytag: member="serverRun.c::serverRun" ref="208ea34b5a69f6ff0d48ed85c9a6f9eb" args="(tServer *server)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void serverRun           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtServer.html">tServer</a> *&nbsp;</td>
          <td class="paramname"> <em>server</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="serverRun_8c-source.html#l00050">50</a> of file <a class="el" href="serverRun_8c-source.html">serverRun.c</a>.</p>

</div>
</div><p>
<a class="anchor" name="73425567b97c64e9af77c626e0069f67"></a><!-- doxytag: member="serverRun.c::start" ref="73425567b97c64e9af77c626e0069f67" args="(void *data, const char *el, const char **attr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XMLCALL start           </td>
          <td>(</td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>el</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char **&nbsp;</td>
          <td class="paramname"> <em>attr</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="serverRun_8c-source.html#l00023">23</a> of file <a class="el" href="serverRun_8c-source.html">serverRun.c</a>.</p>

</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="c66dbe0e082fd3cc29bc1572a4dccc09"></a><!-- doxytag: member="serverRun.c::Depth" ref="c66dbe0e082fd3cc29bc1572a4dccc09" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="serverRun_8c.html#c66dbe0e082fd3cc29bc1572a4dccc09">Depth</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="serverRun_8c-source.html#l00020">20</a> of file <a class="el" href="serverRun_8c-source.html">serverRun.c</a>.</p>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Oct 10 01:24:35 2010 for xmlrpc by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>