Use the right buffer size in SYSPARAMS_Load instead of some random
[wine] / include / mswsock.h
1 /*
2  * Copyright (C) the Wine project
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18 #ifndef _MSWSOCK_
19 #define _MSWSOCK_
20
21 #ifndef USE_WS_PREFIX
22
23 #define SO_OPENTYPE                0x7008
24 #define SO_SYNCHRONOUS_ALERT       0x10
25 #define SO_SYNCHRONOUS_NONALERT    0x20
26
27 #else
28
29 #define WS_SO_OPENTYPE             0x7008
30 #define WS_SO_SYNCHRONOUS_ALERT    0x10
31 #define WS_SO_SYNCHRONOUS_NONALERT 0x20
32
33 #endif
34
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif /* defined(__cplusplus) */
39
40 int WINAPI WSARecvEx(SOCKET,char*,int,int*);
41
42 #ifdef __cplusplus
43 }
44 #endif
45
46 #endif /* _MSWSOCK_ */