Release 1.2-rc6.
[wine/gsoc-2012-control.git] / include / wsipx.h
blob67609d8632fcacccaf9816ce5e304064a7001efe
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 #define NSPROTO_IPX 1000
40 #define NSPROTO_SPX 1256
41 #define NSPROTO_SPXII 1257
43 #undef WS
44 #endif /* _WINE_WSIPX_ */