httpRequest_8h.html
18.7 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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
<!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/httpRequest.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/httpRequest.h File Reference</h1>
<p>
<a href="httpRequest_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="structtRequestLine.html">tRequestLine</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structtHttpHeaderLine.html">tHttpHeaderLine</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structtHttpHeader.html">tHttpHeader</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structtHttpRequest.html">tHttpRequest</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="httpRequest_8h.html#bcd1460716fe0d7d7bbfab4d8df7431b">HTTP_REQ_OPTIONS</a> 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#783bb94ef6eee3041b08244fcf43304f">HTTP_REQ_GET</a> 1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#99dd5b1289103eee62ebd66082f03e98">HTTP_REQ_HEAD</a> 2</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#b113eaf10da1f4291202f81bea630f5b">HTTP_REQ_POST</a> 3</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#af09691edc99a286c60427e1f390d7bd">HTTP_REQ_PUT</a> 4</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#2894c25df3d2e54885cc414aa9731811">HTTP_REQ_DELETE</a> 5</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#21cd537dafe8cd458fbb1eeb1208f4a8">HTTP_REQ_TRACE</a> 6</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#5e49980e0d7d4080e2cececd00796981">HTTP_REQ_CONNECT</a> 7</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="httpRequest_8h.html#59d765731e7d39f5583ef175950becb1">getHttpRequest</a> (char **, unsigned int *, <a class="el" href="structtHttpRequest.html">tHttpRequest</a> *)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#1bba1865657c64c0e1971a45ee6117ab">freeHttpRequest</a> (<a class="el" href="structtHttpRequest.html">tHttpRequest</a> *)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#b55d3458cc9e50ef2a22731d910c6385">freeHttpHeader</a> (<a class="el" href="structtHttpHeader.html">tHttpHeader</a> *)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#99eb3b2c1e06ee773fd3bb7da7e98ece">httpHeaderIsStarted</a> (<a class="el" href="structtHttpHeader.html">tHttpHeader</a> *)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#91e1c62216e1370b68a87ffc8b120f0d">httpHeaderIsComplete</a> (<a class="el" href="structtHttpHeader.html">tHttpHeader</a> *)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#07afde622816238d4424591269f5616a">httpHeaderGet</a> (char **, unsigned int *, <a class="el" href="structtHttpHeader.html">tHttpHeader</a> *)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#b7ea84417c64cc894ef20f3fad58832f">httpHeaderParseRequestLine</a> (<a class="el" href="structtHttpHeader.html">tHttpHeader</a> *, const char *, unsigned int)</td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="httpRequest_8h.html#e7110ef069c94769a78296dc38ab86ca">httpRequest</a> [8][8]</td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="5e49980e0d7d4080e2cececd00796981"></a><!-- doxytag: member="httpRequest.h::HTTP_REQ_CONNECT" ref="5e49980e0d7d4080e2cececd00796981" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define HTTP_REQ_CONNECT 7 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="httpRequest_8h-source.html#l00011">11</a> of file <a class="el" href="httpRequest_8h-source.html">httpRequest.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="2894c25df3d2e54885cc414aa9731811"></a><!-- doxytag: member="httpRequest.h::HTTP_REQ_DELETE" ref="2894c25df3d2e54885cc414aa9731811" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define HTTP_REQ_DELETE 5 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="httpRequest_8h-source.html#l00009">9</a> of file <a class="el" href="httpRequest_8h-source.html">httpRequest.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="783bb94ef6eee3041b08244fcf43304f"></a><!-- doxytag: member="httpRequest.h::HTTP_REQ_GET" ref="783bb94ef6eee3041b08244fcf43304f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define HTTP_REQ_GET 1 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="httpRequest_8h-source.html#l00005">5</a> of file <a class="el" href="httpRequest_8h-source.html">httpRequest.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="99dd5b1289103eee62ebd66082f03e98"></a><!-- doxytag: member="httpRequest.h::HTTP_REQ_HEAD" ref="99dd5b1289103eee62ebd66082f03e98" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define HTTP_REQ_HEAD 2 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="httpRequest_8h-source.html#l00006">6</a> of file <a class="el" href="httpRequest_8h-source.html">httpRequest.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="bcd1460716fe0d7d7bbfab4d8df7431b"></a><!-- doxytag: member="httpRequest.h::HTTP_REQ_OPTIONS" ref="bcd1460716fe0d7d7bbfab4d8df7431b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define HTTP_REQ_OPTIONS 0 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="httpRequest_8h-source.html#l00004">4</a> of file <a class="el" href="httpRequest_8h-source.html">httpRequest.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="b113eaf10da1f4291202f81bea630f5b"></a><!-- doxytag: member="httpRequest.h::HTTP_REQ_POST" ref="b113eaf10da1f4291202f81bea630f5b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define HTTP_REQ_POST 3 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="httpRequest_8h-source.html#l00007">7</a> of file <a class="el" href="httpRequest_8h-source.html">httpRequest.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="af09691edc99a286c60427e1f390d7bd"></a><!-- doxytag: member="httpRequest.h::HTTP_REQ_PUT" ref="af09691edc99a286c60427e1f390d7bd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define HTTP_REQ_PUT 4 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="httpRequest_8h-source.html#l00008">8</a> of file <a class="el" href="httpRequest_8h-source.html">httpRequest.h</a>.</p>
</div>
</div><p>
<a class="anchor" name="21cd537dafe8cd458fbb1eeb1208f4a8"></a><!-- doxytag: member="httpRequest.h::HTTP_REQ_TRACE" ref="21cd537dafe8cd458fbb1eeb1208f4a8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define HTTP_REQ_TRACE 6 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="httpRequest_8h-source.html#l00010">10</a> of file <a class="el" href="httpRequest_8h-source.html">httpRequest.h</a>.</p>
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="b55d3458cc9e50ef2a22731d910c6385"></a><!-- doxytag: member="httpRequest.h::freeHttpHeader" ref="b55d3458cc9e50ef2a22731d910c6385" args="(tHttpHeader *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void freeHttpHeader </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structtHttpHeader.html">tHttpHeader</a> * </td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="httpRequest_8c-source.html#l00187">187</a> of file <a class="el" href="httpRequest_8c-source.html">httpRequest.c</a>.</p>
</div>
</div><p>
<a class="anchor" name="1bba1865657c64c0e1971a45ee6117ab"></a><!-- doxytag: member="httpRequest.h::freeHttpRequest" ref="1bba1865657c64c0e1971a45ee6117ab" args="(tHttpRequest *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void freeHttpRequest </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structtHttpRequest.html">tHttpRequest</a> * </td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="httpRequest_8c-source.html#l00217">217</a> of file <a class="el" href="httpRequest_8c-source.html">httpRequest.c</a>.</p>
</div>
</div><p>
<a class="anchor" name="59d765731e7d39f5583ef175950becb1"></a><!-- doxytag: member="httpRequest.h::getHttpRequest" ref="59d765731e7d39f5583ef175950becb1" args="(char **, unsigned int *, tHttpRequest *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int getHttpRequest </td>
<td>(</td>
<td class="paramtype">char ** </td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int * </td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structtHttpRequest.html">tHttpRequest</a> * </td>
<td class="paramname"></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="httpRequest_8c-source.html#l00162">162</a> of file <a class="el" href="httpRequest_8c-source.html">httpRequest.c</a>.</p>
</div>
</div><p>
<a class="anchor" name="07afde622816238d4424591269f5616a"></a><!-- doxytag: member="httpRequest.h::httpHeaderGet" ref="07afde622816238d4424591269f5616a" args="(char **, unsigned int *, tHttpHeader *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int httpHeaderGet </td>
<td>(</td>
<td class="paramtype">char ** </td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int * </td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structtHttpHeader.html">tHttpHeader</a> * </td>
<td class="paramname"></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="httpRequest_8c-source.html#l00085">85</a> of file <a class="el" href="httpRequest_8c-source.html">httpRequest.c</a>.</p>
</div>
</div><p>
<a class="anchor" name="91e1c62216e1370b68a87ffc8b120f0d"></a><!-- doxytag: member="httpRequest.h::httpHeaderIsComplete" ref="91e1c62216e1370b68a87ffc8b120f0d" args="(tHttpHeader *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int httpHeaderIsComplete </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structtHttpHeader.html">tHttpHeader</a> * </td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="httpRequest_8c-source.html#l00052">52</a> of file <a class="el" href="httpRequest_8c-source.html">httpRequest.c</a>.</p>
</div>
</div><p>
<a class="anchor" name="99eb3b2c1e06ee773fd3bb7da7e98ece"></a><!-- doxytag: member="httpRequest.h::httpHeaderIsStarted" ref="99eb3b2c1e06ee773fd3bb7da7e98ece" args="(tHttpHeader *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char httpHeaderIsStarted </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structtHttpHeader.html">tHttpHeader</a> * </td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="httpRequest_8c-source.html#l00062">62</a> of file <a class="el" href="httpRequest_8c-source.html">httpRequest.c</a>.</p>
</div>
</div><p>
<a class="anchor" name="b7ea84417c64cc894ef20f3fad58832f"></a><!-- doxytag: member="httpRequest.h::httpHeaderParseRequestLine" ref="b7ea84417c64cc894ef20f3fad58832f" args="(tHttpHeader *, const char *, unsigned int)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void httpHeaderParseRequestLine </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structtHttpHeader.html">tHttpHeader</a> * </td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned </td>
<td class="paramname"> <em>int</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="httpRequest_8c-source.html#l00047">47</a> of file <a class="el" href="httpRequest_8c-source.html">httpRequest.c</a>.</p>
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="e7110ef069c94769a78296dc38ab86ca"></a><!-- doxytag: member="httpRequest.h::httpRequest" ref="e7110ef069c94769a78296dc38ab86ca" args="[8][8]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char <a class="el" href="httpRequest_8c.html#e7110ef069c94769a78296dc38ab86ca">httpRequest</a>[8][8] </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>Definition at line <a class="el" href="httpRequest_8c-source.html#l00013">13</a> of file <a class="el" href="httpRequest_8c-source.html">httpRequest.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>