home *** CD-ROM | disk | FTP | other *** search
/ Beginning C++ Through Gam…rogramming (2nd Edition) / BCGP2E.ISO / bloodshed / devcpp-4.9.9.2_setup.exe / wsipx.h < prev    next >
C/C++ Source or Header  |  2005-01-29  |  454b  |  29 lines

  1. /* WSIPX.H - contributed by the WINE project
  2.  */
  3.  
  4. #ifndef _WSIPX_H
  5. #define _WSIPX_H
  6. #if __GNUC__ >=3
  7. #pragma GCC system_header
  8. #endif
  9.  
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13.  
  14. #define NSPROTO_IPX    1000
  15. #define NSPROTO_SPX    1256
  16. #define NSPROTO_SPXII    1257
  17.  
  18. typedef struct sockaddr_ipx {
  19.     short sa_family;
  20.     char sa_netnum[4];
  21.     char sa_nodenum[6];
  22.     unsigned short sa_socket;
  23. } SOCKADDR_IPX, *PSOCKADDR_IPX, *LPSOCKADDR_IPX;
  24.  
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif
  29.