aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/curl/lib/if2ip.h
diff options
context:
space:
mode:
authordeshevoy <deshevoy@yandex-team.ru>2022-02-10 16:46:57 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:57 +0300
commit28148f76dbfcc644d96427d41c92f36cbf2fdc6e (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /contrib/libs/curl/lib/if2ip.h
parente988f30484abe5fdeedcc7a5d3c226c01a21800c (diff)
downloadydb-28148f76dbfcc644d96427d41c92f36cbf2fdc6e.tar.gz
Restoring authorship annotation for <deshevoy@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/curl/lib/if2ip.h')
-rw-r--r--contrib/libs/curl/lib/if2ip.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/contrib/libs/curl/lib/if2ip.h b/contrib/libs/curl/lib/if2ip.h
index c23f4b828b..e074e476dc 100644
--- a/contrib/libs/curl/lib/if2ip.h
+++ b/contrib/libs/curl/lib/if2ip.h
@@ -23,15 +23,15 @@
***************************************************************************/
#include "curl_setup.h"
-/* IPv6 address scopes. */
-#define IPV6_SCOPE_GLOBAL 0 /* Global scope. */
-#define IPV6_SCOPE_LINKLOCAL 1 /* Link-local scope. */
-#define IPV6_SCOPE_SITELOCAL 2 /* Site-local scope (deprecated). */
-#define IPV6_SCOPE_UNIQUELOCAL 3 /* Unique local */
-#define IPV6_SCOPE_NODELOCAL 4 /* Loopback. */
-
-unsigned int Curl_ipv6_scope(const struct sockaddr *sa);
-
+/* IPv6 address scopes. */
+#define IPV6_SCOPE_GLOBAL 0 /* Global scope. */
+#define IPV6_SCOPE_LINKLOCAL 1 /* Link-local scope. */
+#define IPV6_SCOPE_SITELOCAL 2 /* Site-local scope (deprecated). */
+#define IPV6_SCOPE_UNIQUELOCAL 3 /* Unique local */
+#define IPV6_SCOPE_NODELOCAL 4 /* Loopback. */
+
+unsigned int Curl_ipv6_scope(const struct sockaddr *sa);
+
typedef enum {
IF2IP_NOT_FOUND = 0, /* Interface not found */
IF2IP_AF_NOT_SUPPORTED = 1, /* Int. exists but has no address for this af */
@@ -40,7 +40,7 @@ typedef enum {
if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope,
unsigned int local_scope_id, const char *interf,
- char *buf, int buf_size);
+ char *buf, int buf_size);
#ifdef __INTERIX