Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sedwards
wine
Commits
32f296b6
Commit
32f296b6
authored
21 years ago
by
Kirill Smelkov
Committed by
Alexandre Julliard
21 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added stub and prototype for WSAJoinLeaf.
parent
7e40baad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/winsock/socket.c
+35
-0
35 additions, 0 deletions
dlls/winsock/socket.c
dlls/winsock/ws2_32.spec
+3
-3
3 additions, 3 deletions
dlls/winsock/ws2_32.spec
include/winsock2.h
+7
-2
7 additions, 2 deletions
include/winsock2.h
with
45 additions
and
5 deletions
dlls/winsock/socket.c
+
35
−
0
View file @
32f296b6
...
...
@@ -1582,6 +1582,24 @@ u_short WINAPI WS_htons(u_short hostshort)
return
htons
(
hostshort
);
}
/***********************************************************************
* WSAHtonl (WS2_32.46)
*/
int
WINAPI
WSAHtonl
(
SOCKET
s
,
u_long
hostlong
,
ulong
*
lpnetlong
)
{
FIXME
(
"stub.
\n
"
);
return
INVALID_SOCKET
;
}
/***********************************************************************
* WSAHtons (WS2_32.47)
*/
int
WINAPI
WSAHtons
(
SOCKET
s
,
u_short
hostshort
,
ushort
*
lpnetshort
)
{
FIXME
(
"stub.
\n
"
);
return
INVALID_SOCKET
;
}
/***********************************************************************
* inet_addr (WINSOCK.10)
...
...
@@ -2833,6 +2851,23 @@ SOCKET WINAPI WSASocketA(int af, int type, int protocol,
return
INVALID_SOCKET
;
}
/***********************************************************************
* WSAJoinLeaf (WS2_32.58)
*
*/
SOCKET
WINAPI
WSAJoinLeaf
(
SOCKET
s
,
const
struct
WS_sockaddr
*
addr
,
int
addrlen
,
LPWSABUF
lpCallerData
,
LPWSABUF
lpCalleeData
,
LPQOS
lpSQOS
,
LPQOS
lpGQOS
,
DWORD
dwFlags
)
{
FIXME
(
"stub.
\n
"
);
return
INVALID_SOCKET
;
}
/***********************************************************************
* __WSAFDIsSet (WS2_32.151)
...
...
This diff is collapsed.
Click to expand it.
dlls/winsock/ws2_32.spec
+
3
−
3
View file @
32f296b6
...
...
@@ -47,8 +47,8 @@
43 stub WSAGetServiceClassInfoW
44 stub WSAGetServiceClassNameByClassIdA
45 stub WSAGetServiceClassNameByClassIdW
46 st
ub
WSAHtonl
47 st
ub
WSAHtons
46 st
dcall
WSAHtonl
(long long ptr)
47 st
dcall
WSAHtons
(long long ptr)
48 stdcall WSAInstallServiceClassA(ptr)
49 stdcall WSAInstallServiceClassW(ptr)
50 stdcall WSAIoctl(long long ptr long ptr long ptr ptr ptr)
...
...
@@ -59,7 +59,7 @@
55 stdcall getservbyname(str str) WS_getservbyname
56 stdcall getservbyport(long str) WS_getservbyport
57 stdcall gethostname(ptr long) WS_gethostname
58 st
ub
WSAJoinLeaf
58 st
dcall
WSAJoinLeaf
(long ptr long ptr ptr ptr ptr long)
59 stub WSALookupServiceBeginA
60 stub WSALookupServiceBeginW
61 stub WSALookupServiceEnd
...
...
This diff is collapsed.
Click to expand it.
include/winsock2.h
+
7
−
2
View file @
32f296b6
...
...
@@ -137,6 +137,11 @@ extern "C" {
#define WSA_FLAG_MULTIPOINT_D_ROOT 0x08
#define WSA_FLAG_MULTIPOINT_D_LEAF 0x10
/* Constants for WSAJoinLeaf() */
#define JL_SENDER_ONLY 0x01
#define JL_RECEIVER_ONLY 0x02
#define JL_BOTH 0x04
#ifndef GUID_DEFINED
#include
<guiddef.h>
...
...
@@ -426,7 +431,7 @@ int WINAPI WSAInstallServiceClassA(LPWSASERVICECLASSINFOA);
int
WINAPI
WSAInstallServiceClassW
(
LPWSASERVICECLASSINFOW
);
#define WSAInstallServiceClass WINELIB_NAME_AW(WSAInstallServiceClass)
int
WINAPI
WSAIoctl
(
SOCKET
,
DWORD
,
LPVOID
,
DWORD
,
LPVOID
,
DWORD
,
LPDWORD
,
LPWSAOVERLAPPED
,
LPWSAOVERLAPPED_COMPLETION_ROUTINE
);
/* WSAJoinLeaf */
SOCKET
WINAPI
WSAJoinLeaf
(
SOCKET
,
const
struct
WS
(
sockaddr
)
*
,
int
,
LPWSABUF
,
LPWSABUF
,
LPQOS
,
LPQOS
,
DWORD
);
/* WSALookupServiceBeginA */
/* WSALookupServiceBeginW */
/* WSALookupServiceEnd */
...
...
@@ -491,7 +496,7 @@ typedef int (WINAPI *LPFN_WSAHTONS)(SOCKET,u_short,u_short*);
typedef
int
(
WINAPI
LPFN_WSAINSTALLSERVICECLASSA
)(
LPWSASERVICECLASSINFOA
);
typedef
int
(
WINAPI
LPFN_WSAINSTALLSERVICECLASSW
)(
LPWSASERVICECLASSINFOW
);
typedef
int
(
WINAPI
*
LPFN_WSAIOCTL
)(
SOCKET
,
DWORD
,
LPVOID
,
DWORD
,
LPVOID
,
DWORD
,
LPDWORD
,
LPWSAOVERLAPPED
,
LPWSAOVERLAPPED_COMPLETION_ROUTINE
);
/* WSAJoinLeaf */
typedef
int
(
WINAPI
*
LPFN_WSAJOINLEAF
)(
SOCKET
,
const
struct
WS
(
sockaddr
)
*
,
int
,
LPWSABUF
,
LPWSABUF
,
LPQOS
,
LPQOS
,
DWORD
);
/* WSALookupServiceBeginA */
/* WSALookupServiceBeginW */
/* WSALookupServiceEnd */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment