Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / metadata / w32socket-internals.h
index be189389bf5470ae36cd014afd21e59b0c14f2d5..62e2eb154c9c4e28c62a81e23787d7703c10f134 100644 (file)
@@ -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__
 
 #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__