summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-03-04 20:18:37 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-03-04 20:18:37 +0100
commite0e1becc2f9129203966e69b2919582c11ab86f7 (patch)
tree960bc91c89790914a84042f2684b4bd82d556981 /win
parent30810318020c2c40ad9c04e4c95d445dbbe157c3 (diff)
Add SocketEngine::WriteV()
Diffstat (limited to 'win')
-rw-r--r--win/inspircd_win32wrapper.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h
index 361724a2f..013d4d154 100644
--- a/win/inspircd_win32wrapper.h
+++ b/win/inspircd_win32wrapper.h
@@ -219,6 +219,13 @@ private:
// Same value as EXIT_STATUS_FORK (EXIT_STATUS_FORK is unused on Windows)
#define EXIT_STATUS_SERVICE 4
+// POSIX iovec
+struct iovec
+{
+ void* iov_base; // Starting address
+ size_t iov_len; // Number of bytes to transfer
+};
+
// Windows WSABUF with POSIX field names
struct WindowsIOVec
{