X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fw32socket-internals.h;h=62e2eb154c9c4e28c62a81e23787d7703c10f134;hb=95f0800520afb6d7f28eba2178ae3b7c1d104c00;hp=be189389bf5470ae36cd014afd21e59b0c14f2d5;hpb=3b2913ca03f284906f55606c9b36540890b7572a;p=mono.git diff --git a/mono/metadata/w32socket-internals.h b/mono/metadata/w32socket-internals.h index be189389bf5..62e2eb154c9 100644 --- a/mono/metadata/w32socket-internals.h +++ b/mono/metadata/w32socket-internals.h @@ -1,9 +1,9 @@ -/* -* w32socket-internals.h -* -* Copyright 2016 Microsoft -* Licensed under the MIT license. See LICENSE file in the project root for full license information. -*/ +/** + * \file + * + * Copyright 2016 Microsoft + * Licensed under the MIT license. See LICENSE file in the project root for full license information. + */ #ifndef __MONO_METADATA_W32SOCKET_INTERNALS_H__ #define __MONO_METADATA_W32SOCKET_INTERNALS_H__ @@ -28,11 +28,6 @@ #define TF_DISCONNECT 0x01 #define TF_REUSE_SOCKET 0x02 -typedef struct { - guint32 len; - gpointer buf; -} WSABUF, *LPWSABUF; - typedef struct { gpointer Head; guint32 HeadLength; @@ -148,4 +143,7 @@ mono_w32socket_get_last_error (void); gint32 mono_w32socket_convert_error (gint error); +gboolean +mono_w32socket_duplicate (gpointer handle, gint32 targetProcessId, gpointer *duplicate_handle); + #endif // __MONO_METADATA_W32SOCKET_INTERNALS_H__