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
266811b8
Commit
266811b8
authored
Sep 28, 2013
by
Bruno Jesus
Committed by
Alexandre Julliard
Sep 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Move struct WSABUF and WSAMSG to ws2def.h.
parent
d811747a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
mswsock.h
include/mswsock.h
+0
-9
winsock2.h
include/winsock2.h
+0
-6
ws2def.h
include/ws2def.h
+15
-0
No files found.
include/mswsock.h
View file @
266811b8
...
...
@@ -157,15 +157,6 @@ typedef struct _TRANSMIT_PACKETS_ELEMENT {
}
DUMMYUNIONNAME
;
}
TRANSMIT_PACKETS_ELEMENT
,
*
PTRANSMIT_PACKETS_ELEMENT
,
*
LPTRANSMIT_PACKETS_ELEMENT
;
typedef
struct
_WSAMSG
{
LPSOCKADDR
name
;
INT
namelen
;
LPWSABUF
lpBuffers
;
DWORD
dwBufferCount
;
WSABUF
Control
;
DWORD
dwFlags
;
}
WSAMSG
,
*
PWSAMSG
,
*
LPWSAMSG
;
typedef
struct
_WSACMSGHDR
{
SIZE_T
cmsg_len
;
INT
cmsg_level
;
...
...
include/winsock2.h
View file @
266811b8
...
...
@@ -345,12 +345,6 @@ DECL_WINELIB_TYPE_AW(WSASERVICECLASSINFO)
DECL_WINELIB_TYPE_AW
(
PWSASERVICECLASSINFO
)
DECL_WINELIB_TYPE_AW
(
LPWSASERVICECLASSINFO
)
typedef
struct
_WSABUF
{
ULONG
len
;
CHAR
*
buf
;
}
WSABUF
,
*
LPWSABUF
;
#define WSAEVENT HANDLE
#define LPWSAEVENT LPHANDLE
#define WSAOVERLAPPED OVERLAPPED
...
...
include/ws2def.h
View file @
266811b8
...
...
@@ -78,6 +78,21 @@ typedef enum {
ScopeLevelGlobal
=
14
}
SCOPE_LEVEL
;
typedef
struct
_WSABUF
{
ULONG
len
;
CHAR
*
buf
;
}
WSABUF
,
*
LPWSABUF
;
typedef
struct
_WSAMSG
{
LPSOCKADDR
name
;
INT
namelen
;
LPWSABUF
lpBuffers
;
DWORD
dwBufferCount
;
WSABUF
Control
;
DWORD
dwFlags
;
}
WSAMSG
,
*
PWSAMSG
,
*
LPWSAMSG
;
/*
* Macros for retrieving control message data returned by WSARecvMsg()
*/
...
...
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