From e0e1becc2f9129203966e69b2919582c11ab86f7 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 4 Mar 2015 20:18:37 +0100 Subject: Add SocketEngine::WriteV() --- win/inspircd_win32wrapper.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'win') 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 { -- cgit v1.2.3