Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include
File: event.h
/*
[0] Fix | Delete
* Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
[1] Fix | Delete
* Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
[2] Fix | Delete
*
[3] Fix | Delete
* Redistribution and use in source and binary forms, with or without
[4] Fix | Delete
* modification, are permitted provided that the following conditions
[5] Fix | Delete
* are met:
[6] Fix | Delete
* 1. Redistributions of source code must retain the above copyright
[7] Fix | Delete
* notice, this list of conditions and the following disclaimer.
[8] Fix | Delete
* 2. Redistributions in binary form must reproduce the above copyright
[9] Fix | Delete
* notice, this list of conditions and the following disclaimer in the
[10] Fix | Delete
* documentation and/or other materials provided with the distribution.
[11] Fix | Delete
* 3. The name of the author may not be used to endorse or promote products
[12] Fix | Delete
* derived from this software without specific prior written permission.
[13] Fix | Delete
*
[14] Fix | Delete
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
[15] Fix | Delete
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
[16] Fix | Delete
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
[17] Fix | Delete
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
[18] Fix | Delete
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
[19] Fix | Delete
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
[20] Fix | Delete
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
[21] Fix | Delete
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
[22] Fix | Delete
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
[23] Fix | Delete
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
[24] Fix | Delete
*/
[25] Fix | Delete
#ifndef EVENT1_EVENT_H_INCLUDED_
[26] Fix | Delete
#define EVENT1_EVENT_H_INCLUDED_
[27] Fix | Delete
[28] Fix | Delete
/** @file event.h
[29] Fix | Delete
[30] Fix | Delete
A library for writing event-driven network servers.
[31] Fix | Delete
[32] Fix | Delete
The <event.h> header is deprecated in Libevent 2.0 and later; please
[33] Fix | Delete
use <event2/event.h> instead. Depending on what functionality you
[34] Fix | Delete
need, you may also want to include more of the other event2/
[35] Fix | Delete
headers.
[36] Fix | Delete
*/
[37] Fix | Delete
[38] Fix | Delete
#ifdef __cplusplus
[39] Fix | Delete
extern "C" {
[40] Fix | Delete
#endif
[41] Fix | Delete
[42] Fix | Delete
#include <event2/event-config.h>
[43] Fix | Delete
#ifdef EVENT__HAVE_SYS_TYPES_H
[44] Fix | Delete
#include <sys/types.h>
[45] Fix | Delete
#endif
[46] Fix | Delete
#ifdef EVENT__HAVE_SYS_TIME_H
[47] Fix | Delete
#include <sys/time.h>
[48] Fix | Delete
#endif
[49] Fix | Delete
#ifdef EVENT__HAVE_STDINT_H
[50] Fix | Delete
#include <stdint.h>
[51] Fix | Delete
#endif
[52] Fix | Delete
#include <stdarg.h>
[53] Fix | Delete
[54] Fix | Delete
/* For int types. */
[55] Fix | Delete
#include <evutil.h>
[56] Fix | Delete
[57] Fix | Delete
#ifdef _WIN32
[58] Fix | Delete
#ifndef WIN32_LEAN_AND_MEAN
[59] Fix | Delete
#define WIN32_LEAN_AND_MEAN
[60] Fix | Delete
#endif
[61] Fix | Delete
#include <winsock2.h>
[62] Fix | Delete
#include <windows.h>
[63] Fix | Delete
#undef WIN32_LEAN_AND_MEAN
[64] Fix | Delete
#endif
[65] Fix | Delete
[66] Fix | Delete
#include <event2/event_struct.h>
[67] Fix | Delete
#include <event2/event.h>
[68] Fix | Delete
#include <event2/event_compat.h>
[69] Fix | Delete
#include <event2/buffer.h>
[70] Fix | Delete
#include <event2/buffer_compat.h>
[71] Fix | Delete
#include <event2/bufferevent.h>
[72] Fix | Delete
#include <event2/bufferevent_struct.h>
[73] Fix | Delete
#include <event2/bufferevent_compat.h>
[74] Fix | Delete
#include <event2/tag.h>
[75] Fix | Delete
#include <event2/tag_compat.h>
[76] Fix | Delete
[77] Fix | Delete
#ifdef __cplusplus
[78] Fix | Delete
}
[79] Fix | Delete
#endif
[80] Fix | Delete
[81] Fix | Delete
#endif /* EVENT1_EVENT_H_INCLUDED_ */
[82] Fix | Delete
[83] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function