-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhttp_8h_source.html
768 lines (766 loc) · 148 KB
/
http_8h_source.html
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
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libevent: event2/http.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libevent
 <span id="projectnumber">2.2.1</span>
</div>
<div id="projectbrief">Event notification library</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_db160b4728e6067cf5f9cc14ec42c79d.html">event2</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">http.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="http_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2000-2007 Niels Provos <[email protected]></span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * modification, are permitted provided that the following conditions</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * are met:</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * 1. Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * notice, this list of conditions and the following disclaimer in the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * documentation and/or other materials provided with the distribution.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * 3. The name of the author may not be used to endorse or promote products</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * derived from this software without specific prior written permission.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#ifndef EVENT2_HTTP_H_INCLUDED_</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#define EVENT2_HTTP_H_INCLUDED_</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">/* For int types. */</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <<a class="code" href="util_8h.html">event2/util.h</a>></span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <event2/visibility.h></span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">/* In case we haven't included the right headers yet. */</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">struct </span><a class="code" href="structevbuffer.html">evbuffer</a>;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">struct </span><a class="code" href="structevent__base.html">event_base</a>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">struct </span><a class="code" href="structbufferevent.html">bufferevent</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">struct </span>evhttp_connection;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment">/* Response codes */</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="http_8h.html#a3c520c5e65c710a1c7bbb1fa79fd3a9d"> 56</a></span> <span class="preprocessor">#define HTTP_CONTINUE 100 </span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="http_8h.html#aa0a6a40f95575cb08438f396f0711017"> 57</a></span> <span class="preprocessor">#define HTTP_SWITCH_PROTOCOLS 101 </span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="http_8h.html#aad76b47755281ea8ba65edc6683be8f9"> 58</a></span> <span class="preprocessor">#define HTTP_PROCESSING 102 </span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="http_8h.html#acebc611f41e394b875f6283a4840d9d9"> 59</a></span> <span class="preprocessor">#define HTTP_EARLYHINTS 103 </span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="http_8h.html#a02e6d59009dee759528ec81fc9a8eeff"> 60</a></span> <span class="preprocessor">#define HTTP_OK 200 </span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="http_8h.html#ac19a79fb4cf575d20efd0633c1669ed9"> 61</a></span> <span class="preprocessor">#define HTTP_CREATED 201 </span></div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="http_8h.html#ad53204f337b45ad77e9a746e434d1817"> 62</a></span> <span class="preprocessor">#define HTTP_ACCEPTED 202 </span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="http_8h.html#ab9789b35d84095b35f7ab1d9913fff4e"> 63</a></span> <span class="preprocessor">#define HTTP_NONAUTHORITATIVE 203 </span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="http_8h.html#ac5e3a483119375a05d199c30709f2b8e"> 64</a></span> <span class="preprocessor">#define HTTP_NOCONTENT 204 </span></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="http_8h.html#ac6ffbb7b69889f1eee0d413576c609a9"> 65</a></span> <span class="preprocessor">#define HTTP_MOVEPERM 301 </span></div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="http_8h.html#a7d2a7341ba2af15babe8c25df67e563f"> 66</a></span> <span class="preprocessor">#define HTTP_MOVETEMP 302 </span></div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="http_8h.html#a3112d58297965db46a04fe288bf1d0da"> 67</a></span> <span class="preprocessor">#define HTTP_NOTMODIFIED 304 </span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="http_8h.html#af9f070802de32cd2f820059fc42cbf39"> 68</a></span> <span class="preprocessor">#define HTTP_BADREQUEST 400 </span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="http_8h.html#ac4cfa4b7a737abff1264ddba3752a2ad"> 69</a></span> <span class="preprocessor">#define HTTP_UNAUTHORIZED 401 </span></div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="http_8h.html#aaae52dca74d8f240798a3daf8396bfe5"> 70</a></span> <span class="preprocessor">#define HTTP_PAYMENTREQUIRED 402 </span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="http_8h.html#a92646f876056a1e5013e0050496dc04d"> 71</a></span> <span class="preprocessor">#define HTTP_FORBIDDEN 403 </span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="http_8h.html#a1f5b9c02b018640c890e5f27207fa6c0"> 72</a></span> <span class="preprocessor">#define HTTP_NOTFOUND 404 </span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="http_8h.html#a8d93bc2b08ddc194c213682c4726b0e6"> 73</a></span> <span class="preprocessor">#define HTTP_BADMETHOD 405 </span></div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="http_8h.html#a64236d9bad703199d84a08bee90e00f0"> 74</a></span> <span class="preprocessor">#define HTTP_ENTITYTOOLARGE 413 </span></div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="http_8h.html#a4eac9f52d3d8de9b3deadaec6ad0bee9"> 75</a></span> <span class="preprocessor">#define HTTP_EXPECTATIONFAILED 417 </span></div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="http_8h.html#a15eac402986428a8125d364b7ae569b1"> 76</a></span> <span class="preprocessor">#define HTTP_INTERNAL 500 </span></div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="http_8h.html#a9759dd4ad026a688142afb7b4e4542cc"> 77</a></span> <span class="preprocessor">#define HTTP_NOTIMPLEMENTED 501 </span></div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="http_8h.html#a746f663029189ec16d55d0d9546ac89d"> 78</a></span> <span class="preprocessor">#define HTTP_BADGATEWAY 502 </span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="http_8h.html#a5fd6829fe2bb38dd13288f11dcb2025f"> 79</a></span> <span class="preprocessor">#define HTTP_SERVUNAVAIL 503 </span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="preprocessor">struct evhttp;</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="keyword">struct </span>evhttp_request;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keyword">struct </span>evkeyvalq;</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="keyword">struct </span>evhttp_bound_socket;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="keyword">struct </span>evconnlistener;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="keyword">struct </span>evdns_base;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="keyword">struct </span><a class="code" href="structevhttp__ext__method.html">evhttp_ext_method</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">struct </span>evhttp *<a class="code" href="http_8h.html#a5baa37a340f5be4b2c6062327e0a84e1">evhttp_new</a>(<span class="keyword">struct</span> <a class="code" href="structevent__base.html">event_base</a> *base);</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a3431520b3bd31e957e93e519b2fe56a5">evhttp_bind_socket</a>(<span class="keyword">struct</span> evhttp *http, <span class="keyword">const</span> <span class="keywordtype">char</span> *address, ev_uint16_t port);</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  </div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="keyword">struct </span>evhttp_bound_socket *<a class="code" href="http_8h.html#a5cb57564c8af123b17e8330d2f104a1d">evhttp_bind_socket_with_handle</a>(<span class="keyword">struct</span> evhttp *http, <span class="keyword">const</span> <span class="keywordtype">char</span> *address, ev_uint16_t port);</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  </div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#ae8599595a7617e5e3c213e45c10d22a0">evhttp_accept_socket</a>(<span class="keyword">struct</span> evhttp *http, <a class="code" href="util_8h.html#a7ef0023565082a65020f6e56be59fd0b">evutil_socket_t</a> fd);</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="keyword">struct </span>evhttp_bound_socket *<a class="code" href="http_8h.html#a68381a3b8dbab796bdcf44ef64a45a73">evhttp_accept_socket_with_handle</a>(<span class="keyword">struct</span> evhttp *http, <a class="code" href="util_8h.html#a7ef0023565082a65020f6e56be59fd0b">evutil_socket_t</a> fd);</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  </div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="keyword">struct </span>evhttp_bound_socket *<a class="code" href="http_8h.html#a18d321f8f459b7d6e1826b3e8c53c921">evhttp_bind_listener</a>(<span class="keyword">struct</span> evhttp *http, <span class="keyword">struct</span> evconnlistener *listener);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  </div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="keyword">struct </span>evconnlistener *<a class="code" href="http_8h.html#a4216e1d29237ab9511eaf55433293e8b">evhttp_bound_socket_get_listener</a>(<span class="keyword">struct</span> evhttp_bound_socket *bound);</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  </div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="comment">/*</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="comment"> * Like evhttp_set_bevcb.</span></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="comment"> * If cb returns a non-NULL bufferevent, * the callback supplied through</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="comment"> * evhttp_set_bevcb isn't used.</span></div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="keywordtype">void</span> evhttp_bound_set_bevcb(<span class="keyword">struct</span> evhttp_bound_socket *bound, <span class="keyword">struct</span> <a class="code" href="structbufferevent.html">bufferevent</a>* (*cb)(<span class="keyword">struct</span> <a class="code" href="structevent__base.html">event_base</a> *, <span class="keywordtype">void</span> *), <span class="keywordtype">void</span> *cbarg);</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  </div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> evhttp_bound_socket_foreach_fn(<span class="keyword">struct</span> evhttp_bound_socket *, <span class="keywordtype">void</span> *);</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#ad15b347cd339ce5b03c806c0f7adaecf">evhttp_foreach_bound_socket</a>(<span class="keyword">struct</span> evhttp *http, evhttp_bound_socket_foreach_fn *<span class="keyword">function</span>, <span class="keywordtype">void</span> *argument);</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  </div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a565c02c3469c28c1c043cb4a1e3b242c">evhttp_del_accept_socket</a>(<span class="keyword">struct</span> evhttp *http, <span class="keyword">struct</span> evhttp_bound_socket *bound_socket);</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  </div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <a class="code" href="util_8h.html#a7ef0023565082a65020f6e56be59fd0b">evutil_socket_t</a> <a class="code" href="http_8h.html#a586eeb946ec397fec8094c25b7d1d9e4">evhttp_bound_socket_get_fd</a>(<span class="keyword">struct</span> evhttp_bound_socket *bound_socket);</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  </div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a12b2e61a0088e3707198876ae1e61f3f">evhttp_free</a>(<span class="keyword">struct</span> evhttp* http);</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  </div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a1d118ec9cf879e60df5e800a53fa7be5">evhttp_set_max_headers_size</a>(<span class="keyword">struct</span> evhttp* http, ev_ssize_t max_headers_size);</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a4ba3aa63bccc4f2ec3c18d4eb26be851">evhttp_set_max_body_size</a>(<span class="keyword">struct</span> evhttp* http, ev_ssize_t max_body_size);</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  </div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a9ee088f799a4f8ade368f0e18817d432">evhttp_set_max_connections</a>(<span class="keyword">struct</span> evhttp* http, <span class="keywordtype">int</span> max_connections);</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  </div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#acdc4276e80df2a99d64944598fc946ee">evhttp_get_connection_count</a>(<span class="keyword">struct</span> evhttp* http);</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  </div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a53cbc32c73ae066cf6140698a2fca532">evhttp_set_default_content_type</a>(<span class="keyword">struct</span> evhttp *http,</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *content_type);</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  </div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a5682dc2fe3f18dcbffd9a55bcebac9a0">evhttp_set_allowed_methods</a>(<span class="keyword">struct</span> evhttp* http, ev_uint32_t methods);</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  </div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="keyword">typedef</span> int (*evhttp_ext_method_cb)(<span class="keyword">struct </span><a class="code" href="structevhttp__ext__method.html">evhttp_ext_method</a> *);</div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a171f175f66ceb0bd7ca93b32229a54c5">evhttp_set_ext_method_cmp</a>(<span class="keyword">struct</span> evhttp *http, evhttp_ext_method_cb cmp);</div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  </div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#af1b22fdf5ea2c6335ccbc96fb930774e">evhttp_set_cb</a>(<span class="keyword">struct</span> evhttp *http, <span class="keyword">const</span> <span class="keywordtype">char</span> *path,</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <span class="keywordtype">void</span> (*cb)(<span class="keyword">struct</span> evhttp_request *, <span class="keywordtype">void</span> *), <span class="keywordtype">void</span> *cb_arg);</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  </div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#ad7afbe5f5ce3dd8aa00496c859847947">evhttp_del_cb</a>(<span class="keyword">struct</span> evhttp *, <span class="keyword">const</span> <span class="keywordtype">char</span> *);</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  </div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a52e68315974c684709c373fe7c46bec8">evhttp_set_gencb</a>(<span class="keyword">struct</span> evhttp *http,</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="keywordtype">void</span> (*cb)(<span class="keyword">struct</span> evhttp_request *, <span class="keywordtype">void</span> *), <span class="keywordtype">void</span> *arg);</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  </div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#ae4accb83b76a63db8b6fe5e765df1411">evhttp_set_bevcb</a>(<span class="keyword">struct</span> evhttp *http,</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <span class="keyword">struct</span> <a class="code" href="structbufferevent.html">bufferevent</a> *(*cb)(<span class="keyword">struct</span> <a class="code" href="structevent__base.html">event_base</a> *, <span class="keywordtype">void</span> *), <span class="keywordtype">void</span> *arg);</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  </div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  </div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a5d57616424673f65eee38f0dc8293373">evhttp_set_newreqcb</a>(<span class="keyword">struct</span> evhttp *http,</div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  <span class="keywordtype">int</span> (*cb)(<span class="keyword">struct</span> evhttp_request*, <span class="keywordtype">void</span> *), <span class="keywordtype">void</span> *arg);</div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  </div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a7ff8d8b085885abf2037f0b4d0cc8c39">evhttp_set_errorcb</a>(<span class="keyword">struct</span> evhttp *http,</div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  <span class="keywordtype">int</span> (*cb)(<span class="keyword">struct</span> evhttp_request *req, <span class="keyword">struct</span> <a class="code" href="structevbuffer.html">evbuffer</a> *buffer, <span class="keywordtype">int</span> error, <span class="keyword">const</span> <span class="keywordtype">char</span> *reason, <span class="keywordtype">void</span> *cbarg),</div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  <span class="keywordtype">void</span> *cbarg);</div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  </div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#ad89bdd6053de1ff73fab1b2bb3c3182f">evhttp_add_virtual_host</a>(<span class="keyword">struct</span> evhttp* http, <span class="keyword">const</span> <span class="keywordtype">char</span> *pattern,</div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <span class="keyword">struct</span> evhttp* vhost);</div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  </div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a68ec9dd6e33b7505a1ccde9e3d55b18a">evhttp_remove_virtual_host</a>(<span class="keyword">struct</span> evhttp* http, <span class="keyword">struct</span> evhttp* vhost);</div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  </div>
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#afa5936add0f808199f617be4aa42bbd7">evhttp_add_server_alias</a>(<span class="keyword">struct</span> evhttp *http, <span class="keyword">const</span> <span class="keywordtype">char</span> *alias);</div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  </div>
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a6b2b581793f361f68fd21cff110aa262">evhttp_remove_server_alias</a>(<span class="keyword">struct</span> evhttp *http, <span class="keyword">const</span> <span class="keywordtype">char</span> *alias);</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  </div>
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a5b4a6022933fb806d621a398ceec8eb2">evhttp_set_timeout</a>(<span class="keyword">struct</span> evhttp *http, <span class="keywordtype">int</span> timeout);</div>
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  </div>
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a3ea68d1a73ae1a09c6398e264b357407">evhttp_set_timeout_tv</a>(<span class="keyword">struct</span> evhttp *http, <span class="keyword">const</span> <span class="keyword">struct</span> timeval* tv);</div>
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  </div>
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#ae4efab329925d632a9e94a3065b8d17f">evhttp_set_read_timeout_tv</a>(<span class="keyword">struct</span> evhttp *http, <span class="keyword">const</span> <span class="keyword">struct</span> timeval* tv);</div>
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  </div>
<div class="line"><a name="l00502"></a><span class="lineno"> 502</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00503"></a><span class="lineno"> 503</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#ae0916087937baf9c4e99e19301ae59f8">evhttp_set_write_timeout_tv</a>(<span class="keyword">struct</span> evhttp *http, <span class="keyword">const</span> <span class="keyword">struct</span> timeval* tv);</div>
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  </div>
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span> <span class="comment">/* Read all the clients body, and only after this respond with an error if the</span></div>
<div class="line"><a name="l00506"></a><span class="lineno"> 506</span> <span class="comment"> * clients body exceed max_body_size */</span></div>
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span> <span class="preprocessor">#define EVHTTP_SERVER_LINGERING_CLOSE 0x0001</span></div>
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span>  </div>
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#ab531e7d4962724efa3401d11edea1150">evhttp_set_flags</a>(<span class="keyword">struct</span> evhttp *http, <span class="keywordtype">int</span> flags);</div>
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span>  </div>
<div class="line"><a name="l00518"></a><span class="lineno"> 518</span> <span class="comment">/* Request/Response functionality */</span></div>
<div class="line"><a name="l00519"></a><span class="lineno"> 519</span>  </div>
<div class="line"><a name="l00528"></a><span class="lineno"> 528</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00529"></a><span class="lineno"> 529</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a47d90ffdd80edc13ab4197e2c21a1403">evhttp_send_error</a>(<span class="keyword">struct</span> evhttp_request *req, <span class="keywordtype">int</span> error,</div>
<div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *reason);</div>
<div class="line"><a name="l00531"></a><span class="lineno"> 531</span>  </div>
<div class="line"><a name="l00545"></a><span class="lineno"> 545</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00546"></a><span class="lineno"> 546</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a0a77d07263e20733a7562dcd576ad721">evhttp_send_reply</a>(<span class="keyword">struct</span> evhttp_request *req, <span class="keywordtype">int</span> code,</div>
<div class="line"><a name="l00547"></a><span class="lineno"> 547</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *reason, <span class="keyword">struct</span> <a class="code" href="structevbuffer.html">evbuffer</a> *databuf);</div>
<div class="line"><a name="l00548"></a><span class="lineno"> 548</span>  </div>
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span> <span class="comment">/* Low-level response interface, for streaming/chunked replies */</span></div>
<div class="line"><a name="l00550"></a><span class="lineno"> 550</span>  </div>
<div class="line"><a name="l00565"></a><span class="lineno"> 565</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00566"></a><span class="lineno"> 566</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a730f35086068b559b2bd324d07591283">evhttp_send_reply_start</a>(<span class="keyword">struct</span> evhttp_request *req, <span class="keywordtype">int</span> code,</div>
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *reason);</div>
<div class="line"><a name="l00568"></a><span class="lineno"> 568</span>  </div>
<div class="line"><a name="l00580"></a><span class="lineno"> 580</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00581"></a><span class="lineno"> 581</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a380c78fba2c4d5efe22191673c4ed1a7">evhttp_send_reply_chunk</a>(<span class="keyword">struct</span> evhttp_request *req,</div>
<div class="line"><a name="l00582"></a><span class="lineno"> 582</span>  <span class="keyword">struct</span> <a class="code" href="structevbuffer.html">evbuffer</a> *databuf);</div>
<div class="line"><a name="l00583"></a><span class="lineno"> 583</span>  </div>
<div class="line"><a name="l00597"></a><span class="lineno"> 597</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00598"></a><span class="lineno"> 598</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a694a80962c9dd37014b4bd61f6a04275">evhttp_send_reply_chunk_with_cb</a>(<span class="keyword">struct</span> evhttp_request *req, <span class="keyword">struct</span> <a class="code" href="structevbuffer.html">evbuffer</a> *databuf,</div>
<div class="line"><a name="l00599"></a><span class="lineno"> 599</span>  <span class="keywordtype">void</span> (*cb)(<span class="keyword">struct</span> evhttp_connection *, <span class="keywordtype">void</span> *), <span class="keywordtype">void</span> *arg);</div>
<div class="line"><a name="l00600"></a><span class="lineno"> 600</span>  </div>
<div class="line"><a name="l00606"></a><span class="lineno"> 606</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00607"></a><span class="lineno"> 607</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a014b3c0c4f85a2c7bc7f4092aaf19884">evhttp_send_reply_end</a>(<span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l00608"></a><span class="lineno"> 608</span>  </div>
<div class="line"><a name="l00609"></a><span class="lineno"> 609</span> <span class="comment">/*</span></div>
<div class="line"><a name="l00610"></a><span class="lineno"> 610</span> <span class="comment"> * Interfaces for making requests</span></div>
<div class="line"><a name="l00611"></a><span class="lineno"> 611</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00612"></a><span class="lineno"> 612</span>  </div>
<div class="line"><a name="l00623"></a><span class="lineno"><a class="line" href="http_8h.html#ac858319d667267f9fc848c2bb6931aa3"> 623</a></span> <span class="keyword">enum</span> <a class="code" href="http_8h.html#ac858319d667267f9fc848c2bb6931aa3">evhttp_cmd_type</a> {</div>
<div class="line"><a name="l00624"></a><span class="lineno"> 624</span>  EVHTTP_REQ_GET = 1 << 0,</div>
<div class="line"><a name="l00625"></a><span class="lineno"> 625</span>  EVHTTP_REQ_POST = 1 << 1,</div>
<div class="line"><a name="l00626"></a><span class="lineno"> 626</span>  EVHTTP_REQ_HEAD = 1 << 2,</div>
<div class="line"><a name="l00627"></a><span class="lineno"> 627</span>  EVHTTP_REQ_PUT = 1 << 3,</div>
<div class="line"><a name="l00628"></a><span class="lineno"> 628</span>  EVHTTP_REQ_DELETE = 1 << 4,</div>
<div class="line"><a name="l00629"></a><span class="lineno"> 629</span>  EVHTTP_REQ_OPTIONS = 1 << 5,</div>
<div class="line"><a name="l00630"></a><span class="lineno"> 630</span>  EVHTTP_REQ_TRACE = 1 << 6,</div>
<div class="line"><a name="l00631"></a><span class="lineno"> 631</span>  EVHTTP_REQ_CONNECT = 1 << 7,</div>
<div class="line"><a name="l00632"></a><span class="lineno"> 632</span>  EVHTTP_REQ_PATCH = 1 << 8,</div>
<div class="line"><a name="l00633"></a><span class="lineno"> 633</span>  EVHTTP_REQ_PROPFIND= 1 << 9,</div>
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span>  EVHTTP_REQ_PROPPATCH=1 << 10,</div>
<div class="line"><a name="l00635"></a><span class="lineno"> 635</span>  EVHTTP_REQ_MKCOL = 1 << 11,</div>
<div class="line"><a name="l00636"></a><span class="lineno"> 636</span>  EVHTTP_REQ_LOCK = 1 << 12,</div>
<div class="line"><a name="l00637"></a><span class="lineno"> 637</span>  EVHTTP_REQ_UNLOCK = 1 << 13,</div>
<div class="line"><a name="l00638"></a><span class="lineno"> 638</span>  EVHTTP_REQ_COPY = 1 << 14,</div>
<div class="line"><a name="l00639"></a><span class="lineno"> 639</span>  EVHTTP_REQ_MOVE = 1 << 15,</div>
<div class="line"><a name="l00640"></a><span class="lineno"> 640</span> };</div>
<div class="line"><a name="l00641"></a><span class="lineno"> 641</span>  </div>
<div class="line"><a name="l00642"></a><span class="lineno"> 642</span> <span class="preprocessor">#define EVHTTP_REQ_MAX EVHTTP_REQ_MOVE</span></div>
<div class="line"><a name="l00643"></a><span class="lineno"> 643</span>  </div>
<div class="line"><a name="l00651"></a><span class="lineno"><a class="line" href="structevhttp__ext__method.html"> 651</a></span> <span class="keyword">struct </span><a class="code" href="structevhttp__ext__method.html">evhttp_ext_method</a> {</div>
<div class="line"><a name="l00652"></a><span class="lineno"> 652</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *method;</div>
<div class="line"><a name="l00653"></a><span class="lineno"> 653</span>  ev_uint32_t type; <span class="comment">/* @see enum evhttp_cmd_type */</span></div>
<div class="line"><a name="l00654"></a><span class="lineno"> 654</span>  ev_uint16_t flags; <span class="comment">/* Available flag : EVHTTP_METHOD_HAS_BODY */</span></div>
<div class="line"><a name="l00655"></a><span class="lineno"> 655</span> };</div>
<div class="line"><a name="l00656"></a><span class="lineno"> 656</span>  </div>
<div class="line"><a name="l00657"></a><span class="lineno"> 657</span> <span class="preprocessor">#define EVHTTP_METHOD_HAS_BODY 0x0001</span></div>
<div class="line"><a name="l00658"></a><span class="lineno"> 658</span>  </div>
<div class="line"><a name="l00660"></a><span class="lineno"><a class="line" href="http_8h.html#a47ca41a942899d019bf59cf32301ae4f"> 660</a></span> <span class="keyword">enum</span> <a class="code" href="http_8h.html#a47ca41a942899d019bf59cf32301ae4f">evhttp_request_kind</a> { EVHTTP_REQUEST, EVHTTP_RESPONSE };</div>
<div class="line"><a name="l00661"></a><span class="lineno"> 661</span>  </div>
<div class="line"><a name="l00683"></a><span class="lineno"> 683</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00684"></a><span class="lineno"> 684</span> <span class="keyword">struct </span>evhttp_connection *<a class="code" href="http_8h.html#ab6a2f82ff7323986705ead089a2d3f58">evhttp_connection_base_bufferevent_new</a>(</div>
<div class="line"><a name="l00685"></a><span class="lineno"> 685</span>  <span class="keyword">struct</span> <a class="code" href="structevent__base.html">event_base</a> *base, <span class="keyword">struct</span> evdns_base *dnsbase, <span class="keyword">struct</span> <a class="code" href="structbufferevent.html">bufferevent</a>* bev, <span class="keyword">const</span> <span class="keywordtype">char</span> *address, ev_uint16_t port);</div>
<div class="line"><a name="l00686"></a><span class="lineno"> 686</span>  </div>
<div class="line"><a name="l00698"></a><span class="lineno"> 698</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00699"></a><span class="lineno"> 699</span> <span class="keyword">struct </span>evhttp_connection *<a class="code" href="http_8h.html#aab47f88b970a6a49c0297cd7314f154b">evhttp_connection_base_bufferevent_unix_new</a>(</div>
<div class="line"><a name="l00700"></a><span class="lineno"> 700</span>  <span class="keyword">struct</span> <a class="code" href="structevent__base.html">event_base</a> *base, <span class="keyword">struct</span> <a class="code" href="structbufferevent.html">bufferevent</a>* bev, <span class="keyword">const</span> <span class="keywordtype">char</span> *path);</div>
<div class="line"><a name="l00701"></a><span class="lineno"> 701</span>  </div>
<div class="line"><a name="l00716"></a><span class="lineno"> 716</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00717"></a><span class="lineno"> 717</span> <span class="keyword">struct </span>evhttp_connection *</div>
<div class="line"><a name="l00718"></a><span class="lineno"> 718</span> <a class="code" href="http_8h.html#a04e86dbadabfc36abc80fc317cb33242">evhttp_connection_base_bufferevent_reuse_new</a>(<span class="keyword">struct</span> <a class="code" href="structevent__base.html">event_base</a> *base, <span class="keyword">struct</span> evdns_base *dnsbase, <span class="keyword">struct</span> <a class="code" href="structbufferevent.html">bufferevent</a>* bev);</div>
<div class="line"><a name="l00719"></a><span class="lineno"> 719</span>  </div>
<div class="line"><a name="l00723"></a><span class="lineno"> 723</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00724"></a><span class="lineno"> 724</span> <span class="keyword">struct </span><a class="code" href="structbufferevent.html">bufferevent</a>* <a class="code" href="http_8h.html#a04ae09d5ca4ced488a0feb4b5145e95c">evhttp_connection_get_bufferevent</a>(<span class="keyword">struct</span> evhttp_connection *evcon);</div>
<div class="line"><a name="l00725"></a><span class="lineno"> 725</span>  </div>
<div class="line"><a name="l00729"></a><span class="lineno"> 729</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00730"></a><span class="lineno"> 730</span> <span class="keyword">struct </span>evhttp *<a class="code" href="http_8h.html#a4ab7ae144cf7aac8a512deb0dbaf9ac8">evhttp_connection_get_server</a>(<span class="keyword">struct</span> evhttp_connection *evcon);</div>
<div class="line"><a name="l00731"></a><span class="lineno"> 731</span>  </div>
<div class="line"><a name="l00737"></a><span class="lineno"> 737</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00738"></a><span class="lineno"> 738</span> <span class="keyword">struct </span>evhttp_request *<a class="code" href="http_8h.html#a66ffd177b52ffc59163c708d9b2f7275">evhttp_request_new</a>(</div>
<div class="line"><a name="l00739"></a><span class="lineno"> 739</span>  <span class="keywordtype">void</span> (*cb)(<span class="keyword">struct</span> evhttp_request *, <span class="keywordtype">void</span> *), <span class="keywordtype">void</span> *arg);</div>
<div class="line"><a name="l00740"></a><span class="lineno"> 740</span>  </div>
<div class="line"><a name="l00748"></a><span class="lineno"> 748</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00749"></a><span class="lineno"> 749</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#ace8a70a82c88bfc3856a1b2ae1c9a40b">evhttp_request_set_chunked_cb</a>(<span class="keyword">struct</span> evhttp_request *,</div>
<div class="line"><a name="l00750"></a><span class="lineno"> 750</span>  <span class="keywordtype">void</span> (*cb)(<span class="keyword">struct</span> evhttp_request *, <span class="keywordtype">void</span> *));</div>
<div class="line"><a name="l00751"></a><span class="lineno"> 751</span>  </div>
<div class="line"><a name="l00758"></a><span class="lineno"> 758</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00759"></a><span class="lineno"> 759</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a3d812da94907b41165dfa2efc09bd329">evhttp_request_set_header_cb</a>(<span class="keyword">struct</span> evhttp_request *,</div>
<div class="line"><a name="l00760"></a><span class="lineno"> 760</span>  <span class="keywordtype">int</span> (*cb)(<span class="keyword">struct</span> evhttp_request *, <span class="keywordtype">void</span> *));</div>
<div class="line"><a name="l00761"></a><span class="lineno"> 761</span>  </div>
<div class="line"><a name="l00767"></a><span class="lineno"><a class="line" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4a"> 767</a></span> <span class="keyword">enum</span> <a class="code" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4a">evhttp_request_error</a> {</div>
<div class="line"><a name="l00771"></a><span class="lineno"><a class="line" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aa52bd0bcf036c6577b3ea55c7c086880d"> 771</a></span>  <a class="code" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aa52bd0bcf036c6577b3ea55c7c086880d">EVREQ_HTTP_TIMEOUT</a>,</div>
<div class="line"><a name="l00775"></a><span class="lineno"><a class="line" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aac2922c6ca9cd576a7e722f18876676a8"> 775</a></span>  <a class="code" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aac2922c6ca9cd576a7e722f18876676a8">EVREQ_HTTP_EOF</a>,</div>
<div class="line"><a name="l00779"></a><span class="lineno"><a class="line" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aad755cf3b1ab25bdfede358b137e7d1e4"> 779</a></span>  <a class="code" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aad755cf3b1ab25bdfede358b137e7d1e4">EVREQ_HTTP_INVALID_HEADER</a>,</div>
<div class="line"><a name="l00783"></a><span class="lineno"><a class="line" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aa3bd6cb0d713a8ae9eaa3cf667a3edc9b"> 783</a></span>  <a class="code" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aa3bd6cb0d713a8ae9eaa3cf667a3edc9b">EVREQ_HTTP_BUFFER_ERROR</a>,</div>
<div class="line"><a name="l00787"></a><span class="lineno"><a class="line" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aaa07ee0241ac812c0e8bc1eabc5ac810d"> 787</a></span>  <a class="code" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aaa07ee0241ac812c0e8bc1eabc5ac810d">EVREQ_HTTP_REQUEST_CANCEL</a>,</div>
<div class="line"><a name="l00791"></a><span class="lineno"><a class="line" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aac26adda43a54b9011756e83e93b9b26b"> 791</a></span>  <a class="code" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aac26adda43a54b9011756e83e93b9b26b">EVREQ_HTTP_DATA_TOO_LONG</a></div>
<div class="line"><a name="l00792"></a><span class="lineno"> 792</span> };</div>
<div class="line"><a name="l00800"></a><span class="lineno"> 800</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00801"></a><span class="lineno"> 801</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a90bf87f4fdaea3ccf414bf8572b0228a">evhttp_request_set_error_cb</a>(<span class="keyword">struct</span> evhttp_request *,</div>
<div class="line"><a name="l00802"></a><span class="lineno"> 802</span>  <span class="keywordtype">void</span> (*)(<span class="keyword">enum</span> <a class="code" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4a">evhttp_request_error</a>, <span class="keywordtype">void</span> *));</div>
<div class="line"><a name="l00803"></a><span class="lineno"> 803</span>  </div>
<div class="line"><a name="l00816"></a><span class="lineno"> 816</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00817"></a><span class="lineno"> 817</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a83469b1ba147fc46a98d4f94cbd99a45">evhttp_request_set_on_complete_cb</a>(<span class="keyword">struct</span> evhttp_request *req,</div>
<div class="line"><a name="l00818"></a><span class="lineno"> 818</span>  <span class="keywordtype">void</span> (*cb)(<span class="keyword">struct</span> evhttp_request *, <span class="keywordtype">void</span> *), <span class="keywordtype">void</span> *cb_arg);</div>
<div class="line"><a name="l00819"></a><span class="lineno"> 819</span>  </div>
<div class="line"><a name="l00821"></a><span class="lineno"> 821</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00822"></a><span class="lineno"> 822</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a740defd3a36e3d609a362cee96508402">evhttp_request_free</a>(<span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l00823"></a><span class="lineno"> 823</span>  </div>
<div class="line"><a name="l00837"></a><span class="lineno"> 837</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00838"></a><span class="lineno"> 838</span> <span class="keyword">struct </span>evhttp_connection *<a class="code" href="http_8h.html#ae91224cfece07d01a029eb67e9053819">evhttp_connection_base_new</a>(</div>
<div class="line"><a name="l00839"></a><span class="lineno"> 839</span>  <span class="keyword">struct</span> <a class="code" href="structevent__base.html">event_base</a> *base, <span class="keyword">struct</span> evdns_base *dnsbase,</div>
<div class="line"><a name="l00840"></a><span class="lineno"> 840</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *address, ev_uint16_t port);</div>
<div class="line"><a name="l00841"></a><span class="lineno"> 841</span>  </div>
<div class="line"><a name="l00845"></a><span class="lineno"> 845</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00846"></a><span class="lineno"> 846</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a33eb3d75bb0ae4b4d19678f8f7d97636">evhttp_connection_set_family</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l00847"></a><span class="lineno"> 847</span>  <span class="keywordtype">int</span> family);</div>
<div class="line"><a name="l00848"></a><span class="lineno"> 848</span>  </div>
<div class="line"><a name="l00849"></a><span class="lineno"> 849</span> <span class="comment">/* reuse connection address on retry */</span></div>
<div class="line"><a name="l00850"></a><span class="lineno"> 850</span> <span class="preprocessor">#define EVHTTP_CON_REUSE_CONNECTED_ADDR 0x0008</span></div>
<div class="line"><a name="l00851"></a><span class="lineno"> 851</span> <span class="comment">/* Try to read error, since server may already send and close</span></div>
<div class="line"><a name="l00852"></a><span class="lineno"> 852</span> <span class="comment"> * connection, but if at that time we have some data to send then we</span></div>
<div class="line"><a name="l00853"></a><span class="lineno"> 853</span> <span class="comment"> * can send get EPIPE and fail, while we can read that HTTP error. */</span></div>
<div class="line"><a name="l00854"></a><span class="lineno"> 854</span> <span class="preprocessor">#define EVHTTP_CON_READ_ON_WRITE_ERROR 0x0010</span></div>
<div class="line"><a name="l00855"></a><span class="lineno"> 855</span> <span class="comment">/* @see EVHTTP_SERVER_LINGERING_CLOSE */</span></div>
<div class="line"><a name="l00856"></a><span class="lineno"> 856</span> <span class="preprocessor">#define EVHTTP_CON_LINGERING_CLOSE 0x0020</span></div>
<div class="line"><a name="l00857"></a><span class="lineno"> 857</span> <span class="comment">/* Padding for public flags, @see EVHTTP_CON_* in http-internal.h */</span></div>
<div class="line"><a name="l00858"></a><span class="lineno"> 858</span> <span class="preprocessor">#define EVHTTP_CON_PUBLIC_FLAGS_END 0x100000</span></div>
<div class="line"><a name="l00859"></a><span class="lineno"> 859</span>  </div>
<div class="line"><a name="l00866"></a><span class="lineno"> 866</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00867"></a><span class="lineno"> 867</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a081b1b41e26d62c5690bdd79109cdcfd">evhttp_connection_set_flags</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l00868"></a><span class="lineno"> 868</span>  <span class="keywordtype">int</span> flags);</div>
<div class="line"><a name="l00869"></a><span class="lineno"> 869</span>  </div>
<div class="line"><a name="l00875"></a><span class="lineno"> 875</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00876"></a><span class="lineno"> 876</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#aa1bd475e8be9f389586a6be9fbb242d4">evhttp_request_own</a>(<span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l00877"></a><span class="lineno"> 877</span>  </div>
<div class="line"><a name="l00879"></a><span class="lineno"> 879</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00880"></a><span class="lineno"> 880</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a980ad5b5a00bef46201b1683ef0e2ee1">evhttp_request_is_owned</a>(<span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l00881"></a><span class="lineno"> 881</span>  </div>
<div class="line"><a name="l00887"></a><span class="lineno"> 887</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00888"></a><span class="lineno"> 888</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a8b60b73ced5441bd9a2a4fe114db7db0">evhttp_connection_set_ext_method_cmp</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l00889"></a><span class="lineno"> 889</span>  evhttp_ext_method_cb cmp);</div>
<div class="line"><a name="l00890"></a><span class="lineno"> 890</span>  </div>
<div class="line"><a name="l00897"></a><span class="lineno"> 897</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00898"></a><span class="lineno"> 898</span> <span class="keyword">struct </span>evhttp_connection *<a class="code" href="http_8h.html#a2d816772ec078f8cf0367b4be63095b3">evhttp_request_get_connection</a>(<span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l00899"></a><span class="lineno"> 899</span>  </div>
<div class="line"><a name="l00903"></a><span class="lineno"> 903</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00904"></a><span class="lineno"> 904</span> <span class="keyword">struct </span><a class="code" href="structevent__base.html">event_base</a> *<a class="code" href="http_8h.html#a605b42ad45d6e804e1a21204b33a2e42">evhttp_connection_get_base</a>(<span class="keyword">struct</span> evhttp_connection *req);</div>
<div class="line"><a name="l00905"></a><span class="lineno"> 905</span>  </div>
<div class="line"><a name="l00906"></a><span class="lineno"> 906</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00907"></a><span class="lineno"> 907</span> <span class="keywordtype">void</span> evhttp_connection_set_max_headers_size(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l00908"></a><span class="lineno"> 908</span>  ev_ssize_t new_max_headers_size);</div>
<div class="line"><a name="l00909"></a><span class="lineno"> 909</span>  </div>
<div class="line"><a name="l00910"></a><span class="lineno"> 910</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00911"></a><span class="lineno"> 911</span> <span class="keywordtype">void</span> evhttp_connection_set_max_body_size(<span class="keyword">struct</span> evhttp_connection* evcon,</div>
<div class="line"><a name="l00912"></a><span class="lineno"> 912</span>  ev_ssize_t new_max_body_size);</div>
<div class="line"><a name="l00913"></a><span class="lineno"> 913</span>  </div>
<div class="line"><a name="l00915"></a><span class="lineno"> 915</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00916"></a><span class="lineno"> 916</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#aaf15e06932005ac0bc890b6fe72b19e3">evhttp_connection_free</a>(<span class="keyword">struct</span> evhttp_connection *evcon);</div>
<div class="line"><a name="l00917"></a><span class="lineno"> 917</span>  </div>
<div class="line"><a name="l00923"></a><span class="lineno"> 923</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00924"></a><span class="lineno"> 924</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#af33ddcfb93380ab98ac0f75426480824">evhttp_connection_free_on_completion</a>(<span class="keyword">struct</span> evhttp_connection *evcon);</div>
<div class="line"><a name="l00925"></a><span class="lineno"> 925</span>  </div>
<div class="line"><a name="l00931"></a><span class="lineno"> 931</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00932"></a><span class="lineno"> 932</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a1125aa44cce8ee1faf9c0bdfc6e815c8">evhttp_connection_set_local_address</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l00933"></a><span class="lineno"> 933</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *address);</div>
<div class="line"><a name="l00934"></a><span class="lineno"> 934</span>  </div>
<div class="line"><a name="l00936"></a><span class="lineno"> 936</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00937"></a><span class="lineno"> 937</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a881ace0b082a725cbd7156e8d701db7a">evhttp_connection_set_local_port</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l00938"></a><span class="lineno"> 938</span>  ev_uint16_t port);</div>
<div class="line"><a name="l00939"></a><span class="lineno"> 939</span>  </div>
<div class="line"><a name="l00945"></a><span class="lineno"> 945</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00946"></a><span class="lineno"> 946</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#af74808e97c298ae690b29d45e8cf2f7b">evhttp_connection_set_timeout</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l00947"></a><span class="lineno"> 947</span>  <span class="keywordtype">int</span> timeout);</div>
<div class="line"><a name="l00948"></a><span class="lineno"> 948</span>  </div>
<div class="line"><a name="l00963"></a><span class="lineno"> 963</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00964"></a><span class="lineno"> 964</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#ab8d3d92102ff797ea2375db5235ebe49">evhttp_connection_set_timeout_tv</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l00965"></a><span class="lineno"> 965</span>  <span class="keyword">const</span> <span class="keyword">struct</span> timeval *tv);</div>
<div class="line"><a name="l00966"></a><span class="lineno"> 966</span>  </div>
<div class="line"><a name="l00972"></a><span class="lineno"> 972</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00973"></a><span class="lineno"> 973</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a3070128a12534b199f5dd24673fad4c4">evhttp_connection_set_connect_timeout_tv</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l00974"></a><span class="lineno"> 974</span>  <span class="keyword">const</span> <span class="keyword">struct</span> timeval *tv);</div>
<div class="line"><a name="l00975"></a><span class="lineno"> 975</span>  </div>
<div class="line"><a name="l00981"></a><span class="lineno"> 981</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00982"></a><span class="lineno"> 982</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a8ce5c2c1090309215004e8490014d7a8">evhttp_connection_set_read_timeout_tv</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l00983"></a><span class="lineno"> 983</span>  <span class="keyword">const</span> <span class="keyword">struct</span> timeval *tv);</div>
<div class="line"><a name="l00984"></a><span class="lineno"> 984</span>  </div>
<div class="line"><a name="l00990"></a><span class="lineno"> 990</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l00991"></a><span class="lineno"> 991</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a29110fb60e660f33f2d20a964dcb2d37">evhttp_connection_set_write_timeout_tv</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l00992"></a><span class="lineno"> 992</span>  <span class="keyword">const</span> <span class="keyword">struct</span> timeval *tv);</div>
<div class="line"><a name="l00993"></a><span class="lineno"> 993</span>  </div>
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a8b33510923ba80494353419fd769729c">evhttp_connection_set_initial_retry_tv</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>  <span class="keyword">const</span> <span class="keyword">struct</span> timeval *tv);</div>
<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>  </div>
<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a2d1ec8afb0b84b591e40daa8d25594b9">evhttp_connection_set_retries</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>  <span class="keywordtype">int</span> retry_max);</div>
<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>  </div>
<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#afac5a00d6baf28ecb5c7d52dee757bd1">evhttp_connection_set_closecb</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>  <span class="keywordtype">void</span> (*)(<span class="keyword">struct</span> evhttp_connection *, <span class="keywordtype">void</span> *), <span class="keywordtype">void</span> *);</div>
<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>  </div>
<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a8d21ffce46e0207d97d31cfac295e079">evhttp_connection_get_peer</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> **address, ev_uint16_t *port);</div>
<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>  </div>
<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span> <span class="keyword">const</span> <span class="keyword">struct </span>sockaddr*</div>
<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span> <a class="code" href="http_8h.html#ae0097ea31d96c509962b3d3df5ca6958">evhttp_connection_get_addr</a>(<span class="keyword">struct</span> evhttp_connection *evcon);</div>
<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>  </div>
<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a88c4f63045dc6567f8220d6d37426924">evhttp_make_request</a>(<span class="keyword">struct</span> evhttp_connection *evcon,</div>
<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>  <span class="keyword">struct</span> evhttp_request *req,</div>
<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>  <span class="keyword">enum</span> <a class="code" href="http_8h.html#ac858319d667267f9fc848c2bb6931aa3">evhttp_cmd_type</a> type, <span class="keyword">const</span> <span class="keywordtype">char</span> *uri);</div>
<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>  </div>
<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a7758d5808bd2e062d2aa3912ca19d2fd">evhttp_cancel_request</a>(<span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>  </div>
<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span> <span class="keyword">struct </span>evhttp_uri;</div>
<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>  </div>
<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#aa02d664574b2aefbb671f8534e5c476a">evhttp_request_get_uri</a>(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span> <span class="keyword">const</span> <span class="keyword">struct </span>evhttp_uri *<a class="code" href="http_8h.html#af528a5c6a3a6212cefadf21f751a9718">evhttp_request_get_evhttp_uri</a>(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span> <span class="keyword">enum</span> <a class="code" href="http_8h.html#ac858319d667267f9fc848c2bb6931aa3">evhttp_cmd_type</a> <a class="code" href="http_8h.html#aaef4dc4d2dfd468b5f3497853d6c0486">evhttp_request_get_command</a>(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>  </div>
<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span> <span class="keywordtype">int</span> evhttp_request_get_response_code(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * evhttp_request_get_response_code_line(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>  </div>
<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span> <span class="keyword">struct </span>evkeyvalq *<a class="code" href="http_8h.html#a3ab43473b2830c8d0f3b8ec14c6f9fdf">evhttp_request_get_input_headers</a>(<span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span> <span class="keyword">struct </span>evkeyvalq *<a class="code" href="http_8h.html#ad12a28805401f4f498964987385ed1e3">evhttp_request_get_output_headers</a>(<span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span> <span class="keyword">struct </span><a class="code" href="structevbuffer.html">evbuffer</a> *<a class="code" href="http_8h.html#a5a7df0b7b7a10bda540ba24cd1021c80">evhttp_request_get_input_buffer</a>(<span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span> <span class="keyword">struct </span><a class="code" href="structevbuffer.html">evbuffer</a> *<a class="code" href="http_8h.html#ae4c4774bbd23cd887ceda30c3e7ea094">evhttp_request_get_output_buffer</a>(<span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#afded43caaf7dc2d0532f50b4a463f7d1">evhttp_request_get_host</a>(<span class="keyword">struct</span> evhttp_request *req);</div>
<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>  </div>
<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span> <span class="comment">/* Interfaces for dealing with HTTP headers */</span></div>
<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>  </div>
<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#a54b0a309df8639541cfb552ab152e9bd">evhttp_find_header</a>(<span class="keyword">const</span> <span class="keyword">struct</span> evkeyvalq *headers,</div>
<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *key);</div>
<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>  </div>
<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#acbdce3871fffa5c0c97c0680eb1ea668">evhttp_remove_header</a>(<span class="keyword">struct</span> evkeyvalq *headers, <span class="keyword">const</span> <span class="keywordtype">char</span> *key);</div>
<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>  </div>
<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a04d806174bb259be406b32669a4ed9cc">evhttp_add_header</a>(<span class="keyword">struct</span> evkeyvalq *headers, <span class="keyword">const</span> <span class="keywordtype">char</span> *key, <span class="keyword">const</span> <span class="keywordtype">char</span> *value);</div>
<div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>  </div>
<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01149"></a><span class="lineno"> 1149</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#ad2399662cdf2e300251d4330c649ac77">evhttp_clear_headers</a>(<span class="keyword">struct</span> evkeyvalq *headers);</div>
<div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>  </div>
<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span> <span class="comment">/* Miscellaneous utility functions */</span></div>
<div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>  </div>
<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>  </div>
<div class="line"><a name="l01165"></a><span class="lineno"> 1165</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#a8742ce04eb4951e7af8cb200bc9669ef">evhttp_encode_uri</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *str);</div>
<div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>  </div>
<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#ad9259be209e6afbf15987922d1841e70">evhttp_uriencode</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *str, ev_ssize_t size, <span class="keywordtype">int</span> space_to_plus);</div>
<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>  </div>
<div class="line"><a name="l01199"></a><span class="lineno"> 1199</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#a6ac6bc2748f226d50367245989e7acd1">evhttp_decode_uri</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *uri);</div>
<div class="line"><a name="l01201"></a><span class="lineno"> 1201</span>  </div>
<div class="line"><a name="l01217"></a><span class="lineno"> 1217</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01218"></a><span class="lineno"> 1218</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#a837276600c9c2f0521c44879c8d371b7">evhttp_uridecode</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *uri, <span class="keywordtype">int</span> decode_plus,</div>
<div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>  <span class="keywordtype">size_t</span> *size_out);</div>
<div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>  </div>
<div class="line"><a name="l01240"></a><span class="lineno"> 1240</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01241"></a><span class="lineno"> 1241</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#ad9b32eed2eb6693eef5694052f2223a8">evhttp_parse_query</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *uri, <span class="keyword">struct</span> evkeyvalq *headers);</div>
<div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>  </div>
<div class="line"><a name="l01244"></a><span class="lineno"> 1244</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01245"></a><span class="lineno"> 1245</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a9a61f2b2ae4b7b733871f64e89360d75">evhttp_parse_query_str</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *uri, <span class="keyword">struct</span> evkeyvalq *headers);</div>
<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span>  </div>
<div class="line"><a name="l01261"></a><span class="lineno"><a class="line" href="http_8h.html#a64c9b77846e83a6f3d45f4be4b7150de"> 1261</a></span> <span class="preprocessor">#define EVHTTP_URI_QUERY_NONCONFORMANT 0x01</span></div>
<div class="line"><a name="l01262"></a><span class="lineno"> 1262</span>  </div>
<div class="line"><a name="l01268"></a><span class="lineno"><a class="line" href="http_8h.html#a12b8b97844f5d13e2f7b6d5c9f8ce0b6"> 1268</a></span> <span class="preprocessor">#define EVHTTP_URI_QUERY_LAST_VAL 0x02</span></div>
<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>  </div>
<div class="line"><a name="l01288"></a><span class="lineno"> 1288</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01289"></a><span class="lineno"> 1289</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a1a9d2efb83e6599e7e6aa2130018fedc">evhttp_parse_query_str_flags</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *uri, <span class="keyword">struct</span> evkeyvalq *headers, <span class="keywordtype">unsigned</span> flags);</div>
<div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>  </div>
<div class="line"><a name="l01302"></a><span class="lineno"> 1302</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01303"></a><span class="lineno"> 1303</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#a28fb801171a5f4a71057629e15c70fb5">evhttp_htmlescape</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *html);</div>
<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>  </div>
<div class="line"><a name="l01308"></a><span class="lineno"> 1308</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01309"></a><span class="lineno"> 1309</span> <span class="keyword">struct </span>evhttp_uri *<a class="code" href="http_8h.html#a4447fa5bf7323b98a74fc660bcd892d8">evhttp_uri_new</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>  </div>
<div class="line"><a name="l01315"></a><span class="lineno"> 1315</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01316"></a><span class="lineno"> 1316</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#aa18f3bc6e899f80ba047a683d245245b">evhttp_uri_set_flags</a>(<span class="keyword">struct</span> evhttp_uri *uri, <span class="keywordtype">unsigned</span> flags);</div>
<div class="line"><a name="l01317"></a><span class="lineno"> 1317</span>  </div>
<div class="line"><a name="l01320"></a><span class="lineno"> 1320</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01321"></a><span class="lineno"> 1321</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#a2b19501e4d1ae89df696304e9b18fbe0">evhttp_uri_get_scheme</a>(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_uri *uri);</div>
<div class="line"><a name="l01326"></a><span class="lineno"> 1326</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01327"></a><span class="lineno"> 1327</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#aab0d0c0b1a761ab88a9c105330170f10">evhttp_uri_get_userinfo</a>(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_uri *uri);</div>
<div class="line"><a name="l01340"></a><span class="lineno"> 1340</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01341"></a><span class="lineno"> 1341</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#aaa22a9dc787b32f5133e81a7f5e96d25">evhttp_uri_get_host</a>(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_uri *uri);</div>
<div class="line"><a name="l01344"></a><span class="lineno"> 1344</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01345"></a><span class="lineno"> 1345</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#a56fd87a6f536bb28a66dbbfda1eaf328">evhttp_uri_get_unixsocket</a>(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_uri *uri);</div>
<div class="line"><a name="l01347"></a><span class="lineno"> 1347</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01348"></a><span class="lineno"> 1348</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a1ee1f098fa176ae0b33729308a35136d">evhttp_uri_get_port</a>(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_uri *uri);</div>
<div class="line"><a name="l01350"></a><span class="lineno"> 1350</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01351"></a><span class="lineno"> 1351</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#a8264b614f23012200c559e25f37f8a4c">evhttp_uri_get_path</a>(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_uri *uri);</div>
<div class="line"><a name="l01354"></a><span class="lineno"> 1354</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01355"></a><span class="lineno"> 1355</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#a02a52f21c3c169729110efb289835b55">evhttp_uri_get_query</a>(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_uri *uri);</div>
<div class="line"><a name="l01358"></a><span class="lineno"> 1358</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01359"></a><span class="lineno"> 1359</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#af2d03ee60bd21072b67ec7b89d476226">evhttp_uri_get_fragment</a>(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_uri *uri);</div>
<div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>  </div>
<div class="line"><a name="l01363"></a><span class="lineno"> 1363</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01364"></a><span class="lineno"> 1364</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a45fcdbd2ca2683418f3745cbb8745256">evhttp_uri_set_scheme</a>(<span class="keyword">struct</span> evhttp_uri *uri, <span class="keyword">const</span> <span class="keywordtype">char</span> *scheme);</div>
<div class="line"><a name="l01367"></a><span class="lineno"> 1367</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01368"></a><span class="lineno"> 1368</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a12083a9ed157ed7d0d980973613e7f18">evhttp_uri_set_userinfo</a>(<span class="keyword">struct</span> evhttp_uri *uri, <span class="keyword">const</span> <span class="keywordtype">char</span> *userinfo);</div>
<div class="line"><a name="l01371"></a><span class="lineno"> 1371</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01372"></a><span class="lineno"> 1372</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a71b70977e40970863c611dc9f8c66f0f">evhttp_uri_set_host</a>(<span class="keyword">struct</span> evhttp_uri *uri, <span class="keyword">const</span> <span class="keywordtype">char</span> *host);</div>
<div class="line"><a name="l01375"></a><span class="lineno"> 1375</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01376"></a><span class="lineno"> 1376</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#ac7259917dbf5cac8ff0e3d00b8574cbe">evhttp_uri_set_unixsocket</a>(<span class="keyword">struct</span> evhttp_uri *uri, <span class="keyword">const</span> <span class="keywordtype">char</span> *unixsocket);</div>
<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>  </div>
<div class="line"><a name="l01380"></a><span class="lineno"> 1380</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01381"></a><span class="lineno"> 1381</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a44aebcf9b67a66025af7d002df0ecde1">evhttp_uri_set_port</a>(<span class="keyword">struct</span> evhttp_uri *uri, <span class="keywordtype">int</span> port);</div>
<div class="line"><a name="l01384"></a><span class="lineno"> 1384</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01385"></a><span class="lineno"> 1385</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a55ae372c7045ed54e9193a061e440b59">evhttp_uri_set_path</a>(<span class="keyword">struct</span> evhttp_uri *uri, <span class="keyword">const</span> <span class="keywordtype">char</span> *path);</div>
<div class="line"><a name="l01389"></a><span class="lineno"> 1389</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01390"></a><span class="lineno"> 1390</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#aa1de728d898f2ec5deab6299d885d286">evhttp_uri_set_query</a>(<span class="keyword">struct</span> evhttp_uri *uri, <span class="keyword">const</span> <span class="keywordtype">char</span> *query);</div>
<div class="line"><a name="l01394"></a><span class="lineno"> 1394</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01395"></a><span class="lineno"> 1395</span> <span class="keywordtype">int</span> <a class="code" href="http_8h.html#a6ffbf72e6974650339f89b23a8d8fc30">evhttp_uri_set_fragment</a>(<span class="keyword">struct</span> evhttp_uri *uri, <span class="keyword">const</span> <span class="keywordtype">char</span> *fragment);</div>
<div class="line"><a name="l01396"></a><span class="lineno"> 1396</span>  </div>
<div class="line"><a name="l01431"></a><span class="lineno"> 1431</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01432"></a><span class="lineno"> 1432</span> <span class="keyword">struct </span>evhttp_uri *<a class="code" href="http_8h.html#ac6cc995d43fb39f838d2ff866057673c">evhttp_uri_parse_with_flags</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *source_uri,</div>
<div class="line"><a name="l01433"></a><span class="lineno"> 1433</span>  <span class="keywordtype">unsigned</span> flags);</div>
<div class="line"><a name="l01434"></a><span class="lineno"> 1434</span>  </div>
<div class="line"><a name="l01447"></a><span class="lineno"><a class="line" href="http_8h.html#ace576911d436a163584f4942907270a5"> 1447</a></span> <span class="preprocessor">#define EVHTTP_URI_NONCONFORMANT 0x01</span></div>
<div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>  </div>
<div class="line"><a name="l01457"></a><span class="lineno"><a class="line" href="http_8h.html#a8260a82157dadb3a659cb1ba783bb304"> 1457</a></span> <span class="preprocessor">#define EVHTTP_URI_HOST_STRIP_BRACKETS 0x04</span></div>
<div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>  </div>
<div class="line"><a name="l01464"></a><span class="lineno"><a class="line" href="http_8h.html#a3e2dab6e699d45bb208299312e73b2aa"> 1464</a></span> <span class="preprocessor">#define EVHTTP_URI_UNIX_SOCKET 0x08</span></div>
<div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>  </div>
<div class="line"><a name="l01467"></a><span class="lineno"> 1467</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01468"></a><span class="lineno"> 1468</span> <span class="keyword">struct </span>evhttp_uri *<a class="code" href="http_8h.html#abdae107e1eba62a9a015892fb761f074">evhttp_uri_parse</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *source_uri);</div>
<div class="line"><a name="l01469"></a><span class="lineno"> 1469</span>  </div>
<div class="line"><a name="l01477"></a><span class="lineno"> 1477</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01478"></a><span class="lineno"> 1478</span> <span class="keywordtype">void</span> <a class="code" href="http_8h.html#a656211357bacf7fae9d09d2d23f7f4b0">evhttp_uri_free</a>(<span class="keyword">struct</span> evhttp_uri *uri);</div>
<div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>  </div>
<div class="line"><a name="l01493"></a><span class="lineno"> 1493</span> EVENT2_EXPORT_SYMBOL</div>
<div class="line"><a name="l01494"></a><span class="lineno"> 1494</span> <span class="keywordtype">char</span> *<a class="code" href="http_8h.html#a8eb220c9f81c70ccd3f69fb692cffbda">evhttp_uri_join</a>(<span class="keyword">const</span> <span class="keyword">struct</span> evhttp_uri *uri, <span class="keywordtype">char</span> *buf, <span class="keywordtype">size_t</span> limit);</div>
<div class="line"><a name="l01495"></a><span class="lineno"> 1495</span>  </div>
<div class="line"><a name="l01496"></a><span class="lineno"> 1496</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l01497"></a><span class="lineno"> 1497</span> }</div>
<div class="line"><a name="l01498"></a><span class="lineno"> 1498</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>  </div>
<div class="line"><a name="l01500"></a><span class="lineno"> 1500</span> <span class="preprocessor">#endif </span><span class="comment">/* EVENT2_HTTP_H_INCLUDED_ */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="ahttp_8h_html_a6ac6bc2748f226d50367245989e7acd1"><div class="ttname"><a href="http_8h.html#a6ac6bc2748f226d50367245989e7acd1">evhttp_decode_uri</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL char * evhttp_decode_uri(const char *uri)</div><div class="ttdoc">Helper function to sort of decode a URI-encoded string.</div></div>
<div class="ttc" id="ahttp_8h_html_a740defd3a36e3d609a362cee96508402"><div class="ttname"><a href="http_8h.html#a740defd3a36e3d609a362cee96508402">evhttp_request_free</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_request_free(struct evhttp_request *req)</div><div class="ttdoc">Frees the request object and removes associated events.</div></div>
<div class="ttc" id="ahttp_8h_html_a33eb3d75bb0ae4b4d19678f8f7d97636"><div class="ttname"><a href="http_8h.html#a33eb3d75bb0ae4b4d19678f8f7d97636">evhttp_connection_set_family</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_set_family(struct evhttp_connection *evcon, int family)</div><div class="ttdoc">Set family hint for DNS requests.</div></div>
<div class="ttc" id="ahttp_8h_html_ad15b347cd339ce5b03c806c0f7adaecf"><div class="ttname"><a href="http_8h.html#ad15b347cd339ce5b03c806c0f7adaecf">evhttp_foreach_bound_socket</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_foreach_bound_socket(struct evhttp *http, evhttp_bound_socket_foreach_fn *function, void *argument)</div><div class="ttdoc">Applies the function specified in the first argument to all evhttp_bound_sockets associated with "htt...</div></div>
<div class="ttc" id="ahttp_8h_html_a8b60b73ced5441bd9a2a4fe114db7db0"><div class="ttname"><a href="http_8h.html#a8b60b73ced5441bd9a2a4fe114db7db0">evhttp_connection_set_ext_method_cmp</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_set_ext_method_cmp(struct evhttp_connection *evcon, evhttp_ext_method_cb cmp)</div><div class="ttdoc">Sets extended method cmp callback for this http connection.</div></div>
<div class="ttc" id="ahttp_8h_html_a3ab43473b2830c8d0f3b8ec14c6f9fdf"><div class="ttname"><a href="http_8h.html#a3ab43473b2830c8d0f3b8ec14c6f9fdf">evhttp_request_get_input_headers</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evkeyvalq * evhttp_request_get_input_headers(struct evhttp_request *req)</div><div class="ttdoc">Returns the input headers.</div></div>
<div class="ttc" id="ahttp_8h_html_a2d1ec8afb0b84b591e40daa8d25594b9"><div class="ttname"><a href="http_8h.html#a2d1ec8afb0b84b591e40daa8d25594b9">evhttp_connection_set_retries</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_set_retries(struct evhttp_connection *evcon, int retry_max)</div><div class="ttdoc">Sets the retry limit for this connection - -1 repeats indefinitely.</div></div>
<div class="ttc" id="ahttp_8h_html_a6b2b581793f361f68fd21cff110aa262"><div class="ttname"><a href="http_8h.html#a6b2b581793f361f68fd21cff110aa262">evhttp_remove_server_alias</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_remove_server_alias(struct evhttp *http, const char *alias)</div><div class="ttdoc">Remove a server alias from an http object.</div></div>
<div class="ttc" id="ahttp_8h_html_a29110fb60e660f33f2d20a964dcb2d37"><div class="ttname"><a href="http_8h.html#a29110fb60e660f33f2d20a964dcb2d37">evhttp_connection_set_write_timeout_tv</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_set_write_timeout_tv(struct evhttp_connection *evcon, const struct timeval *tv)</div><div class="ttdoc">Sets the write timeout for this connection.</div></div>
<div class="ttc" id="ahttp_8h_html_a4216e1d29237ab9511eaf55433293e8b"><div class="ttname"><a href="http_8h.html#a4216e1d29237ab9511eaf55433293e8b">evhttp_bound_socket_get_listener</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evconnlistener * evhttp_bound_socket_get_listener(struct evhttp_bound_socket *bound)</div><div class="ttdoc">Return the listener used to implement a bound socket.</div></div>
<div class="ttc" id="ahttp_8h_html_a4ab7ae144cf7aac8a512deb0dbaf9ac8"><div class="ttname"><a href="http_8h.html#a4ab7ae144cf7aac8a512deb0dbaf9ac8">evhttp_connection_get_server</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp * evhttp_connection_get_server(struct evhttp_connection *evcon)</div><div class="ttdoc">Return the HTTP server associated with this connection, or NULL.</div></div>
<div class="ttc" id="ahttp_8h_html_a83469b1ba147fc46a98d4f94cbd99a45"><div class="ttname"><a href="http_8h.html#a83469b1ba147fc46a98d4f94cbd99a45">evhttp_request_set_on_complete_cb</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_request_set_on_complete_cb(struct evhttp_request *req, void(*cb)(struct evhttp_request *, void *), void *cb_arg)</div><div class="ttdoc">Set a callback to be called on request completion of evhttp_send_* function.</div></div>
<div class="ttc" id="ahttp_8h_html_ae0097ea31d96c509962b3d3df5ca6958"><div class="ttname"><a href="http_8h.html#ae0097ea31d96c509962b3d3df5ca6958">evhttp_connection_get_addr</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL const struct sockaddr * evhttp_connection_get_addr(struct evhttp_connection *evcon)</div><div class="ttdoc">Get the remote address associated with this connection.</div></div>
<div class="ttc" id="ahttp_8h_html_a04ae09d5ca4ced488a0feb4b5145e95c"><div class="ttname"><a href="http_8h.html#a04ae09d5ca4ced488a0feb4b5145e95c">evhttp_connection_get_bufferevent</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct bufferevent * evhttp_connection_get_bufferevent(struct evhttp_connection *evcon)</div><div class="ttdoc">Return the bufferevent that an evhttp_connection is using.</div></div>
<div class="ttc" id="ahttp_8h_html_ae4efab329925d632a9e94a3065b8d17f"><div class="ttname"><a href="http_8h.html#ae4efab329925d632a9e94a3065b8d17f">evhttp_set_read_timeout_tv</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_read_timeout_tv(struct evhttp *http, const struct timeval *tv)</div><div class="ttdoc">Set read timeout for an HTTP request.</div></div>
<div class="ttc" id="ahttp_8h_html_a586eeb946ec397fec8094c25b7d1d9e4"><div class="ttname"><a href="http_8h.html#a586eeb946ec397fec8094c25b7d1d9e4">evhttp_bound_socket_get_fd</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL evutil_socket_t evhttp_bound_socket_get_fd(struct evhttp_bound_socket *bound_socket)</div><div class="ttdoc">Get the raw file descriptor referenced by an evhttp_bound_socket.</div></div>
<div class="ttc" id="ahttp_8h_html_a1d118ec9cf879e60df5e800a53fa7be5"><div class="ttname"><a href="http_8h.html#a1d118ec9cf879e60df5e800a53fa7be5">evhttp_set_max_headers_size</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_max_headers_size(struct evhttp *http, ev_ssize_t max_headers_size)</div><div class="ttdoc">XXX Document.</div></div>
<div class="ttc" id="ahttp_8h_html_aa02d664574b2aefbb671f8534e5c476a"><div class="ttname"><a href="http_8h.html#aa02d664574b2aefbb671f8534e5c476a">evhttp_request_get_uri</a></div><div class="ttdeci">const EVENT2_EXPORT_SYMBOL char * evhttp_request_get_uri(const struct evhttp_request *req)</div><div class="ttdoc">Returns the request URI.</div></div>
<div class="ttc" id="ahttp_8h_html_a014b3c0c4f85a2c7bc7f4092aaf19884"><div class="ttname"><a href="http_8h.html#a014b3c0c4f85a2c7bc7f4092aaf19884">evhttp_send_reply_end</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_send_reply_end(struct evhttp_request *req)</div><div class="ttdoc">Complete a chunked reply, freeing the request as appropriate.</div></div>
<div class="ttc" id="ahttp_8h_html_ae4accb83b76a63db8b6fe5e765df1411"><div class="ttname"><a href="http_8h.html#ae4accb83b76a63db8b6fe5e765df1411">evhttp_set_bevcb</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_bevcb(struct evhttp *http, struct bufferevent *(*cb)(struct event_base *, void *), void *arg)</div><div class="ttdoc">Set a callback used to create new bufferevents for connections to a given evhttp object.</div></div>
<div class="ttc" id="ahttp_8h_html_a081b1b41e26d62c5690bdd79109cdcfd"><div class="ttname"><a href="http_8h.html#a081b1b41e26d62c5690bdd79109cdcfd">evhttp_connection_set_flags</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_connection_set_flags(struct evhttp_connection *evcon, int flags)</div><div class="ttdoc">Set connection flags.</div></div>
<div class="ttc" id="ahttp_8h_html_a8eb220c9f81c70ccd3f69fb692cffbda"><div class="ttname"><a href="http_8h.html#a8eb220c9f81c70ccd3f69fb692cffbda">evhttp_uri_join</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL char * evhttp_uri_join(const struct evhttp_uri *uri, char *buf, size_t limit)</div><div class="ttdoc">Join together the uri parts from parsed data to form a URI-Reference.</div></div>
<div class="ttc" id="ahttp_8h_html_a12083a9ed157ed7d0d980973613e7f18"><div class="ttname"><a href="http_8h.html#a12083a9ed157ed7d0d980973613e7f18">evhttp_uri_set_userinfo</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_uri_set_userinfo(struct evhttp_uri *uri, const char *userinfo)</div><div class="ttdoc">Set the userinfo of an evhttp_uri, or clear the userinfo if userinfo==NULL.</div></div>
<div class="ttc" id="ahttp_8h_html_ad2399662cdf2e300251d4330c649ac77"><div class="ttname"><a href="http_8h.html#ad2399662cdf2e300251d4330c649ac77">evhttp_clear_headers</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_clear_headers(struct evkeyvalq *headers)</div><div class="ttdoc">Removes all headers from the header list.</div></div>
<div class="ttc" id="ahttp_8h_html_a01f921a909d1504f873222b1d29c2b4aac2922c6ca9cd576a7e722f18876676a8"><div class="ttname"><a href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aac2922c6ca9cd576a7e722f18876676a8">EVREQ_HTTP_EOF</a></div><div class="ttdeci">@ EVREQ_HTTP_EOF</div><div class="ttdoc">EOF reached.</div><div class="ttdef"><b>Definition:</b> http.h:775</div></div>
<div class="ttc" id="ahttp_8h_html_a6ffbf72e6974650339f89b23a8d8fc30"><div class="ttname"><a href="http_8h.html#a6ffbf72e6974650339f89b23a8d8fc30">evhttp_uri_set_fragment</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_uri_set_fragment(struct evhttp_uri *uri, const char *fragment)</div><div class="ttdoc">Set the fragment of an evhttp_uri, or clear the fragment if fragment==NULL.</div></div>
<div class="ttc" id="ahttp_8h_html_a7ff8d8b085885abf2037f0b4d0cc8c39"><div class="ttname"><a href="http_8h.html#a7ff8d8b085885abf2037f0b4d0cc8c39">evhttp_set_errorcb</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_errorcb(struct evhttp *http, int(*cb)(struct evhttp_request *req, struct evbuffer *buffer, int error, const char *reason, void *cbarg), void *cbarg)</div><div class="ttdoc">Set a callback to output for any error pages sent for requests of a given evhttp object.</div></div>
<div class="ttc" id="ahttp_8h_html_a656211357bacf7fae9d09d2d23f7f4b0"><div class="ttname"><a href="http_8h.html#a656211357bacf7fae9d09d2d23f7f4b0">evhttp_uri_free</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_uri_free(struct evhttp_uri *uri)</div><div class="ttdoc">Free all memory allocated for a parsed uri.</div></div>
<div class="ttc" id="ahttp_8h_html_a90bf87f4fdaea3ccf414bf8572b0228a"><div class="ttname"><a href="http_8h.html#a90bf87f4fdaea3ccf414bf8572b0228a">evhttp_request_set_error_cb</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_request_set_error_cb(struct evhttp_request *, void(*)(enum evhttp_request_error, void *))</div><div class="ttdoc">Set a callback for errors.</div></div>
<div class="ttc" id="ahttp_8h_html_a04e86dbadabfc36abc80fc317cb33242"><div class="ttname"><a href="http_8h.html#a04e86dbadabfc36abc80fc317cb33242">evhttp_connection_base_bufferevent_reuse_new</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp_connection * evhttp_connection_base_bufferevent_reuse_new(struct event_base *base, struct evdns_base *dnsbase, struct bufferevent *bev)</div><div class="ttdoc">Create and return a connection object that can be used to for making HTTP requests.</div></div>
<div class="ttc" id="ahttp_8h_html_a44aebcf9b67a66025af7d002df0ecde1"><div class="ttname"><a href="http_8h.html#a44aebcf9b67a66025af7d002df0ecde1">evhttp_uri_set_port</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_uri_set_port(struct evhttp_uri *uri, int port)</div><div class="ttdoc">Set the port of an evhttp_uri, or clear the port if port==-1.</div></div>
<div class="ttc" id="astructevent__base_html"><div class="ttname"><a href="structevent__base.html">event_base</a></div><div class="ttdoc">Structure to hold information and state for a Libevent dispatch loop.</div><div class="ttdef"><b>Definition:</b> event.h:219</div></div>
<div class="ttc" id="ahttp_8h_html_a01f921a909d1504f873222b1d29c2b4aa3bd6cb0d713a8ae9eaa3cf667a3edc9b"><div class="ttname"><a href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aa3bd6cb0d713a8ae9eaa3cf667a3edc9b">EVREQ_HTTP_BUFFER_ERROR</a></div><div class="ttdeci">@ EVREQ_HTTP_BUFFER_ERROR</div><div class="ttdoc">Error encountered while reading or writing.</div><div class="ttdef"><b>Definition:</b> http.h:783</div></div>
<div class="ttc" id="ahttp_8h_html_a5682dc2fe3f18dcbffd9a55bcebac9a0"><div class="ttname"><a href="http_8h.html#a5682dc2fe3f18dcbffd9a55bcebac9a0">evhttp_set_allowed_methods</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_allowed_methods(struct evhttp *http, ev_uint32_t methods)</div><div class="ttdoc">Sets the what HTTP methods are supported in requests accepted by this server, and passed to user call...</div></div>
<div class="ttc" id="ahttp_8h_html_a881ace0b082a725cbd7156e8d701db7a"><div class="ttname"><a href="http_8h.html#a881ace0b082a725cbd7156e8d701db7a">evhttp_connection_set_local_port</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_set_local_port(struct evhttp_connection *evcon, ev_uint16_t port)</div><div class="ttdoc">sets the local port from which http connections are made</div></div>
<div class="ttc" id="ahttp_8h_html_a3ea68d1a73ae1a09c6398e264b357407"><div class="ttname"><a href="http_8h.html#a3ea68d1a73ae1a09c6398e264b357407">evhttp_set_timeout_tv</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_timeout_tv(struct evhttp *http, const struct timeval *tv)</div><div class="ttdoc">Set read and write timeout for an HTTP request.</div></div>
<div class="ttc" id="ahttp_8h_html_a02a52f21c3c169729110efb289835b55"><div class="ttname"><a href="http_8h.html#a02a52f21c3c169729110efb289835b55">evhttp_uri_get_query</a></div><div class="ttdeci">const EVENT2_EXPORT_SYMBOL char * evhttp_uri_get_query(const struct evhttp_uri *uri)</div><div class="ttdoc">Return the query part of an evhttp_uri (excluding the leading "?"), or NULL if it has no query set.</div></div>
<div class="ttc" id="ahttp_8h_html_acbdce3871fffa5c0c97c0680eb1ea668"><div class="ttname"><a href="http_8h.html#acbdce3871fffa5c0c97c0680eb1ea668">evhttp_remove_header</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_remove_header(struct evkeyvalq *headers, const char *key)</div><div class="ttdoc">Removes a header from a list of existing headers.</div></div>
<div class="ttc" id="ahttp_8h_html_ad89bdd6053de1ff73fab1b2bb3c3182f"><div class="ttname"><a href="http_8h.html#ad89bdd6053de1ff73fab1b2bb3c3182f">evhttp_add_virtual_host</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_add_virtual_host(struct evhttp *http, const char *pattern, struct evhttp *vhost)</div><div class="ttdoc">Adds a virtual host to the http server.</div></div>
<div class="ttc" id="ahttp_8h_html_a730f35086068b559b2bd324d07591283"><div class="ttname"><a href="http_8h.html#a730f35086068b559b2bd324d07591283">evhttp_send_reply_start</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_send_reply_start(struct evhttp_request *req, int code, const char *reason)</div><div class="ttdoc">Initiate a reply that uses Transfer-Encoding chunked.</div></div>
<div class="ttc" id="ahttp_8h_html_a4ba3aa63bccc4f2ec3c18d4eb26be851"><div class="ttname"><a href="http_8h.html#a4ba3aa63bccc4f2ec3c18d4eb26be851">evhttp_set_max_body_size</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_max_body_size(struct evhttp *http, ev_ssize_t max_body_size)</div><div class="ttdoc">XXX Document.</div></div>
<div class="ttc" id="ahttp_8h_html_afa5936add0f808199f617be4aa42bbd7"><div class="ttname"><a href="http_8h.html#afa5936add0f808199f617be4aa42bbd7">evhttp_add_server_alias</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_add_server_alias(struct evhttp *http, const char *alias)</div><div class="ttdoc">Add a server alias to an http object.</div></div>
<div class="ttc" id="ahttp_8h_html_a0a77d07263e20733a7562dcd576ad721"><div class="ttname"><a href="http_8h.html#a0a77d07263e20733a7562dcd576ad721">evhttp_send_reply</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_send_reply(struct evhttp_request *req, int code, const char *reason, struct evbuffer *databuf)</div><div class="ttdoc">Send an HTML reply to the client.</div></div>
<div class="ttc" id="ahttp_8h_html_a88c4f63045dc6567f8220d6d37426924"><div class="ttname"><a href="http_8h.html#a88c4f63045dc6567f8220d6d37426924">evhttp_make_request</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_make_request(struct evhttp_connection *evcon, struct evhttp_request *req, enum evhttp_cmd_type type, const char *uri)</div><div class="ttdoc">Make an HTTP request over the specified connection.</div></div>
<div class="ttc" id="ahttp_8h_html_af1b22fdf5ea2c6335ccbc96fb930774e"><div class="ttname"><a href="http_8h.html#af1b22fdf5ea2c6335ccbc96fb930774e">evhttp_set_cb</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_set_cb(struct evhttp *http, const char *path, void(*cb)(struct evhttp_request *, void *), void *cb_arg)</div><div class="ttdoc">Set a callback for a specified URI.</div></div>
<div class="ttc" id="ahttp_8h_html_a01f921a909d1504f873222b1d29c2b4a"><div class="ttname"><a href="http_8h.html#a01f921a909d1504f873222b1d29c2b4a">evhttp_request_error</a></div><div class="ttdeci">evhttp_request_error</div><div class="ttdoc">The different error types supported by evhttp.</div><div class="ttdef"><b>Definition:</b> http.h:767</div></div>
<div class="ttc" id="ahttp_8h_html_ab531e7d4962724efa3401d11edea1150"><div class="ttname"><a href="http_8h.html#ab531e7d4962724efa3401d11edea1150">evhttp_set_flags</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_set_flags(struct evhttp *http, int flags)</div><div class="ttdoc">Set connection flags for HTTP server.</div></div>
<div class="ttc" id="ahttp_8h_html_a8ce5c2c1090309215004e8490014d7a8"><div class="ttname"><a href="http_8h.html#a8ce5c2c1090309215004e8490014d7a8">evhttp_connection_set_read_timeout_tv</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_set_read_timeout_tv(struct evhttp_connection *evcon, const struct timeval *tv)</div><div class="ttdoc">Sets the read timeout for this connection.</div></div>
<div class="ttc" id="ahttp_8h_html_a1125aa44cce8ee1faf9c0bdfc6e815c8"><div class="ttname"><a href="http_8h.html#a1125aa44cce8ee1faf9c0bdfc6e815c8">evhttp_connection_set_local_address</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_set_local_address(struct evhttp_connection *evcon, const char *address)</div><div class="ttdoc">Sets the IP address from which http connections are made.</div></div>
<div class="ttc" id="ahttp_8h_html_a1a9d2efb83e6599e7e6aa2130018fedc"><div class="ttname"><a href="http_8h.html#a1a9d2efb83e6599e7e6aa2130018fedc">evhttp_parse_query_str_flags</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_parse_query_str_flags(const char *uri, struct evkeyvalq *headers, unsigned flags)</div><div class="ttdoc">Helper function to parse out arguments from the query portion of an HTTP URI.</div></div>
<div class="ttc" id="ahttp_8h_html_a3070128a12534b199f5dd24673fad4c4"><div class="ttname"><a href="http_8h.html#a3070128a12534b199f5dd24673fad4c4">evhttp_connection_set_connect_timeout_tv</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_set_connect_timeout_tv(struct evhttp_connection *evcon, const struct timeval *tv)</div><div class="ttdoc">Sets the connect timeout for this connection.</div></div>
<div class="ttc" id="ahttp_8h_html_a605b42ad45d6e804e1a21204b33a2e42"><div class="ttname"><a href="http_8h.html#a605b42ad45d6e804e1a21204b33a2e42">evhttp_connection_get_base</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct event_base * evhttp_connection_get_base(struct evhttp_connection *req)</div><div class="ttdoc">Returns the underlying event_base for this connection.</div></div>
<div class="ttc" id="ahttp_8h_html_aa1de728d898f2ec5deab6299d885d286"><div class="ttname"><a href="http_8h.html#aa1de728d898f2ec5deab6299d885d286">evhttp_uri_set_query</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_uri_set_query(struct evhttp_uri *uri, const char *query)</div><div class="ttdoc">Set the query of an evhttp_uri, or clear the query if query==NULL.</div></div>
<div class="ttc" id="ahttp_8h_html_a5d57616424673f65eee38f0dc8293373"><div class="ttname"><a href="http_8h.html#a5d57616424673f65eee38f0dc8293373">evhttp_set_newreqcb</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_newreqcb(struct evhttp *http, int(*cb)(struct evhttp_request *, void *), void *arg)</div><div class="ttdoc">Set a callback which allows the user to note or throttle incoming requests.</div></div>
<div class="ttc" id="ahttp_8h_html_a01f921a909d1504f873222b1d29c2b4aaa07ee0241ac812c0e8bc1eabc5ac810d"><div class="ttname"><a href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aaa07ee0241ac812c0e8bc1eabc5ac810d">EVREQ_HTTP_REQUEST_CANCEL</a></div><div class="ttdeci">@ EVREQ_HTTP_REQUEST_CANCEL</div><div class="ttdoc">The evhttp_cancel_request() called on this request.</div><div class="ttdef"><b>Definition:</b> http.h:787</div></div>
<div class="ttc" id="ahttp_8h_html_a01f921a909d1504f873222b1d29c2b4aad755cf3b1ab25bdfede358b137e7d1e4"><div class="ttname"><a href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aad755cf3b1ab25bdfede358b137e7d1e4">EVREQ_HTTP_INVALID_HEADER</a></div><div class="ttdeci">@ EVREQ_HTTP_INVALID_HEADER</div><div class="ttdoc">Error while reading header, or invalid header.</div><div class="ttdef"><b>Definition:</b> http.h:779</div></div>
<div class="ttc" id="ahttp_8h_html_a1ee1f098fa176ae0b33729308a35136d"><div class="ttname"><a href="http_8h.html#a1ee1f098fa176ae0b33729308a35136d">evhttp_uri_get_port</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_uri_get_port(const struct evhttp_uri *uri)</div><div class="ttdoc">Return the port part of an evhttp_uri, or -1 if there is no port set.</div></div>
<div class="ttc" id="ahttp_8h_html_a5b4a6022933fb806d621a398ceec8eb2"><div class="ttname"><a href="http_8h.html#a5b4a6022933fb806d621a398ceec8eb2">evhttp_set_timeout</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_timeout(struct evhttp *http, int timeout)</div><div class="ttdoc">Set the timeout for an HTTP request.</div></div>
<div class="ttc" id="astructbufferevent_html"><div class="ttname"><a href="structbufferevent.html">bufferevent</a></div><div class="ttdoc">An opaque type for handling buffered IO.</div><div class="ttdef"><b>Definition:</b> bufferevent.h:114</div></div>
<div class="ttc" id="ahttp_8h_html_afac5a00d6baf28ecb5c7d52dee757bd1"><div class="ttname"><a href="http_8h.html#afac5a00d6baf28ecb5c7d52dee757bd1">evhttp_connection_set_closecb</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_set_closecb(struct evhttp_connection *evcon, void(*)(struct evhttp_connection *, void *), void *)</div><div class="ttdoc">Set a callback for connection close.</div></div>
<div class="ttc" id="ahttp_8h_html_aa1bd475e8be9f389586a6be9fbb242d4"><div class="ttname"><a href="http_8h.html#aa1bd475e8be9f389586a6be9fbb242d4">evhttp_request_own</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_request_own(struct evhttp_request *req)</div><div class="ttdoc">Takes ownership of the request object.</div></div>
<div class="ttc" id="ahttp_8h_html_acdc4276e80df2a99d64944598fc946ee"><div class="ttname"><a href="http_8h.html#acdc4276e80df2a99d64944598fc946ee">evhttp_get_connection_count</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_get_connection_count(struct evhttp *http)</div><div class="ttdoc">Get the current number of connections.</div></div>
<div class="ttc" id="ahttp_8h_html_ab6a2f82ff7323986705ead089a2d3f58"><div class="ttname"><a href="http_8h.html#ab6a2f82ff7323986705ead089a2d3f58">evhttp_connection_base_bufferevent_new</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp_connection * evhttp_connection_base_bufferevent_new(struct event_base *base, struct evdns_base *dnsbase, struct bufferevent *bev, const char *address, ev_uint16_t port)</div><div class="ttdoc">Create and return a connection object that can be used to for making HTTP requests.</div></div>
<div class="ttc" id="ahttp_8h_html_a8264b614f23012200c559e25f37f8a4c"><div class="ttname"><a href="http_8h.html#a8264b614f23012200c559e25f37f8a4c">evhttp_uri_get_path</a></div><div class="ttdeci">const EVENT2_EXPORT_SYMBOL char * evhttp_uri_get_path(const struct evhttp_uri *uri)</div><div class="ttdoc">Return the path part of an evhttp_uri, or NULL if it has no path set.</div></div>
<div class="ttc" id="ahttp_8h_html_a55ae372c7045ed54e9193a061e440b59"><div class="ttname"><a href="http_8h.html#a55ae372c7045ed54e9193a061e440b59">evhttp_uri_set_path</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_uri_set_path(struct evhttp_uri *uri, const char *path)</div><div class="ttdoc">Set the path of an evhttp_uri, or clear the path if path==NULL.</div></div>
<div class="ttc" id="ahttp_8h_html_ae8599595a7617e5e3c213e45c10d22a0"><div class="ttname"><a href="http_8h.html#ae8599595a7617e5e3c213e45c10d22a0">evhttp_accept_socket</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_accept_socket(struct evhttp *http, evutil_socket_t fd)</div><div class="ttdoc">Makes an HTTP server accept connections on the specified socket.</div></div>
<div class="ttc" id="ahttp_8h_html_a5a7df0b7b7a10bda540ba24cd1021c80"><div class="ttname"><a href="http_8h.html#a5a7df0b7b7a10bda540ba24cd1021c80">evhttp_request_get_input_buffer</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evbuffer * evhttp_request_get_input_buffer(struct evhttp_request *req)</div><div class="ttdoc">Returns the input buffer.</div></div>
<div class="ttc" id="ahttp_8h_html_a68ec9dd6e33b7505a1ccde9e3d55b18a"><div class="ttname"><a href="http_8h.html#a68ec9dd6e33b7505a1ccde9e3d55b18a">evhttp_remove_virtual_host</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_remove_virtual_host(struct evhttp *http, struct evhttp *vhost)</div><div class="ttdoc">Removes a virtual host from the http server.</div></div>
<div class="ttc" id="ahttp_8h_html_a12b2e61a0088e3707198876ae1e61f3f"><div class="ttname"><a href="http_8h.html#a12b2e61a0088e3707198876ae1e61f3f">evhttp_free</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_free(struct evhttp *http)</div><div class="ttdoc">Free the previously created HTTP server.</div></div>
<div class="ttc" id="ahttp_8h_html_a71b70977e40970863c611dc9f8c66f0f"><div class="ttname"><a href="http_8h.html#a71b70977e40970863c611dc9f8c66f0f">evhttp_uri_set_host</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_uri_set_host(struct evhttp_uri *uri, const char *host)</div><div class="ttdoc">Set the host of an evhttp_uri, or clear the host if host==NULL.</div></div>
<div class="ttc" id="astructevhttp__ext__method_html"><div class="ttname"><a href="structevhttp__ext__method.html">evhttp_ext_method</a></div><div class="ttdoc">structure that is passed to (and modified by) the extended method callback function</div><div class="ttdef"><b>Definition:</b> http.h:651</div></div>
<div class="ttc" id="astructevbuffer_html"><div class="ttname"><a href="structevbuffer.html">evbuffer</a></div><div class="ttdoc">An evbuffer is an opaque data type for efficiently buffering data to be sent or received on the netwo...</div><div class="ttdef"><b>Definition:</b> buffer.h:97</div></div>
<div class="ttc" id="ahttp_8h_html_a8b33510923ba80494353419fd769729c"><div class="ttname"><a href="http_8h.html#a8b33510923ba80494353419fd769729c">evhttp_connection_set_initial_retry_tv</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_set_initial_retry_tv(struct evhttp_connection *evcon, const struct timeval *tv)</div><div class="ttdoc">Sets the delay before retrying requests on this connection.</div></div>
<div class="ttc" id="ahttp_8h_html_ae4c4774bbd23cd887ceda30c3e7ea094"><div class="ttname"><a href="http_8h.html#ae4c4774bbd23cd887ceda30c3e7ea094">evhttp_request_get_output_buffer</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evbuffer * evhttp_request_get_output_buffer(struct evhttp_request *req)</div><div class="ttdoc">Returns the output buffer.</div></div>
<div class="ttc" id="ahttp_8h_html_afded43caaf7dc2d0532f50b4a463f7d1"><div class="ttname"><a href="http_8h.html#afded43caaf7dc2d0532f50b4a463f7d1">evhttp_request_get_host</a></div><div class="ttdeci">const EVENT2_EXPORT_SYMBOL char * evhttp_request_get_host(struct evhttp_request *req)</div><div class="ttdoc">Returns the host associated with the request.</div></div>
<div class="ttc" id="ahttp_8h_html_aab0d0c0b1a761ab88a9c105330170f10"><div class="ttname"><a href="http_8h.html#aab0d0c0b1a761ab88a9c105330170f10">evhttp_uri_get_userinfo</a></div><div class="ttdeci">const EVENT2_EXPORT_SYMBOL char * evhttp_uri_get_userinfo(const struct evhttp_uri *uri)</div><div class="ttdoc">Return the userinfo part of an evhttp_uri, or NULL if it has no userinfo set.</div></div>
<div class="ttc" id="ahttp_8h_html_aaef4dc4d2dfd468b5f3497853d6c0486"><div class="ttname"><a href="http_8h.html#aaef4dc4d2dfd468b5f3497853d6c0486">evhttp_request_get_command</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL enum evhttp_cmd_type evhttp_request_get_command(const struct evhttp_request *req)</div><div class="ttdoc">Returns the request command.</div></div>
<div class="ttc" id="ahttp_8h_html_a5baa37a340f5be4b2c6062327e0a84e1"><div class="ttname"><a href="http_8h.html#a5baa37a340f5be4b2c6062327e0a84e1">evhttp_new</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp * evhttp_new(struct event_base *base)</div><div class="ttdoc">Create a new HTTP server.</div></div>
<div class="ttc" id="ahttp_8h_html_a980ad5b5a00bef46201b1683ef0e2ee1"><div class="ttname"><a href="http_8h.html#a980ad5b5a00bef46201b1683ef0e2ee1">evhttp_request_is_owned</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_request_is_owned(struct evhttp_request *req)</div><div class="ttdoc">Returns 1 if the request is owned by the user.</div></div>
<div class="ttc" id="ahttp_8h_html_af74808e97c298ae690b29d45e8cf2f7b"><div class="ttname"><a href="http_8h.html#af74808e97c298ae690b29d45e8cf2f7b">evhttp_connection_set_timeout</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_set_timeout(struct evhttp_connection *evcon, int timeout)</div><div class="ttdoc">Sets the timeout for this connection.</div></div>
<div class="ttc" id="ahttp_8h_html_a66ffd177b52ffc59163c708d9b2f7275"><div class="ttname"><a href="http_8h.html#a66ffd177b52ffc59163c708d9b2f7275">evhttp_request_new</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp_request * evhttp_request_new(void(*cb)(struct evhttp_request *, void *), void *arg)</div><div class="ttdoc">Creates a new request object that needs to be filled in with the request parameters.</div></div>
<div class="ttc" id="ahttp_8h_html_af33ddcfb93380ab98ac0f75426480824"><div class="ttname"><a href="http_8h.html#af33ddcfb93380ab98ac0f75426480824">evhttp_connection_free_on_completion</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_free_on_completion(struct evhttp_connection *evcon)</div><div class="ttdoc">Disowns a given connection object.</div></div>
<div class="ttc" id="ahttp_8h_html_a5cb57564c8af123b17e8330d2f104a1d"><div class="ttname"><a href="http_8h.html#a5cb57564c8af123b17e8330d2f104a1d">evhttp_bind_socket_with_handle</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp_bound_socket * evhttp_bind_socket_with_handle(struct evhttp *http, const char *address, ev_uint16_t port)</div><div class="ttdoc">Like evhttp_bind_socket(), but returns a handle for referencing the socket.</div></div>
<div class="ttc" id="ahttp_8h_html_ad9b32eed2eb6693eef5694052f2223a8"><div class="ttname"><a href="http_8h.html#ad9b32eed2eb6693eef5694052f2223a8">evhttp_parse_query</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_parse_query(const char *uri, struct evkeyvalq *headers)</div><div class="ttdoc">Helper function to parse out arguments in a query.</div></div>
<div class="ttc" id="ahttp_8h_html_a4447fa5bf7323b98a74fc660bcd892d8"><div class="ttname"><a href="http_8h.html#a4447fa5bf7323b98a74fc660bcd892d8">evhttp_uri_new</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp_uri * evhttp_uri_new(void)</div><div class="ttdoc">Return a new empty evhttp_uri with no fields set.</div></div>
<div class="ttc" id="ahttp_8h_html_a3431520b3bd31e957e93e519b2fe56a5"><div class="ttname"><a href="http_8h.html#a3431520b3bd31e957e93e519b2fe56a5">evhttp_bind_socket</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_bind_socket(struct evhttp *http, const char *address, ev_uint16_t port)</div><div class="ttdoc">Binds an HTTP server on the specified address and port.</div></div>
<div class="ttc" id="ahttp_8h_html_aab47f88b970a6a49c0297cd7314f154b"><div class="ttname"><a href="http_8h.html#aab47f88b970a6a49c0297cd7314f154b">evhttp_connection_base_bufferevent_unix_new</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp_connection * evhttp_connection_base_bufferevent_unix_new(struct event_base *base, struct bufferevent *bev, const char *path)</div><div class="ttdoc">Create and return a connection object that can be used to for making HTTP requests over an unix domai...</div></div>
<div class="ttc" id="ahttp_8h_html_ae0916087937baf9c4e99e19301ae59f8"><div class="ttname"><a href="http_8h.html#ae0916087937baf9c4e99e19301ae59f8">evhttp_set_write_timeout_tv</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_write_timeout_tv(struct evhttp *http, const struct timeval *tv)</div><div class="ttdoc">Set write timeout for an HTTP request.</div></div>
<div class="ttc" id="ahttp_8h_html_ac6cc995d43fb39f838d2ff866057673c"><div class="ttname"><a href="http_8h.html#ac6cc995d43fb39f838d2ff866057673c">evhttp_uri_parse_with_flags</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp_uri * evhttp_uri_parse_with_flags(const char *source_uri, unsigned flags)</div><div class="ttdoc">Helper function to parse a URI-Reference as specified by RFC3986.</div></div>
<div class="ttc" id="ahttp_8h_html_a565c02c3469c28c1c043cb4a1e3b242c"><div class="ttname"><a href="http_8h.html#a565c02c3469c28c1c043cb4a1e3b242c">evhttp_del_accept_socket</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_del_accept_socket(struct evhttp *http, struct evhttp_bound_socket *bound_socket)</div><div class="ttdoc">Makes an HTTP server stop accepting connections on the specified socket.</div></div>
<div class="ttc" id="ahttp_8h_html_a380c78fba2c4d5efe22191673c4ed1a7"><div class="ttname"><a href="http_8h.html#a380c78fba2c4d5efe22191673c4ed1a7">evhttp_send_reply_chunk</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_send_reply_chunk(struct evhttp_request *req, struct evbuffer *databuf)</div><div class="ttdoc">Send another data chunk as part of an ongoing chunked reply.</div></div>
<div class="ttc" id="ahttp_8h_html_ac858319d667267f9fc848c2bb6931aa3"><div class="ttname"><a href="http_8h.html#ac858319d667267f9fc848c2bb6931aa3">evhttp_cmd_type</a></div><div class="ttdeci">evhttp_cmd_type</div><div class="ttdoc">The different request types supported by evhttp.</div><div class="ttdef"><b>Definition:</b> http.h:623</div></div>
<div class="ttc" id="ahttp_8h_html_a47ca41a942899d019bf59cf32301ae4f"><div class="ttname"><a href="http_8h.html#a47ca41a942899d019bf59cf32301ae4f">evhttp_request_kind</a></div><div class="ttdeci">evhttp_request_kind</div><div class="ttdoc">a request object can represent either a request or a reply</div><div class="ttdef"><b>Definition:</b> http.h:660</div></div>
<div class="ttc" id="ahttp_8h_html_abdae107e1eba62a9a015892fb761f074"><div class="ttname"><a href="http_8h.html#abdae107e1eba62a9a015892fb761f074">evhttp_uri_parse</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp_uri * evhttp_uri_parse(const char *source_uri)</div><div class="ttdoc">Alias for evhttp_uri_parse_with_flags(source_uri, 0)</div></div>
<div class="ttc" id="ahttp_8h_html_ab8d3d92102ff797ea2375db5235ebe49"><div class="ttname"><a href="http_8h.html#ab8d3d92102ff797ea2375db5235ebe49">evhttp_connection_set_timeout_tv</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_set_timeout_tv(struct evhttp_connection *evcon, const struct timeval *tv)</div><div class="ttdoc">Sets the timeout for this connection for the following events:</div></div>
<div class="ttc" id="ahttp_8h_html_a3d812da94907b41165dfa2efc09bd329"><div class="ttname"><a href="http_8h.html#a3d812da94907b41165dfa2efc09bd329">evhttp_request_set_header_cb</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_request_set_header_cb(struct evhttp_request *, int(*cb)(struct evhttp_request *, void *))</div><div class="ttdoc">Register callback for additional parsing of request headers.</div></div>
<div class="ttc" id="ahttp_8h_html_a56fd87a6f536bb28a66dbbfda1eaf328"><div class="ttname"><a href="http_8h.html#a56fd87a6f536bb28a66dbbfda1eaf328">evhttp_uri_get_unixsocket</a></div><div class="ttdeci">const EVENT2_EXPORT_SYMBOL char * evhttp_uri_get_unixsocket(const struct evhttp_uri *uri)</div><div class="ttdoc">Return the unix socket part of an evhttp_uri, or NULL if there is no unix socket set.</div></div>
<div class="ttc" id="ahttp_8h_html_ace8a70a82c88bfc3856a1b2ae1c9a40b"><div class="ttname"><a href="http_8h.html#ace8a70a82c88bfc3856a1b2ae1c9a40b">evhttp_request_set_chunked_cb</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_request_set_chunked_cb(struct evhttp_request *, void(*cb)(struct evhttp_request *, void *))</div><div class="ttdoc">Enable delivery of chunks to requestor.</div></div>
<div class="ttc" id="ahttp_8h_html_aaf15e06932005ac0bc890b6fe72b19e3"><div class="ttname"><a href="http_8h.html#aaf15e06932005ac0bc890b6fe72b19e3">evhttp_connection_free</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_free(struct evhttp_connection *evcon)</div><div class="ttdoc">Frees an http connection.</div></div>
<div class="ttc" id="ahttp_8h_html_ae91224cfece07d01a029eb67e9053819"><div class="ttname"><a href="http_8h.html#ae91224cfece07d01a029eb67e9053819">evhttp_connection_base_new</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp_connection * evhttp_connection_base_new(struct event_base *base, struct evdns_base *dnsbase, const char *address, ev_uint16_t port)</div><div class="ttdoc">Create and return a connection object that can be used to for making HTTP requests.</div></div>
<div class="ttc" id="ahttp_8h_html_a01f921a909d1504f873222b1d29c2b4aac26adda43a54b9011756e83e93b9b26b"><div class="ttname"><a href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aac26adda43a54b9011756e83e93b9b26b">EVREQ_HTTP_DATA_TOO_LONG</a></div><div class="ttdeci">@ EVREQ_HTTP_DATA_TOO_LONG</div><div class="ttdoc">Body is greater then evhttp_connection_set_max_body_size()</div><div class="ttdef"><b>Definition:</b> http.h:791</div></div>
<div class="ttc" id="ahttp_8h_html_a53cbc32c73ae066cf6140698a2fca532"><div class="ttname"><a href="http_8h.html#a53cbc32c73ae066cf6140698a2fca532">evhttp_set_default_content_type</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_default_content_type(struct evhttp *http, const char *content_type)</div><div class="ttdoc">Set the value to use for the Content-Type header when none was provided.</div></div>
<div class="ttc" id="ahttp_8h_html_af2d03ee60bd21072b67ec7b89d476226"><div class="ttname"><a href="http_8h.html#af2d03ee60bd21072b67ec7b89d476226">evhttp_uri_get_fragment</a></div><div class="ttdeci">const EVENT2_EXPORT_SYMBOL char * evhttp_uri_get_fragment(const struct evhttp_uri *uri)</div><div class="ttdoc">Return the fragment part of an evhttp_uri (excluding the leading "#"), or NULL if it has no fragment ...</div></div>
<div class="ttc" id="ahttp_8h_html_a8d21ffce46e0207d97d31cfac295e079"><div class="ttname"><a href="http_8h.html#a8d21ffce46e0207d97d31cfac295e079">evhttp_connection_get_peer</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_connection_get_peer(struct evhttp_connection *evcon, const char **address, ev_uint16_t *port)</div><div class="ttdoc">Get the remote address and port associated with this connection.</div></div>
<div class="ttc" id="ahttp_8h_html_a9ee088f799a4f8ade368f0e18817d432"><div class="ttname"><a href="http_8h.html#a9ee088f799a4f8ade368f0e18817d432">evhttp_set_max_connections</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_max_connections(struct evhttp *http, int max_connections)</div><div class="ttdoc">Set the maximum number of simultaneous connections for this server.</div></div>
<div class="ttc" id="ahttp_8h_html_a04d806174bb259be406b32669a4ed9cc"><div class="ttname"><a href="http_8h.html#a04d806174bb259be406b32669a4ed9cc">evhttp_add_header</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_add_header(struct evkeyvalq *headers, const char *key, const char *value)</div><div class="ttdoc">Adds a header to a list of existing headers.</div></div>
<div class="ttc" id="ahttp_8h_html_aa18f3bc6e899f80ba047a683d245245b"><div class="ttname"><a href="http_8h.html#aa18f3bc6e899f80ba047a683d245245b">evhttp_uri_set_flags</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_uri_set_flags(struct evhttp_uri *uri, unsigned flags)</div><div class="ttdoc">Changes the flags set on a given URI.</div></div>
<div class="ttc" id="ahttp_8h_html_a9a61f2b2ae4b7b733871f64e89360d75"><div class="ttname"><a href="http_8h.html#a9a61f2b2ae4b7b733871f64e89360d75">evhttp_parse_query_str</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_parse_query_str(const char *uri, struct evkeyvalq *headers)</div></div>
<div class="ttc" id="ahttp_8h_html_a47d90ffdd80edc13ab4197e2c21a1403"><div class="ttname"><a href="http_8h.html#a47d90ffdd80edc13ab4197e2c21a1403">evhttp_send_error</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_send_error(struct evhttp_request *req, int error, const char *reason)</div><div class="ttdoc">Send an HTML error message to the client.</div></div>
<div class="ttc" id="ahttp_8h_html_a01f921a909d1504f873222b1d29c2b4aa52bd0bcf036c6577b3ea55c7c086880d"><div class="ttname"><a href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aa52bd0bcf036c6577b3ea55c7c086880d">EVREQ_HTTP_TIMEOUT</a></div><div class="ttdeci">@ EVREQ_HTTP_TIMEOUT</div><div class="ttdoc">Timeout reached, also.</div><div class="ttdef"><b>Definition:</b> http.h:771</div></div>
<div class="ttc" id="ahttp_8h_html_a8742ce04eb4951e7af8cb200bc9669ef"><div class="ttname"><a href="http_8h.html#a8742ce04eb4951e7af8cb200bc9669ef">evhttp_encode_uri</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL char * evhttp_encode_uri(const char *str)</div><div class="ttdoc">Helper function to encode a string for inclusion in a URI.</div></div>
<div class="ttc" id="ahttp_8h_html_ac7259917dbf5cac8ff0e3d00b8574cbe"><div class="ttname"><a href="http_8h.html#ac7259917dbf5cac8ff0e3d00b8574cbe">evhttp_uri_set_unixsocket</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_uri_set_unixsocket(struct evhttp_uri *uri, const char *unixsocket)</div><div class="ttdoc">Set the unix socket of an evhttp_uri, or clear the unix socket if unixsocket==NULL.</div></div>
<div class="ttc" id="ahttp_8h_html_a837276600c9c2f0521c44879c8d371b7"><div class="ttname"><a href="http_8h.html#a837276600c9c2f0521c44879c8d371b7">evhttp_uridecode</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL char * evhttp_uridecode(const char *uri, int decode_plus, size_t *size_out)</div><div class="ttdoc">Helper function to decode a URI-escaped string or HTTP parameter.</div></div>
<div class="ttc" id="ahttp_8h_html_a7758d5808bd2e062d2aa3912ca19d2fd"><div class="ttname"><a href="http_8h.html#a7758d5808bd2e062d2aa3912ca19d2fd">evhttp_cancel_request</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_cancel_request(struct evhttp_request *req)</div><div class="ttdoc">Cancels a pending HTTP request.</div></div>
<div class="ttc" id="ahttp_8h_html_af528a5c6a3a6212cefadf21f751a9718"><div class="ttname"><a href="http_8h.html#af528a5c6a3a6212cefadf21f751a9718">evhttp_request_get_evhttp_uri</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL const struct evhttp_uri * evhttp_request_get_evhttp_uri(const struct evhttp_request *req)</div><div class="ttdoc">Returns the request URI (parsed)</div></div>
<div class="ttc" id="ahttp_8h_html_a2b19501e4d1ae89df696304e9b18fbe0"><div class="ttname"><a href="http_8h.html#a2b19501e4d1ae89df696304e9b18fbe0">evhttp_uri_get_scheme</a></div><div class="ttdeci">const EVENT2_EXPORT_SYMBOL char * evhttp_uri_get_scheme(const struct evhttp_uri *uri)</div><div class="ttdoc">Return the scheme of an evhttp_uri, or NULL if there is no scheme has been set and the evhttp_uri con...</div></div>
<div class="ttc" id="ahttp_8h_html_a45fcdbd2ca2683418f3745cbb8745256"><div class="ttname"><a href="http_8h.html#a45fcdbd2ca2683418f3745cbb8745256">evhttp_uri_set_scheme</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_uri_set_scheme(struct evhttp_uri *uri, const char *scheme)</div><div class="ttdoc">Set the scheme of an evhttp_uri, or clear the scheme if scheme==NULL.</div></div>
<div class="ttc" id="ahttp_8h_html_ad12a28805401f4f498964987385ed1e3"><div class="ttname"><a href="http_8h.html#ad12a28805401f4f498964987385ed1e3">evhttp_request_get_output_headers</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evkeyvalq * evhttp_request_get_output_headers(struct evhttp_request *req)</div><div class="ttdoc">Returns the output headers.</div></div>
<div class="ttc" id="ahttp_8h_html_a54b0a309df8639541cfb552ab152e9bd"><div class="ttname"><a href="http_8h.html#a54b0a309df8639541cfb552ab152e9bd">evhttp_find_header</a></div><div class="ttdeci">const EVENT2_EXPORT_SYMBOL char * evhttp_find_header(const struct evkeyvalq *headers, const char *key)</div><div class="ttdoc">Finds the value belonging to a header.</div></div>
<div class="ttc" id="ahttp_8h_html_a2d816772ec078f8cf0367b4be63095b3"><div class="ttname"><a href="http_8h.html#a2d816772ec078f8cf0367b4be63095b3">evhttp_request_get_connection</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp_connection * evhttp_request_get_connection(struct evhttp_request *req)</div><div class="ttdoc">Returns the connection object associated with the request or NULL.</div></div>
<div class="ttc" id="ahttp_8h_html_a52e68315974c684709c373fe7c46bec8"><div class="ttname"><a href="http_8h.html#a52e68315974c684709c373fe7c46bec8">evhttp_set_gencb</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_gencb(struct evhttp *http, void(*cb)(struct evhttp_request *, void *), void *arg)</div><div class="ttdoc">Set a callback for all requests that are not caught by specific callbacks.</div></div>
<div class="ttc" id="autil_8h_html"><div class="ttname"><a href="util_8h.html">util.h</a></div><div class="ttdoc">Common convenience functions for cross-platform portability and related socket manipulations.</div></div>
<div class="ttc" id="ahttp_8h_html_ad9259be209e6afbf15987922d1841e70"><div class="ttname"><a href="http_8h.html#ad9259be209e6afbf15987922d1841e70">evhttp_uriencode</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL char * evhttp_uriencode(const char *str, ev_ssize_t size, int space_to_plus)</div><div class="ttdoc">As evhttp_encode_uri, but if 'size' is nonnegative, treat the string as being 'size' bytes long.</div></div>
<div class="ttc" id="ahttp_8h_html_a171f175f66ceb0bd7ca93b32229a54c5"><div class="ttname"><a href="http_8h.html#a171f175f66ceb0bd7ca93b32229a54c5">evhttp_set_ext_method_cmp</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_set_ext_method_cmp(struct evhttp *http, evhttp_ext_method_cb cmp)</div><div class="ttdoc">Sets the callback function which allows HTTP extended methods to be supported by this server.</div></div>
<div class="ttc" id="ahttp_8h_html_a18d321f8f459b7d6e1826b3e8c53c921"><div class="ttname"><a href="http_8h.html#a18d321f8f459b7d6e1826b3e8c53c921">evhttp_bind_listener</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp_bound_socket * evhttp_bind_listener(struct evhttp *http, struct evconnlistener *listener)</div><div class="ttdoc">The most low-level evhttp_bind/accept method: takes an evconnlistener, and returns an evhttp_bound_so...</div></div>
<div class="ttc" id="ahttp_8h_html_a694a80962c9dd37014b4bd61f6a04275"><div class="ttname"><a href="http_8h.html#a694a80962c9dd37014b4bd61f6a04275">evhttp_send_reply_chunk_with_cb</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL void evhttp_send_reply_chunk_with_cb(struct evhttp_request *req, struct evbuffer *databuf, void(*cb)(struct evhttp_connection *, void *), void *arg)</div><div class="ttdoc">Send another data chunk as part of an ongoing chunked reply.</div></div>
<div class="ttc" id="ahttp_8h_html_aaa22a9dc787b32f5133e81a7f5e96d25"><div class="ttname"><a href="http_8h.html#aaa22a9dc787b32f5133e81a7f5e96d25">evhttp_uri_get_host</a></div><div class="ttdeci">const EVENT2_EXPORT_SYMBOL char * evhttp_uri_get_host(const struct evhttp_uri *uri)</div><div class="ttdoc">Return the host part of an evhttp_uri, or NULL if it has no host set.</div></div>
<div class="ttc" id="ahttp_8h_html_a28fb801171a5f4a71057629e15c70fb5"><div class="ttname"><a href="http_8h.html#a28fb801171a5f4a71057629e15c70fb5">evhttp_htmlescape</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL char * evhttp_htmlescape(const char *html)</div><div class="ttdoc">Escape HTML character entities in a string.</div></div>
<div class="ttc" id="ahttp_8h_html_a68381a3b8dbab796bdcf44ef64a45a73"><div class="ttname"><a href="http_8h.html#a68381a3b8dbab796bdcf44ef64a45a73">evhttp_accept_socket_with_handle</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL struct evhttp_bound_socket * evhttp_accept_socket_with_handle(struct evhttp *http, evutil_socket_t fd)</div><div class="ttdoc">Like evhttp_accept_socket(), but returns a handle for referencing the socket.</div></div>
<div class="ttc" id="autil_8h_html_a7ef0023565082a65020f6e56be59fd0b"><div class="ttname"><a href="util_8h.html#a7ef0023565082a65020f6e56be59fd0b">evutil_socket_t</a></div><div class="ttdeci">#define evutil_socket_t</div><div class="ttdoc">A type wide enough to hold the output of "socket()" or "accept()".</div><div class="ttdef"><b>Definition:</b> util.h:325</div></div>
<div class="ttc" id="ahttp_8h_html_ad7afbe5f5ce3dd8aa00496c859847947"><div class="ttname"><a href="http_8h.html#ad7afbe5f5ce3dd8aa00496c859847947">evhttp_del_cb</a></div><div class="ttdeci">EVENT2_EXPORT_SYMBOL int evhttp_del_cb(struct evhttp *, const char *)</div><div class="ttdoc">Removes the callback for a specified URI.</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>