more obsolete network code nukage

This commit is contained in:
Bill Currie 2003-02-10 22:05:00 +00:00
parent 408a9c7458
commit bc0eb9f4f4
6 changed files with 3 additions and 223 deletions

View file

@ -1,7 +1,6 @@
AUTOMAKE_OPTIONS= foreign
## Process this file with automake to produce Makefile.in
EXTRA_DIST= chase.h client.h conproc.h game.h host.h net.h net_bw.h \
net_dgrm.h net_ipx.h net_loop.h net_mp.h net_udp.h net_vcr.h \
net_wins.h net_wipx.h protocol.h server.h sv_pr_cmds.h \
sv_progs.h
EXTRA_DIST= chase.h client.h conproc.h game.h host.h net.h net_dgrm.h \
net_loop.h net_udp.h net_vcr.h net_wins.h protocol.h server.h \
sv_pr_cmds.h sv_progs.h

View file

@ -1,47 +0,0 @@
/*
net_bw.h
@description@
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
int BW_Init (void);
void BW_Shutdown (void);
void BW_Listen (qboolean state);
int BW_OpenSocket (int port);
int BW_CloseSocket (int socket);
int BW_Connect (int socket, struct qsockaddr *addr);
int BW_CheckNewConnections (void);
int BW_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
int BW_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
int BW_Broadcast (int socket, byte *buf, int len);
const char *BW_AddrToString (struct qsockaddr *addr);
int BW_StringToAddr (const char *string, struct qsockaddr *addr);
int BW_GetSocketAddr (int socket, struct qsockaddr *addr);
int BW_GetNameFromAddr (struct qsockaddr *addr, const char *name);
int BW_GetAddrFromName (const char *name, struct qsockaddr *addr);
int BW_AddrCompare (struct qsockaddr *addr1, struct qsockaddr *addr2);
int BW_GetSocketPort (struct qsockaddr *addr);
int BW_SetSocketPort (struct qsockaddr *addr, int port);

View file

@ -1,47 +0,0 @@
/*
net_ipx.h
@description@
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
int IPX_Init (void);
void IPX_Shutdown (void);
void IPX_Listen (qboolean state);
int IPX_OpenSocket (int port);
int IPX_CloseSocket (int socket);
int IPX_Connect (int socket, struct qsockaddr *addr);
int IPX_CheckNewConnections (void);
int IPX_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
int IPX_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
int IPX_Broadcast (int socket, byte *buf, int len);
const char *IPX_AddrToString (struct qsockaddr *addr);
int IPX_StringToAddr (const char *string, struct qsockaddr *addr);
int IPX_GetSocketAddr (int socket, struct qsockaddr *addr);
int IPX_GetNameFromAddr (struct qsockaddr *addr, const char *name);
int IPX_GetAddrFromName (const char *name, struct qsockaddr *addr);
int IPX_AddrCompare (struct qsockaddr *addr1, struct qsockaddr *addr2);
int IPX_GetSocketPort (struct qsockaddr *addr);
int IPX_SetSocketPort (struct qsockaddr *addr, int port);

View file

@ -1,47 +0,0 @@
/*
net_mp.h
@description@
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
int MPATH_Init (void);
void MPATH_Shutdown (void);
void MPATH_Listen (qboolean state);
int MPATH_OpenSocket (int port);
int MPATH_CloseSocket (int socket);
int MPATH_Connect (int socket, struct qsockaddr *addr);
int MPATH_CheckNewConnections (void);
int MPATH_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
int MPATH_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
int MPATH_Broadcast (int socket, byte *buf, int len);
const char *MPATH_AddrToString (struct qsockaddr *addr);
int MPATH_StringToAddr (const char *string, struct qsockaddr *addr);
int MPATH_GetSocketAddr (int socket, struct qsockaddr *addr);
int MPATH_GetNameFromAddr (struct qsockaddr *addr, const char *name);
int MPATH_GetAddrFromName (const char *name, struct qsockaddr *addr);
int MPATH_AddrCompare (struct qsockaddr *addr1, struct qsockaddr *addr2);
int MPATH_GetSocketPort (struct qsockaddr *addr);
int MPATH_SetSocketPort (struct qsockaddr *addr, int port);

View file

@ -1,53 +0,0 @@
/*
net_wipx.h
@description@
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
#ifndef __net_wipx_h
#define __net_wipx_h
#include "net.h"
int WIPX_Init (void);
void WIPX_Shutdown (void);
void WIPX_Listen (qboolean state);
int WIPX_OpenSocket (int port);
int WIPX_CloseSocket (int socket);
int WIPX_Connect (int socket, struct qsockaddr *addr);
int WIPX_CheckNewConnections (void);
int WIPX_Read (int socket, byte *buf, int len, struct qsockaddr *addr);
int WIPX_Write (int socket, byte *buf, int len, struct qsockaddr *addr);
int WIPX_Broadcast (int socket, byte *buf, int len);
const char *WIPX_AddrToString (struct qsockaddr *addr);
int WIPX_StringToAddr (const char *string, struct qsockaddr *addr);
int WIPX_GetSocketAddr (int socket, struct qsockaddr *addr);
int WIPX_GetNameFromAddr (struct qsockaddr *addr, char *name);
int WIPX_GetAddrFromName (const char *name, struct qsockaddr *addr);
int WIPX_AddrCompare (struct qsockaddr *addr1, struct qsockaddr *addr2);
int WIPX_GetSocketPort (struct qsockaddr *addr);
int WIPX_SetSocketPort (struct qsockaddr *addr, int port);
#endif//__net_wipx_h

View file

@ -72,7 +72,6 @@ int net_numdrivers = 2;
#include "net_wins.h"
#include "net_wipx.h"
net_landriver_t net_landrivers[MAX_NET_DRIVERS] = {
{
@ -97,30 +96,6 @@ net_landriver_t net_landrivers[MAX_NET_DRIVERS] = {
WINS_AddrCompare,
WINS_GetSocketPort,
WINS_SetSocketPort},
#if 0
{
"Winsock IPX",
false,
0,
WIPX_Init,
WIPX_Shutdown,
WIPX_Listen,
WIPX_OpenSocket,
WIPX_CloseSocket,
WIPX_Connect,
WIPX_CheckNewConnections,
WIPX_Read,
WIPX_Write,
WIPX_Broadcast,
WIPX_AddrToString,
WIPX_StringToAddr,
WIPX_GetSocketAddr,
WIPX_GetNameFromAddr,
WIPX_GetAddrFromName,
WIPX_AddrCompare,
WIPX_GetSocketPort,
WIPX_SetSocketPort}
#endif
};
int net_numlandrivers = 1;