blob: 687152a4ee2a78c05dcc02e12efbf6ba4143be35 [file] [log] [blame]
Alexandre Julliard0799c1a2002-03-09 23:29:33 +00001/*
2 * Copyright (C) 2001 Stefan Leichter
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
Stefan Leichter73db9002001-01-12 23:15:54 +000017 */
18
Francois Gouget76f6ffa2001-10-08 20:36:03 +000019#ifndef _WINE_WSIPX_
20#define _WINE_WSIPX_
Stefan Leichter73db9002001-01-12 23:15:54 +000021
Francois Gouget27202312001-11-14 21:26:23 +000022#ifdef USE_WS_PREFIX
23# define WS(x) WS_##x
24#else
25# define WS(x) x
26#endif
Stefan Leichter73db9002001-01-12 23:15:54 +000027
Francois Gouget27202312001-11-14 21:26:23 +000028typedef struct WS_sockaddr_ipx
Francois Gouget76f6ffa2001-10-08 20:36:03 +000029{
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;
35
Stefan Leichter73db9002001-01-12 23:15:54 +000036/*
37 * constants
38 */
Francois Gouget27202312001-11-14 21:26:23 +000039#define NSPROTO_IPX 1000
40#define NSPROTO_SPX 1256
41#define NSPROTO_SPXII 1257
Stefan Leichter73db9002001-01-12 23:15:54 +000042
Francois Gouget27202312001-11-14 21:26:23 +000043#undef WS
Francois Gouget76f6ffa2001-10-08 20:36:03 +000044#endif /* _WINE_WSIPX_ */