- Add the ws2_32 library from Alex's old network branch which is a _huge_ improvement...
[reactos.git] / reactos / dll / win32 / ws2_32_new / inc / ws2_32.h
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS WinSock 2.2 Library
4 * FILE: lib/ws2_32.h
5 * PURPOSE: WinSock 2.2 Main Header
6 */
7
8 #ifndef __WS2_32_H
9 #define __WS2_32_H
10
11 /* Definitions for NDK Usage */
12 #define WIN32_NO_STATUS
13 //#define _WIN32_WINNT 0x502
14 #define NTOS_MODE_USER
15 #define _CRT_SECURE_NO_DEPRECATE
16 #define WINSOCK_API_LINKAGE
17 #define DBG 1
18
19 /* C Header */
20 #include <stdio.h>
21
22 /* PSDK and NDK Headers */
23 #include <winsock2.h>
24 #include <Ws2tcpip.h>
25 #include <Ws2spi.h>
26 #include <ndk/umtypes.h>
27 #include <ndk/rtlfuncs.h>
28
29 /* Shared NSP Headers */
30 #include <nsp_dns.h>
31
32 /* Winsock Helper Header */
33 #include <ws2help.h>
34
35 /* Missing definitions */
36 #define SO_OPENTYPE 0x7008
37 #define SO_SYNCHRONOUS_NONALERT 0x20
38
39 /* Internal headers */
40 #include "ws2_32p.h"
41
42 #endif
43