Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e7b9bf3f
Commit
e7b9bf3f
authored
Aug 02, 2010
by
Mike Kaplinskiy
Committed by
Alexandre Julliard
Aug 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/mswsock: Add WS_ prefix if necessary.
parent
3db4aaa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
mswsock.h
include/mswsock.h
+11
-3
No files found.
include/mswsock.h
View file @
e7b9bf3f
...
...
@@ -22,6 +22,12 @@
extern
"C"
{
#endif
/* defined(__cplusplus) */
#ifdef USE_WS_PREFIX
#define WS(x) WS_##x
#else
#define WS(x) x
#endif
#ifndef USE_WS_PREFIX
#define SO_CONNDATA 0x7000
#define SO_CONNOPT 0x7001
...
...
@@ -166,16 +172,16 @@ typedef struct _WSACMSGHDR {
}
WSACMSGHDR
,
*
PWSACMSGHDR
,
*
LPWSACMSGHDR
;
typedef
BOOL
(
WINAPI
*
LPFN_ACCEPTEX
)(
SOCKET
,
SOCKET
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
LPDWORD
,
LPOVERLAPPED
);
typedef
BOOL
(
WINAPI
*
LPFN_CONNECTEX
)(
SOCKET
,
const
struct
sockaddr
*
,
int
,
PVOID
,
DWORD
,
LPDWORD
,
LPOVERLAPPED
);
typedef
BOOL
(
WINAPI
*
LPFN_CONNECTEX
)(
SOCKET
,
const
struct
WS
(
sockaddr
)
*
,
int
,
PVOID
,
DWORD
,
LPDWORD
,
LPOVERLAPPED
);
typedef
BOOL
(
WINAPI
*
LPFN_DISCONNECTEX
)(
SOCKET
,
LPOVERLAPPED
,
DWORD
,
DWORD
);
typedef
VOID
(
WINAPI
*
LPFN_GETACCEPTEXSOCKADDRS
)(
PVOID
,
DWORD
,
DWORD
,
DWORD
,
struct
sockaddr
**
,
LPINT
,
struct
sockaddr
**
,
LPINT
);
typedef
VOID
(
WINAPI
*
LPFN_GETACCEPTEXSOCKADDRS
)(
PVOID
,
DWORD
,
DWORD
,
DWORD
,
struct
WS
(
sockaddr
)
**
,
LPINT
,
struct
WS
(
sockaddr
)
**
,
LPINT
);
typedef
BOOL
(
WINAPI
*
LPFN_TRANSMITFILE
)(
SOCKET
,
HANDLE
,
DWORD
,
DWORD
,
LPOVERLAPPED
,
LPTRANSMIT_FILE_BUFFERS
,
DWORD
);
typedef
BOOL
(
WINAPI
*
LPFN_TRANSMITPACKETS
)(
SOCKET
,
LPTRANSMIT_PACKETS_ELEMENT
,
DWORD
,
DWORD
,
LPOVERLAPPED
,
DWORD
);
typedef
INT
(
WINAPI
*
LPFN_WSARECVMSG
)(
SOCKET
,
LPWSAMSG
,
LPDWORD
,
LPWSAOVERLAPPED
,
LPWSAOVERLAPPED_COMPLETION_ROUTINE
);
typedef
INT
(
WINAPI
*
LPFN_WSASENDMSG
)(
SOCKET
,
LPWSAMSG
,
DWORD
,
LPDWORD
,
LPWSAOVERLAPPED
,
LPWSAOVERLAPPED_COMPLETION_ROUTINE
);
BOOL
WINAPI
AcceptEx
(
SOCKET
,
SOCKET
,
PVOID
,
DWORD
,
DWORD
,
DWORD
,
LPDWORD
,
LPOVERLAPPED
);
VOID
WINAPI
GetAcceptExSockaddrs
(
PVOID
,
DWORD
,
DWORD
,
DWORD
,
struct
sockaddr
**
,
LPINT
,
struct
sockaddr
**
,
LPINT
);
VOID
WINAPI
GetAcceptExSockaddrs
(
PVOID
,
DWORD
,
DWORD
,
DWORD
,
struct
WS
(
sockaddr
)
**
,
LPINT
,
struct
WS
(
sockaddr
)
**
,
LPINT
);
BOOL
WINAPI
TransmitFile
(
SOCKET
,
HANDLE
,
DWORD
,
DWORD
,
LPOVERLAPPED
,
LPTRANSMIT_FILE_BUFFERS
,
DWORD
);
INT
WINAPI
WSARecvEx
(
SOCKET
,
char
*
,
INT
,
INT
*
);
...
...
@@ -183,4 +189,6 @@ INT WINAPI WSARecvEx(SOCKET, char *, INT, INT *);
}
#endif
#undef WS
#endif
/* _MSWSOCK_ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment