mirror of
https://github.com/reactos/wine.git
synced 2024-11-30 07:00:30 +00:00
76f6ffaf1b
Centralize all sockaddr_xxx conversions in ws_sockaddr_ws2u and ws_sockaddr_u2ws. Remove ugly casts in TRACEs.
32 lines
523 B
C
32 lines
523 B
C
/* WCIPX.H
|
|
*/
|
|
|
|
#ifndef _WINE_WSIPX_
|
|
#define _WINE_WSIPX_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* defined(__cplusplus) */
|
|
|
|
typedef struct ws_sockaddr_ipx
|
|
{
|
|
short sa_family;
|
|
char sa_netnum[4];
|
|
char sa_nodenum[6];
|
|
unsigned short sa_socket;
|
|
} SOCKADDR_IPX, *PSOCKADDR_IPX, *LPSOCKADDR_IPX;
|
|
|
|
/*
|
|
* constants
|
|
*/
|
|
#define NSPROTO_IPX 1000
|
|
#define NSPROTO_SPX 1256
|
|
#define NSPROTO_SPXII 1257
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif /* defined(__cplusplus) */
|
|
|
|
#endif /* _WINE_WSIPX_ */
|