structServer.html
15 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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>server: Server Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">server <span id="projectnumber">0.0.1</span></div>
<div id="projectbrief">basicserverinfrastructure</div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li id="searchli">
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
initNavTree('structServer.html','');
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> </div>
<div class="headertitle">
<h1>Server Struct Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Server" -->
<p><code>#include <<a class="el" href="server_8h_source.html">server.h</a>></code></p>
<div class="dynheader">
Collaboration diagram for Server:</div>
<div class="dyncontent">
<div class="center"><img src="structServer__coll__graph.png" border="0" usemap="#Server_coll__map" alt="Collaboration graph"/></div>
<map name="Server_coll__map" id="Server_coll__map">
<area shape="rect" id="node2" href="structSock.html" title="{Sock\n|+ log\l+ port\l+ handle\l|}" alt="" coords="76,153,148,266"/><area shape="rect" id="node4" href="structLogger.html" title="{Logger\n|+ min_level\l|}" alt="" coords="5,6,93,87"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="structServer-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structLogger.html">Logger</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structServer.html#ab50b5b20130564ba7e9a12032070882f">logger</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structSock.html">Sock</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structServer.html#a4cdc9c048a3a1846683fdedc2269c0f8">sock</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structServer.html#a241c1cbc117f318453934fa10c2c4a23">reader</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">nfds_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structServer.html#a156e386a6d4c73e6233531706a091fb3">nfds</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">nfds_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structServer.html#a88eb6b108b1d22967076fc1d9e21c4d4">ndel</a></td></tr>
<tr><td class="memItemLeft" >struct {</td></tr>
<tr><td class="memItemLeft" >   <a class="el" href="structSock.html">Sock</a>   <a class="el" href="structServer.html#a4cdc9c048a3a1846683fdedc2269c0f8">sock</a></td></tr>
<tr><td class="memItemLeft" >   void *   <a class="el" href="structServer.html#a241c1cbc117f318453934fa10c2c4a23">reader</a></td></tr>
<tr><td class="memItemLeft" >   char   <a class="el" href="structServer.html#a8914561393eb8d570a2cfb5348b6aeb7">wbuf</a> [2048]</td></tr>
<tr><td class="memItemLeft" >   char *   <a class="el" href="structServer.html#a898e067058a6db3a8d5cf3968fc79c8a">rbuf</a></td></tr>
<tr><td class="memItemLeft" >   unsigned int   <a class="el" href="structServer.html#af39a8d40450b5c6a947be2c1a95c0943">rpos</a></td></tr>
<tr><td class="memItemLeft" >   unsigned int   <a class="el" href="structServer.html#a95e4cdf2ef584a6709f794d58d9190b3">wpos</a></td></tr>
<tr><td class="memItemLeft" valign="top">} </td><td class="memItemRight" valign="bottom"><a class="el" href="structServer.html#a269c01ae6736206cdd9a5e1d5ad2398b">conns</a> [POLL_FD_NSIZE]</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="server_8h_source.html#l00024">24</a> of file <a class="el" href="server_8h_source.html">server.h</a>.</p>
</div><hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a269c01ae6736206cdd9a5e1d5ad2398b"></a><!-- doxytag: member="Server::conns" ref="a269c01ae6736206cdd9a5e1d5ad2398b" args="[POLL_FD_NSIZE]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct { ... } <a class="el" href="structServer.html#a269c01ae6736206cdd9a5e1d5ad2398b">Server::conns</a>[POLL_FD_NSIZE]</td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ab50b5b20130564ba7e9a12032070882f"></a><!-- doxytag: member="Server::logger" ref="ab50b5b20130564ba7e9a12032070882f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structLogger.html">Logger</a> <a class="el" href="structServer.html#ab50b5b20130564ba7e9a12032070882f">Server::logger</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="server_8h_source.html#l00060">60</a> of file <a class="el" href="server_8h_source.html">server.h</a>.</p>
</div>
</div>
<a class="anchor" id="a88eb6b108b1d22967076fc1d9e21c4d4"></a><!-- doxytag: member="Server::ndel" ref="a88eb6b108b1d22967076fc1d9e21c4d4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">nfds_t <a class="el" href="structServer.html#a88eb6b108b1d22967076fc1d9e21c4d4">Server::ndel</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="server_8h_source.html#l00073">73</a> of file <a class="el" href="server_8h_source.html">server.h</a>.</p>
</div>
</div>
<a class="anchor" id="a156e386a6d4c73e6233531706a091fb3"></a><!-- doxytag: member="Server::nfds" ref="a156e386a6d4c73e6233531706a091fb3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">nfds_t <a class="el" href="structServer.html#a156e386a6d4c73e6233531706a091fb3">Server::nfds</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>loeschen: fds[i].event auf 0 dann nfds um die anzahl der geloeschten elemente verkleinern. die in close pending stehenden socket schliessen. vor jedem poll qsort auf fds ueber event. nach dem poll qsort auf fds ueber revent und reuckgebewert von poll beruecksichtigen. </p>
<p>Definition at line <a class="el" href="server_8h_source.html#l00072">72</a> of file <a class="el" href="server_8h_source.html">server.h</a>.</p>
</div>
</div>
<a class="anchor" id="a898e067058a6db3a8d5cf3968fc79c8a"></a><!-- doxytag: member="Server::rbuf" ref="a898e067058a6db3a8d5cf3968fc79c8a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* <a class="el" href="structServer.html#a898e067058a6db3a8d5cf3968fc79c8a">Server::rbuf</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="server_8h_source.html#l00081">81</a> of file <a class="el" href="server_8h_source.html">server.h</a>.</p>
</div>
</div>
<a class="anchor" id="a241c1cbc117f318453934fa10c2c4a23"></a><!-- doxytag: member="Server::reader" ref="a241c1cbc117f318453934fa10c2c4a23" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* <a class="el" href="structServer.html#a241c1cbc117f318453934fa10c2c4a23">Server::reader</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="server_8h_source.html#l00062">62</a> of file <a class="el" href="server_8h_source.html">server.h</a>.</p>
</div>
</div>
<a class="anchor" id="af39a8d40450b5c6a947be2c1a95c0943"></a><!-- doxytag: member="Server::rpos" ref="af39a8d40450b5c6a947be2c1a95c0943" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="structServer.html#af39a8d40450b5c6a947be2c1a95c0943">Server::rpos</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="server_8h_source.html#l00082">82</a> of file <a class="el" href="server_8h_source.html">server.h</a>.</p>
</div>
</div>
<a class="anchor" id="a4cdc9c048a3a1846683fdedc2269c0f8"></a><!-- doxytag: member="Server::sock" ref="a4cdc9c048a3a1846683fdedc2269c0f8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structSock.html">Sock</a> <a class="el" href="structServer.html#a4cdc9c048a3a1846683fdedc2269c0f8">Server::sock</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="server_8h_source.html#l00061">61</a> of file <a class="el" href="server_8h_source.html">server.h</a>.</p>
</div>
</div>
<a class="anchor" id="a8914561393eb8d570a2cfb5348b6aeb7"></a><!-- doxytag: member="Server::wbuf" ref="a8914561393eb8d570a2cfb5348b6aeb7" args="[2048]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char <a class="el" href="structServer.html#a8914561393eb8d570a2cfb5348b6aeb7">Server::wbuf</a>[2048]</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="server_8h_source.html#l00080">80</a> of file <a class="el" href="server_8h_source.html">server.h</a>.</p>
</div>
</div>
<a class="anchor" id="a95e4cdf2ef584a6709f794d58d9190b3"></a><!-- doxytag: member="Server::wpos" ref="a95e4cdf2ef584a6709f794d58d9190b3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="structServer.html#a95e4cdf2ef584a6709f794d58d9190b3">Server::wpos</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="server_8h_source.html#l00083">83</a> of file <a class="el" href="server_8h_source.html">server.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/<a class="el" href="server_8h_source.html">server.h</a></li>
</ul>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="structServer.html">Server</a> </li>
<li class="footer">Generated on Wed Feb 8 2012 13:09:32 for server by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Defines</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</body>
</html>