api-ms-win-core-processenvironment-l1-1-0: Add stub dll.
[wine.git] / include / wsipx.h
blob6aa2946ba4cbd5b079bba40cb840afe73f1e662a
1 /*
2 * Copyright (C) 2001 Stefan Leichter
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.
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.
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef _WINE_WSIPX_
20 #define _WINE_WSIPX_
22 #ifdef USE_WS_PREFIX
23 # define WS(x) WS_##x
24 #else
25 # define WS(x) x
26 #endif
28 typedef struct WS_sockaddr_ipx
30 short sa_family;
31 char sa_netnum[4];
32 char sa_nodenum[6];
33 unsigned short sa_socket;
34 } SOCKADDR_IPX, *PSOCKADDR_IPX, *LPSOCKADDR_IPX;
37 * constants
39 #ifndef USE_WS_PREFIX
40 #define NSPROTO_IPX 1000
41 #define NSPROTO_SPX 1256
42 #define NSPROTO_SPXII 1257
43 #else
44 #define WS_NSPROTO_IPX 1000
45 #define WS_NSPROTO_SPX 1256
46 #define WS_NSPROTO_SPXII 1257
47 #endif
49 #undef WS
50 #endif /* _WINE_WSIPX_ */