summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv/src/win/internal.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-06-18 11:45:53 (GMT)
committerBrad King <brad.king@kitware.com>2019-06-18 11:45:53 (GMT)
commit69b139cfca6c5eef64558070f533b6c898f410e0 (patch)
tree12d281e91cc1f71c56e2e1372589085df4df8265 /Utilities/cmlibuv/src/win/internal.h
parentab63072381171e9c5a7164536f0912b8b3a4a313 (diff)
parentb4069b04ff63b327ff4881282200c3c73fded34d (diff)
downloadCMake-69b139cfca6c5eef64558070f533b6c898f410e0.zip
CMake-69b139cfca6c5eef64558070f533b6c898f410e0.tar.gz
CMake-69b139cfca6c5eef64558070f533b6c898f410e0.tar.bz2
Merge branch 'upstream-libuv' into update-libuv
* upstream-libuv: libuv 2019-06-10 (ee24ce90)
Diffstat (limited to 'Utilities/cmlibuv/src/win/internal.h')
-rw-r--r--Utilities/cmlibuv/src/win/internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/src/win/internal.h b/Utilities/cmlibuv/src/win/internal.h
index 206ab5f..f7d8ccf 100644
--- a/Utilities/cmlibuv/src/win/internal.h
+++ b/Utilities/cmlibuv/src/win/internal.h
@@ -276,6 +276,14 @@ int uv__getpwuid_r(uv_passwd_t* pwd);
int uv__convert_utf16_to_utf8(const WCHAR* utf16, int utf16len, char** utf8);
int uv__convert_utf8_to_utf16(const char* utf8, int utf8len, WCHAR** utf16);
+typedef int (WINAPI *uv__peersockfunc)(SOCKET, struct sockaddr*, int*);
+
+int uv__getsockpeername(const uv_handle_t* handle,
+ uv__peersockfunc func,
+ struct sockaddr* name,
+ int* namelen,
+ int delayed_error);
+
/*
* Process stdio handles.