xref: /libevent-2.1.12/include/evhttp.h (revision 3f8c7cd0)
1bbea8d6bSNick Mathewson /*
2bbea8d6bSNick Mathewson  * Copyright 2000-2007 Niels Provos <[email protected]>
3bbea8d6bSNick Mathewson  * Copyright 2007-2012 Niels Provos and Nick Mathewson
4bbea8d6bSNick Mathewson  *
5bbea8d6bSNick Mathewson  * Redistribution and use in source and binary forms, with or without
6bbea8d6bSNick Mathewson  * modification, are permitted provided that the following conditions
7bbea8d6bSNick Mathewson  * are met:
8bbea8d6bSNick Mathewson  * 1. Redistributions of source code must retain the above copyright
9bbea8d6bSNick Mathewson  *    notice, this list of conditions and the following disclaimer.
10bbea8d6bSNick Mathewson  * 2. Redistributions in binary form must reproduce the above copyright
11bbea8d6bSNick Mathewson  *    notice, this list of conditions and the following disclaimer in the
12bbea8d6bSNick Mathewson  *    documentation and/or other materials provided with the distribution.
13bbea8d6bSNick Mathewson  * 3. The name of the author may not be used to endorse or promote products
14bbea8d6bSNick Mathewson  *    derived from this software without specific prior written permission.
15bbea8d6bSNick Mathewson  *
16bbea8d6bSNick Mathewson  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17bbea8d6bSNick Mathewson  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18bbea8d6bSNick Mathewson  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19bbea8d6bSNick Mathewson  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20bbea8d6bSNick Mathewson  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21bbea8d6bSNick Mathewson  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22bbea8d6bSNick Mathewson  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23bbea8d6bSNick Mathewson  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24bbea8d6bSNick Mathewson  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25bbea8d6bSNick Mathewson  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26bbea8d6bSNick Mathewson  */
27*3f8c7cd0SNick Mathewson #ifndef EVENT1_EVHTTP_H_INCLUDED_
28*3f8c7cd0SNick Mathewson #define EVENT1_EVHTTP_H_INCLUDED_
29bbea8d6bSNick Mathewson 
30bbea8d6bSNick Mathewson /** @file evhttp.h
31bbea8d6bSNick Mathewson 
32bbea8d6bSNick Mathewson   An http implementation subsystem for Libevent.
33bbea8d6bSNick Mathewson 
34bbea8d6bSNick Mathewson   The <evhttp.h> header is deprecated in Libevent 2.0 and later; please
35bbea8d6bSNick Mathewson   use <event2/http.h> instead.  Depending on what functionality you
36bbea8d6bSNick Mathewson   need, you may also want to include more of the other <event2/...>
37bbea8d6bSNick Mathewson   headers.
38bbea8d6bSNick Mathewson  */
39bbea8d6bSNick Mathewson 
40bbea8d6bSNick Mathewson #include <event.h>
41bbea8d6bSNick Mathewson #include <event2/http.h>
42bbea8d6bSNick Mathewson #include <event2/http_struct.h>
43bbea8d6bSNick Mathewson #include <event2/http_compat.h>
44bbea8d6bSNick Mathewson 
45*3f8c7cd0SNick Mathewson #endif /* EVENT1_EVHTTP_H_INCLUDED_ */
46