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
ac70c40f
Commit
ac70c40f
authored
May 22, 2002
by
Francois Gouget
Committed by
Alexandre Julliard
May 22, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mswsock.h, move relevant definitions to this header.
parent
cc2ee763
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
8 deletions
+49
-8
sock.c
dlls/winsock/tests/sock.c
+1
-0
Makefile.in
include/Makefile.in
+1
-0
mswsock.h
include/mswsock.h
+46
-0
winsock.h
include/winsock.h
+1
-8
No files found.
dlls/winsock/tests/sock.c
View file @
ac70c40f
...
...
@@ -24,6 +24,7 @@
#include <winerror.h>
#undef USE_WS_PREFIX
#include <winsock2.h>
#include <mswsock.h>
#define MAX_CLIENTS 4
/* Max number of clients */
#define NUM_TESTS 2
/* Number of tests performed */
...
...
include/Makefile.in
View file @
ac70c40f
...
...
@@ -81,6 +81,7 @@ INSTALLED_INCLUDES = \
msvcrt/time.h
\
msvcrt/wchar.h
\
msvcrt/wctype.h
\
mswsock.h
\
nb30.h
\
nspapi.h
\
ntsecapi.h
\
...
...
include/mswsock.h
0 → 100644
View file @
ac70c40f
/*
* Copyright (C) the Wine project
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _MSWSOCK_
#define _MSWSOCK_
#ifndef USE_WS_PREFIX
#define SO_OPENTYPE 0x7008
#define SO_SYNCHRONOUS_ALERT 0x10
#define SO_SYNCHRONOUS_NONALERT 0x20
#else
#define WS_SO_OPENTYPE 0x7008
#define WS_SO_SYNCHRONOUS_ALERT 0x10
#define WS_SO_SYNCHRONOUS_NONALERT 0x20
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
/* defined(__cplusplus) */
int
WINAPI
WSARecvEx
(
SOCKET
,
char
*
,
int
,
int
*
);
#ifdef __cplusplus
}
#endif
#endif
/* _MSWSOCK_ */
include/winsock.h
View file @
ac70c40f
...
...
@@ -614,9 +614,6 @@ typedef struct WS(WSAData)
#define SO_ERROR 0x1007
#define SO_TYPE 0x1008
#define SO_OPENTYPE 0x7008
#define SO_SYNCHRONOUS_ALERT 0x10
#define SO_SYNCHRONOUS_NONALERT 0x20
#define IOCPARM_MASK 0x7f
#define IOC_VOID 0x20000000
...
...
@@ -650,10 +647,6 @@ typedef struct WS(WSAData)
#define WS_SO_ERROR 0x1007
#define WS_SO_TYPE 0x1008
#define WS_SO_OPENTYPE 0x7008
#define WS_SO_SYNCHRONOUS_ALERT 0x10
#define WS_SO_SYNCHRONOUS_NONALERT 0x20
#define WS_IOCPARM_MASK 0x7f
#define WS_IOC_VOID 0x20000000
#define WS_IOC_OUT 0x40000000
...
...
@@ -946,7 +939,7 @@ u_short WINAPI WS(ntohs)(u_short);
#if defined(__WINE__) || !defined(__WINE_WINSOCK2__)
/* Stuff specific to winsock.h */
int
WINAPI
WSARecvEx
(
SOCKET
,
char
*
,
int
,
int
*
);
#include "mswsock.h"
#endif
/* __WINE_WINSOCK2__ */
#endif
/* !defined(__WINE_WINSOCK2__) || WS_API_PROTOTYPES */
...
...
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