IPX95.H (3543B)
1 // 2 // Copyright 2020 Electronic Arts Inc. 3 // 4 // TiberianDawn.DLL and RedAlert.dll and corresponding source code is free 5 // software: you can redistribute it and/or modify it under the terms of 6 // the GNU General Public License as published by the Free Software Foundation, 7 // either version 3 of the License, or (at your option) any later version. 8 9 // TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed 10 // in the hope that it will be useful, but with permitted additional restrictions 11 // under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT 12 // distributed with this program. You should have received a copy of the 13 // GNU General Public License along with permitted additional restrictions 14 // with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection 15 16 /*************************************************************************** 17 ** C O N F I D E N T I A L --- W E S T W O O D S T U D I O S ** 18 *************************************************************************** 19 * * 20 * Project Name : Command & Conquer * 21 * * 22 * File Name : IPX95PP * 23 * * 24 * Programmer : Steve Tall * 25 * * 26 * Start Date : January 22nd, 1996 * 27 * * 28 * Last Update : January 22nd, 1996 [ST] * 29 * * 30 *-------------------------------------------------------------------------* 31 * * 32 * * 33 * * 34 *-------------------------------------------------------------------------* 35 * Functions: * 36 * * 37 * * 38 * * 39 * * 40 * * 41 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 42 43 extern "C"{ 44 extern BOOL __stdcall IPX_Initialise(void); 45 extern BOOL __stdcall IPX_Get_Outstanding_Buffer95(unsigned char *buffer); 46 extern void __stdcall IPX_Shut_Down95(void); 47 extern int __stdcall IPX_Send_Packet95(unsigned char *, unsigned char *, int, unsigned char*, unsigned char*); 48 extern int __stdcall IPX_Broadcast_Packet95(unsigned char *, int); 49 extern BOOL __stdcall IPX_Start_Listening95(void); 50 extern int __stdcall IPX_Open_Socket95(int socket); 51 extern void __stdcall IPX_Close_Socket95(int socket); 52 extern int __stdcall IPX_Get_Connection_Number95(void); 53 extern int __stdcall IPX_Get_Local_Target95(unsigned char *, unsigned char*, unsigned short, unsigned char*); 54 }