wsipx.h revision af062818b47340eef15700d2f0211576ba3506ee
1117N/A/*
1633N/A * Copyright (C) 2001 Stefan Leichter
1117N/A *
1117N/A * This library is free software; you can redistribute it and/or
1117N/A * modify it under the terms of the GNU Lesser General Public
1117N/A * License as published by the Free Software Foundation; either
1117N/A * version 2.1 of the License, or (at your option) any later version.
1117N/A *
1117N/A * This library is distributed in the hope that it will be useful,
1117N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of
1117N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1117N/A * Lesser General Public License for more details.
1117N/A *
1117N/A * You should have received a copy of the GNU Lesser General Public
1117N/A * License along with this library; if not, write to the Free Software
1117N/A * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
1117N/A */
1117N/A
1117N/A#ifndef _WINE_WSIPX_
1117N/A#define _WINE_WSIPX_
1117N/A
1117N/A#ifdef USE_WS_PREFIX
1117N/A# define WS(x) WS_##x
1117N/A#else
1117N/A# define WS(x) x
1117N/A#endif
1117N/A
1117N/Atypedef struct WS_sockaddr_ipx
1117N/A{
1117N/A short sa_family;
1117N/A char sa_netnum[4];
1117N/A char sa_nodenum[6];
1117N/A unsigned short sa_socket;
1425N/A} SOCKADDR_IPX, *PSOCKADDR_IPX, *LPSOCKADDR_IPX;
1117N/A
1117N/A/*
1117N/A * constants
1117N/A */
1117N/A#define NSPROTO_IPX 1000
1117N/A#define NSPROTO_SPX 1256
1196N/A#define NSPROTO_SPXII 1257
1117N/A
1117N/A#undef WS
1117N/A#endif /* _WINE_WSIPX_ */
1117N/A