appConfig_8h.html
10.3 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
<!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: include/appConfig.h 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>include/appConfig.h File Reference</h1>
<p>
<a href="appConfig_8h-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>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structtAppConfig.html">tAppConfig</a></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="appConfig_8h.html#f77ed3e65a7b1a9341603d152a1404df">MAXPENDING</a> 10</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="appConfig_8h.html#ce5c08f66edfc6ae44edaeef6b6101b6">MAXCLIENTS</a> 1000</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="appConfig_8h.html#a0534241791f23ec8098503582406166">READBUFSIZE</a> 2048</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="appConfig_8h.html#3db4dba8d56385b62759b89c98cae447">DEFAULTPORT</a> 8801</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="appConfig_8h.html#0672e2d34f3bbe2f6cdad6f307b9d1cf">DEFAULTPATH</a> "logfiles"</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="appConfig_8h.html#9a98b2d0f973e357020c1274ec5b56c0">LOGNAMEPATTERN</a> "log-%Y-%m-%d_%Hh"</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="appConfig_8h.html#acc3ee1a7f283f8ef65cea31f4436a95">MAX</a>(x, y) ((x) > (y) ? (x) : (y))</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="appConfig_8h.html#74e75242132eaabbc1c512488a135926">MIN</a>(x, y) ((x) < (y) ? (x) : (y))</td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="appConfig_8h.html#3755d793d10d6e5793ed5086a0b22964">handleCmdLine</a> (<a class="el" href="structtAppConfig.html">tAppConfig</a> *config, int argc, char *argv[])</td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="0672e2d34f3bbe2f6cdad6f307b9d1cf"></a><!-- doxytag: member="appConfig.h::DEFAULTPATH" ref="0672e2d34f3bbe2f6cdad6f307b9d1cf" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DEFAULTPATH "logfiles" </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="appConfig_8h-source.html#l00008">8</a> of file <a class="el" href="appConfig_8h-source.html">appConfig.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="3db4dba8d56385b62759b89c98cae447"></a><!-- doxytag: member="appConfig.h::DEFAULTPORT" ref="3db4dba8d56385b62759b89c98cae447" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define DEFAULTPORT 8801 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="appConfig_8h-source.html#l00007">7</a> of file <a class="el" href="appConfig_8h-source.html">appConfig.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="9a98b2d0f973e357020c1274ec5b56c0"></a><!-- doxytag: member="appConfig.h::LOGNAMEPATTERN" ref="9a98b2d0f973e357020c1274ec5b56c0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOGNAMEPATTERN "log-%Y-%m-%d_%Hh" </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="appConfig_8h-source.html#l00009">9</a> of file <a class="el" href="appConfig_8h-source.html">appConfig.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="acc3ee1a7f283f8ef65cea31f4436a95"></a><!-- doxytag: member="appConfig.h::MAX" ref="acc3ee1a7f283f8ef65cea31f4436a95" args="(x, y)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MAX </td>
<td>(</td>
<td class="paramtype">x, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">y </td>
<td class="paramname"> </td>
<td> ) </td>
<td> ((x) > (y) ? (x) : (y))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="appConfig_8h-source.html#l00012">12</a> of file <a class="el" href="appConfig_8h-source.html">appConfig.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="ce5c08f66edfc6ae44edaeef6b6101b6"></a><!-- doxytag: member="appConfig.h::MAXCLIENTS" ref="ce5c08f66edfc6ae44edaeef6b6101b6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MAXCLIENTS 1000 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="appConfig_8h-source.html#l00005">5</a> of file <a class="el" href="appConfig_8h-source.html">appConfig.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="f77ed3e65a7b1a9341603d152a1404df"></a><!-- doxytag: member="appConfig.h::MAXPENDING" ref="f77ed3e65a7b1a9341603d152a1404df" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MAXPENDING 10 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="appConfig_8h-source.html#l00004">4</a> of file <a class="el" href="appConfig_8h-source.html">appConfig.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="74e75242132eaabbc1c512488a135926"></a><!-- doxytag: member="appConfig.h::MIN" ref="74e75242132eaabbc1c512488a135926" args="(x, y)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MIN </td>
<td>(</td>
<td class="paramtype">x, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">y </td>
<td class="paramname"> </td>
<td> ) </td>
<td> ((x) < (y) ? (x) : (y))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="appConfig_8h-source.html#l00015">15</a> of file <a class="el" href="appConfig_8h-source.html">appConfig.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="a0534241791f23ec8098503582406166"></a><!-- doxytag: member="appConfig.h::READBUFSIZE" ref="a0534241791f23ec8098503582406166" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define READBUFSIZE 2048 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="appConfig_8h-source.html#l00006">6</a> of file <a class="el" href="appConfig_8h-source.html">appConfig.h</a>.</p>
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="3755d793d10d6e5793ed5086a0b22964"></a><!-- doxytag: member="appConfig.h::handleCmdLine" ref="3755d793d10d6e5793ed5086a0b22964" args="(tAppConfig *config, int argc, char *argv[])" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int handleCmdLine </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structtAppConfig.html">tAppConfig</a> * </td>
<td class="paramname"> <em>config</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>argc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char * </td>
<td class="paramname"> <em>argv</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="handleCmdLine_8c-source.html#l00010">10</a> of file <a class="el" href="handleCmdLine_8c-source.html">handleCmdLine.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>