wsipx.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  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
  17. */
  18. #ifndef _WINE_WSIPX_
  19. #define _WINE_WSIPX_
  20. #ifdef USE_WS_PREFIX
  21. # define WS(x) WS_##x
  22. #else
  23. # define WS(x) x
  24. #endif
  25. typedef struct WS_sockaddr_ipx
  26. {
  27. short sa_family;
  28. char sa_netnum[4];
  29. char sa_nodenum[6];
  30. unsigned short sa_socket;
  31. } SOCKADDR_IPX, *PSOCKADDR_IPX, *LPSOCKADDR_IPX;
  32. /*
  33. * constants
  34. */
  35. #define NSPROTO_IPX 1000
  36. #define NSPROTO_SPX 1256
  37. #define NSPROTO_SPXII 1257
  38. #undef WS
  39. #endif /* _WINE_WSIPX_ */