* include/winsock2.h (SOCKET_ADDRESS): Define if __CSADDR_T_DEFINED is not defined (copied from nspapi.h) (CSADDR_INFO): Ditto. (nspapi.h) : Don't include. Removed FIXME comment. * include/nspapi.h (SOCKET_ADDRESS) Only define if __CSADDR_T_DEFINED is not defined. (CSADDR_INFO): Ditto. (BLOB): Added structure and typedef if not already defined. (NS_*): Add defines. (SERVICE_*): Ditto. (SERVICE_ADDRESS): Add structure and typedefs. (SERVICE_ADDRESSES): Ditto. (SERVICE_INFO[AW]): Ditto, and add UNICODE mappings. (LPSERVICE_ASYNC_INFO): Add typedef. (SetService[AW], GetAddressByName[AW]): Add prototypes and UNICODE mappings. * include/wsipx.h: New file. * include/svcguid.h: New file. * lib/test.c: Include wspix.h and svcguid.h.
		
			
				
	
	
		
			29 lines
		
	
	
		
			460 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			460 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* WSIPX.H - initially taken from the Wine project
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef _WSIPX_H
 | 
						|
#define _WSIPX_H
 | 
						|
#if __GNUC__ >=3
 | 
						|
#pragma GCC system_header
 | 
						|
#endif
 | 
						|
 | 
						|
#ifdef __cplusplus
 | 
						|
extern "C" {
 | 
						|
#endif
 | 
						|
 | 
						|
#define NSPROTO_IPX	1000
 | 
						|
#define NSPROTO_SPX	1256
 | 
						|
#define NSPROTO_SPXII	1257
 | 
						|
 | 
						|
typedef struct sockaddr_ipx {
 | 
						|
	short sa_family;
 | 
						|
	char sa_netnum[4];
 | 
						|
	char sa_nodenum[6];
 | 
						|
	unsigned short sa_socket;
 | 
						|
} SOCKADDR_IPX, *PSOCKADDR_IPX, *LPSOCKADDR_IPX;
 | 
						|
 | 
						|
#ifdef __cplusplus
 | 
						|
}
 | 
						|
#endif
 | 
						|
#endif
 |