diff options
author | kikht <kikht@yandex-team.ru> | 2022-02-10 16:45:14 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:14 +0300 |
commit | 194cae0e8855b11be2005e1eff12c660c3ee9774 (patch) | |
tree | ed29c437b616690880c017855ebe0be34fdf81a2 /contrib/libs/libevent/include/event2/event_compat.h | |
parent | 49116032d905455a7b1c994e4a696afc885c1e71 (diff) | |
download | ydb-194cae0e8855b11be2005e1eff12c660c3ee9774.tar.gz |
Restoring authorship annotation for <kikht@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/libevent/include/event2/event_compat.h')
-rw-r--r-- | contrib/libs/libevent/include/event2/event_compat.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/contrib/libs/libevent/include/event2/event_compat.h b/contrib/libs/libevent/include/event2/event_compat.h index 5110175a1b..67612da65b 100644 --- a/contrib/libs/libevent/include/event2/event_compat.h +++ b/contrib/libs/libevent/include/event2/event_compat.h @@ -24,8 +24,8 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef EVENT2_EVENT_COMPAT_H_INCLUDED_ -#define EVENT2_EVENT_COMPAT_H_INCLUDED_ +#ifndef EVENT2_EVENT_COMPAT_H_INCLUDED_ +#define EVENT2_EVENT_COMPAT_H_INCLUDED_ /** @file event2/event_compat.h @@ -41,17 +41,17 @@ @deprecated All functions in this file are by definition deprecated. */ -#include <event2/visibility.h> +#include <event2/visibility.h> #ifdef __cplusplus extern "C" { #endif #include <event2/event-config.h> -#ifdef EVENT__HAVE_SYS_TYPES_H +#ifdef EVENT__HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#ifdef EVENT__HAVE_SYS_TIME_H +#ifdef EVENT__HAVE_SYS_TIME_H #include <sys/time.h> #endif @@ -71,7 +71,7 @@ extern "C" { @see event_base_set(), event_base_new() */ -EVENT2_EXPORT_SYMBOL +EVENT2_EXPORT_SYMBOL struct event_base *event_init(void); /** @@ -85,7 +85,7 @@ struct event_base *event_init(void); @see event_base_dispatch(), event_init() */ -EVENT2_EXPORT_SYMBOL +EVENT2_EXPORT_SYMBOL int event_dispatch(void); /** @@ -99,7 +99,7 @@ int event_dispatch(void); @see event_base_loop(), event_init() */ -EVENT2_EXPORT_SYMBOL +EVENT2_EXPORT_SYMBOL int event_loop(int); @@ -115,7 +115,7 @@ int event_loop(int); @see event_init, event_base_loopexit() */ -EVENT2_EXPORT_SYMBOL +EVENT2_EXPORT_SYMBOL int event_loopexit(const struct timeval *); @@ -131,7 +131,7 @@ int event_loopexit(const struct timeval *); @see event_base_loopbreak(), event_init() */ -EVENT2_EXPORT_SYMBOL +EVENT2_EXPORT_SYMBOL int event_loopbreak(void); /** @@ -143,7 +143,7 @@ int event_loopbreak(void); @see event_base_once() */ -EVENT2_EXPORT_SYMBOL +EVENT2_EXPORT_SYMBOL int event_once(evutil_socket_t , short, void (*)(evutil_socket_t, short, void *), void *, const struct timeval *); @@ -157,7 +157,7 @@ int event_once(evutil_socket_t , short, @see event_base_get_method() */ -EVENT2_EXPORT_SYMBOL +EVENT2_EXPORT_SYMBOL const char *event_get_method(void); @@ -170,7 +170,7 @@ const char *event_get_method(void); @see event_base_priority_init() */ -EVENT2_EXPORT_SYMBOL +EVENT2_EXPORT_SYMBOL int event_priority_init(int); /** @@ -180,7 +180,7 @@ int event_priority_init(int); a subsequent call to event_base_set() to be safe under most circumstances. Use event_assign() or event_new() instead. */ -EVENT2_EXPORT_SYMBOL +EVENT2_EXPORT_SYMBOL void event_set(struct event *, evutil_socket_t, short, void (*)(evutil_socket_t, short, void *), void *); #define evtimer_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) @@ -227,4 +227,4 @@ void event_set(struct event *, evutil_socket_t, short, void (*)(evutil_socket_t, } #endif -#endif /* EVENT2_EVENT_COMPAT_H_INCLUDED_ */ +#endif /* EVENT2_EVENT_COMPAT_H_INCLUDED_ */ |