serverRun_8c.html
8.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!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 Page</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>server/serverRun.c File Reference</h1><code>#include <sys/select.h></code><br>
<code>#include <string.h></code><br>
<code>#include <stdlib.h></code><br>
<code>#include <errno.h></code><br>
<code>#include <unistd.h></code><br>
<code>#include <expat.h></code><br>
<code>#include "<a class="el" href="appConfig_8h-source.html">../include/appConfig.h</a>"</code><br>
<code>#include "<a class="el" href="server_8h-source.html">../include/server.h</a>"</code><br>
<code>#include "<a class="el" href="client_8h-source.html">../include/client.h</a>"</code><br>
<code>#include "<a class="el" href="socket_8h-source.html">../include/socket.h</a>"</code><br>
<code>#include "<a class="el" href="monitor_8h-source.html">../include/monitor.h</a>"</code><br>
<code>#include "<a class="el" href="logRotate_8h-source.html">../include/logRotate.h</a>"</code><br>
<code>#include "<a class="el" href="signalHandling_8h-source.html">../include/signalHandling.h</a>"</code><br>
<code>#include "<a class="el" href="httpRequest_8h-source.html">../include/httpRequest.h</a>"</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 </td><td class="memItemRight" valign="bottom"><a class="el" href="serverRun_8c.html#98a2366f9ef44f0d3eee7d33981bbe8a">RESPONSE</a> " 200 OK\r\nServer: xmlrpc\r\nStatus: 200\r\nContent-Length: 10\r\nContent-Type: text/plain\r\n\r\n0123456789"</td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void XMLCALL </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 </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 </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 </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 " 200 OK\r\nServer: xmlrpc\r\nStatus: 200\r\nContent-Length: 10\r\nContent-Type: text/plain\r\n\r\n0123456789" </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 * </td>
<td class="paramname"> <em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>el</em></td><td> </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> * </td>
<td class="paramname"> <em>server</em> </td>
<td> ) </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 * </td>
<td class="paramname"> <em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>el</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char ** </td>
<td class="paramname"> <em>attr</em></td><td> </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
<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>