diff options
Diffstat (limited to 'src/win/internal.h')
-rw-r--r-- | src/win/internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/win/internal.h b/src/win/internal.h index 634b9f7..70ddaa5 100644 --- a/src/win/internal.h +++ b/src/win/internal.h @@ -272,6 +272,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. |