diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-10 16:45:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:08 +0300 |
commit | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch) | |
tree | 506dac10f5df94fab310584ee51b24fc5a081c22 /contrib/libs/libevent/include | |
parent | 2d37894b1b037cf24231090eda8589bbb44fb6fc (diff) | |
download | ydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz |
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/libevent/include')
6 files changed, 51 insertions, 51 deletions
diff --git a/contrib/libs/libevent/include/event2/buffer.h b/contrib/libs/libevent/include/event2/buffer.h index 88af3ae141..ca67451fa5 100644 --- a/contrib/libs/libevent/include/event2/buffer.h +++ b/contrib/libs/libevent/include/event2/buffer.h @@ -726,8 +726,8 @@ int evbuffer_write_atmost(struct evbuffer *buffer, evutil_socket_t fd, @param buffer the evbuffer to store the result @param fd the file descriptor to read from - @param howmuch the number of bytes to be read. If the given number is negative - or out of maximum bytes per one read, as many bytes as we can will be read. + @param howmuch the number of bytes to be read. If the given number is negative + or out of maximum bytes per one read, as many bytes as we can will be read. @return the number of bytes read, or -1 if an error occurred @see evbuffer_write() */ diff --git a/contrib/libs/libevent/include/event2/event-config-linux.h b/contrib/libs/libevent/include/event2/event-config-linux.h index f8fbfe5c8b..b8c0faafde 100644 --- a/contrib/libs/libevent/include/event2/event-config-linux.h +++ b/contrib/libs/libevent/include/event2/event-config-linux.h @@ -26,9 +26,9 @@ /* Define to 1 if you have the `accept4' function. */ #define EVENT__HAVE_ACCEPT4 1 -/* Define to 1 if you have the <afunix.h> header file. */ -/* #undef EVENT__HAVE_AFUNIX_H */ - +/* Define to 1 if you have the <afunix.h> header file. */ +/* #undef EVENT__HAVE_AFUNIX_H */ + /* Define to 1 if you have the `arc4random' function. */ /* #undef EVENT__HAVE_ARC4RANDOM */ @@ -46,11 +46,11 @@ /* Define to 1 if you have the declaration of `CTL_KERN', and to 0 if you don't. */ -/* #undef EVENT__HAVE_DECL_CTL_KERN */ +/* #undef EVENT__HAVE_DECL_CTL_KERN */ /* Define to 1 if you have the declaration of `KERN_ARND', and to 0 if you don't. */ -/* #undef EVENT__HAVE_DECL_KERN_ARND */ +/* #undef EVENT__HAVE_DECL_KERN_ARND */ /* Define if /dev/poll is available */ /* #undef EVENT__HAVE_DEVPOLL */ @@ -115,9 +115,9 @@ /* Define to 1 if you have the `getprotobynumber' function. */ #define EVENT__HAVE_GETPROTOBYNUMBER 1 -/* Define to 1 if you have the `getrandom' function. */ -#define EVENT__HAVE_GETRANDOM 1 - +/* Define to 1 if you have the `getrandom' function. */ +#define EVENT__HAVE_GETRANDOM 1 + /* Define to 1 if you have the `getservbyname' function. */ #define EVENT__HAVE_GETSERVBYNAME 1 @@ -142,18 +142,18 @@ /* Define to 1 if you have the `kqueue' function. */ /* #undef EVENT__HAVE_KQUEUE */ -/* Define to 1 if you have the `ws2_32' library (-lws2_32). */ -/* #undef EVENT__HAVE_LIBWS2_32 */ - +/* Define to 1 if you have the `ws2_32' library (-lws2_32). */ +/* #undef EVENT__HAVE_LIBWS2_32 */ + /* Define if the system has zlib */ #define EVENT__HAVE_LIBZ 1 /* Define to 1 if you have the `mach_absolute_time' function. */ /* #undef EVENT__HAVE_MACH_ABSOLUTE_TIME */ -/* Define to 1 if you have the <mach/mach.h> header file. */ -/* #undef EVENT__HAVE_MACH_MACH_H */ - +/* Define to 1 if you have the <mach/mach.h> header file. */ +/* #undef EVENT__HAVE_MACH_MACH_H */ + /* Define to 1 if you have the <mach/mach_time.h> header file. */ /* #undef EVENT__HAVE_MACH_MACH_TIME_H */ @@ -305,7 +305,7 @@ #define EVENT__HAVE_STRUCT_SOCKADDR_UN 1 /* Define to 1 if you have the `sysctl' function. */ -/* #undef EVENT__HAVE_SYSCTL */ +/* #undef EVENT__HAVE_SYSCTL */ /* Define to 1 if you have the <sys/devpoll.h> header file. */ /* #undef EVENT__HAVE_SYS_DEVPOLL_H */ @@ -331,9 +331,9 @@ /* Define to 1 if you have the <sys/queue.h> header file. */ #define EVENT__HAVE_SYS_QUEUE_H 1 -/* Define to 1 if you have the <sys/random.h> header file. */ -#define EVENT__HAVE_SYS_RANDOM_H 1 - +/* Define to 1 if you have the <sys/random.h> header file. */ +#define EVENT__HAVE_SYS_RANDOM_H 1 + /* Define to 1 if you have the <sys/resource.h> header file. */ #define EVENT__HAVE_SYS_RESOURCE_H 1 @@ -350,7 +350,7 @@ #define EVENT__HAVE_SYS_STAT_H 1 /* Define to 1 if you have the <sys/sysctl.h> header file. */ -/* #undef EVENT__HAVE_SYS_SYSCTL_H */ +/* #undef EVENT__HAVE_SYS_SYSCTL_H */ /* Define to 1 if you have the <sys/timerfd.h> header file. */ #define EVENT__HAVE_SYS_TIMERFD_H 1 @@ -424,12 +424,12 @@ /* Define to 1 if you have the <zlib.h> header file. */ #define EVENT__HAVE_ZLIB_H 1 -/* Define to 1 if you have the `_gmtime64' function. */ -/* #undef EVENT__HAVE__GMTIME64 */ - -/* Define to 1 if you have the `_gmtime64_s' function. */ -/* #undef EVENT__HAVE__GMTIME64_S */ - +/* Define to 1 if you have the `_gmtime64' function. */ +/* #undef EVENT__HAVE__GMTIME64 */ + +/* Define to 1 if you have the `_gmtime64_s' function. */ +/* #undef EVENT__HAVE__GMTIME64_S */ + /* Define to 1 if compiler have __FUNCTION__ */ #define EVENT__HAVE___FUNCTION__ 1 @@ -440,7 +440,7 @@ #define EVENT__LT_OBJDIR ".libs/" /* Numeric representation of the version */ -#define EVENT__NUMERIC_VERSION 0x02010c00 +#define EVENT__NUMERIC_VERSION 0x02010c00 /* Name of package */ #define EVENT__PACKAGE "libevent" @@ -452,7 +452,7 @@ #define EVENT__PACKAGE_NAME "libevent" /* Define to the full name and version of this package. */ -#define EVENT__PACKAGE_STRING "libevent 2.1.12-stable" +#define EVENT__PACKAGE_STRING "libevent 2.1.12-stable" /* Define to the one symbol short name of this package. */ #define EVENT__PACKAGE_TARNAME "libevent" @@ -461,7 +461,7 @@ #define EVENT__PACKAGE_URL "" /* Define to the version of this package. */ -#define EVENT__PACKAGE_VERSION "2.1.12-stable" +#define EVENT__PACKAGE_VERSION "2.1.12-stable" /* Define to necessary symbol if this constant uses a non-standard name on your system. */ @@ -523,7 +523,7 @@ /* Version number of package */ -#define EVENT__VERSION "2.1.12-stable" +#define EVENT__VERSION "2.1.12-stable" /* Enable large inode numbers on Mac OS X 10.5. */ #ifndef _DARWIN_USE_64_BIT_INODE diff --git a/contrib/libs/libevent/include/event2/event-config-osx.h b/contrib/libs/libevent/include/event2/event-config-osx.h index 8e6c4f7ea0..23aabd6272 100644 --- a/contrib/libs/libevent/include/event2/event-config-osx.h +++ b/contrib/libs/libevent/include/event2/event-config-osx.h @@ -366,7 +366,7 @@ #define EVENT__LT_OBJDIR ".libs/" /* Numeric representation of the version */ -#define EVENT__NUMERIC_VERSION 0x02010c00 +#define EVENT__NUMERIC_VERSION 0x02010c00 /* Name of package */ #define EVENT__PACKAGE "libevent" @@ -378,7 +378,7 @@ #define EVENT__PACKAGE_NAME "" /* Define to the full name and version of this package. */ -#define EVENT__PACKAGE_STRING "libevent 2.1.12-stable" +#define EVENT__PACKAGE_STRING "libevent 2.1.12-stable" /* Define to the one symbol short name of this package. */ #define EVENT__PACKAGE_TARNAME "" @@ -387,7 +387,7 @@ #define EVENT__PACKAGE_URL "" /* Define to the version of this package. */ -#define EVENT__PACKAGE_VERSION "2.1.12-stable" +#define EVENT__PACKAGE_VERSION "2.1.12-stable" /* Define to necessary symbol if this constant uses a non-standard name on your system. */ @@ -424,7 +424,7 @@ #define EVENT__TIME_WITH_SYS_TIME 1 /* Version number of package */ -#define EVENT__VERSION "2.1.12-stable" +#define EVENT__VERSION "2.1.12-stable" /* Define to appropriate substitue if compiler doesnt have __func__ */ /* #undef EVENT____func__ */ diff --git a/contrib/libs/libevent/include/event2/event-config-win.h b/contrib/libs/libevent/include/event2/event-config-win.h index ef4141a720..942fd98931 100644 --- a/contrib/libs/libevent/include/event2/event-config-win.h +++ b/contrib/libs/libevent/include/event2/event-config-win.h @@ -277,7 +277,7 @@ /* #undef EVENT__HAVE_WORKING_KQUEUE */ /* Numeric representation of the version */ -#define EVENT__NUMERIC_VERSION 0x02010c00 +#define EVENT__NUMERIC_VERSION 0x02010c00 /* Name of package */ #define EVENT__PACKAGE "libevent" @@ -289,13 +289,13 @@ #define EVENT__PACKAGE_NAME "" /* Define to the full name and version of this package. */ -#define EVENT__PACKAGE_STRING "libevent 2.1.12-stable" +#define EVENT__PACKAGE_STRING "libevent 2.1.12-stable" /* Define to the one symbol short name of this package. */ #define EVENT__PACKAGE_TARNAME "" /* Define to the version of this package. */ -#define EVENT__PACKAGE_VERSION "2.1.12-stable" +#define EVENT__PACKAGE_VERSION "2.1.12-stable" /* Define to necessary symbol if this constant uses a non-standard name on your system. */ @@ -334,7 +334,7 @@ #define EVENT__TIME_WITH_SYS_TIME 1 /* Version number of package */ -#define EVENT__VERSION "2.1.12-stable" +#define EVENT__VERSION "2.1.12-stable" /* Define to appropriate substitue if compiler doesnt have __func__ */ #define EVENT____func__ __FUNCTION__ diff --git a/contrib/libs/libevent/include/event2/event-config.h b/contrib/libs/libevent/include/event2/event-config.h index 8a6043c9ba..9cdeecc84b 100644 --- a/contrib/libs/libevent/include/event2/event-config.h +++ b/contrib/libs/libevent/include/event2/event-config.h @@ -1,13 +1,13 @@ #pragma once #if defined(__APPLE__) -# include "event-config-osx.h" -#elif defined(_MSC_VER) -# include "event-config-win.h" -#else -# include "event-config-linux.h" +# include "event-config-osx.h" +#elif defined(_MSC_VER) +# include "event-config-win.h" +#else +# include "event-config-linux.h" #endif #if defined(_musl_) -# include "event-config-musl.h" +# include "event-config-musl.h" #endif diff --git a/contrib/libs/libevent/include/event2/util.h b/contrib/libs/libevent/include/event2/util.h index 02aa7ba9da..4614825f6e 100644 --- a/contrib/libs/libevent/include/event2/util.h +++ b/contrib/libs/libevent/include/event2/util.h @@ -612,12 +612,12 @@ int evutil_vsnprintf(char *buf, size_t buflen, const char *format, va_list ap) /** Replacement for inet_ntop for platforms which lack it. */ EVENT2_EXPORT_SYMBOL const char *evutil_inet_ntop(int af, const void *src, char *dst, size_t len); -/** Variation of inet_pton that also parses IPv6 scopes. Public for - unit tests. No reason to call this directly. - */ -EVENT2_EXPORT_SYMBOL -int evutil_inet_pton_scope(int af, const char *src, void *dst, - unsigned *indexp); +/** Variation of inet_pton that also parses IPv6 scopes. Public for + unit tests. No reason to call this directly. + */ +EVENT2_EXPORT_SYMBOL +int evutil_inet_pton_scope(int af, const char *src, void *dst, + unsigned *indexp); /** Replacement for inet_pton for platforms which lack it. */ EVENT2_EXPORT_SYMBOL int evutil_inet_pton(int af, const char *src, void *dst); |