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
32f296b6
Commit
32f296b6
authored
Dec 11, 2003
by
Kirill Smelkov
Committed by
Alexandre Julliard
Dec 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stub and prototype for WSAJoinLeaf.
parent
7e40baad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
5 deletions
+45
-5
socket.c
dlls/winsock/socket.c
+35
-0
ws2_32.spec
dlls/winsock/ws2_32.spec
+3
-3
winsock2.h
include/winsock2.h
+7
-2
No files found.
dlls/winsock/socket.c
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)
...
...
dlls/winsock/ws2_32.spec
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
...
...
include/winsock2.h
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 */
...
...
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