dplayx: Remove unused functions.
This commit is contained in:
parent
c744710bd5
commit
75572fdb0c
|
@ -450,33 +450,6 @@ BOOL DPLAYX_CreateLobbyApplication( DWORD dwAppID )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* I'm not sure when I'm going to need this, but here it is */
|
|
||||||
BOOL DPLAYX_DestroyLobbyApplication( DWORD dwAppID )
|
|
||||||
{
|
|
||||||
UINT i;
|
|
||||||
|
|
||||||
DPLAYX_AcquireSemaphore();
|
|
||||||
|
|
||||||
/* Find an empty space in the list and insert the data */
|
|
||||||
for( i=0; i < numSupportedLobbies; i++ )
|
|
||||||
{
|
|
||||||
if( lobbyData[ i ].dwAppID == dwAppID )
|
|
||||||
{
|
|
||||||
/* FIXME: Should free up anything unused. Tisk tisk :0 */
|
|
||||||
/* Mark this entry unused */
|
|
||||||
TRACE( "Marking lobbyData[%u] unused\n", i );
|
|
||||||
DPLAYX_InitializeLobbyDataEntry( &lobbyData[ i ] );
|
|
||||||
|
|
||||||
DPLAYX_ReleaseSemaphore();
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
DPLAYX_ReleaseSemaphore();
|
|
||||||
ERR( "Unable to find global entry for application\n" );
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL DPLAYX_SetLobbyHandles( DWORD dwAppID,
|
BOOL DPLAYX_SetLobbyHandles( DWORD dwAppID,
|
||||||
HANDLE hStart, HANDLE hDeath, HANDLE hConnRead )
|
HANDLE hStart, HANDLE hDeath, HANDLE hConnRead )
|
||||||
{
|
{
|
||||||
|
|
|
@ -83,13 +83,6 @@ void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo )
|
||||||
lpCache->bNsIsLocal = TRUE;
|
lpCache->bNsIsLocal = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void NS_SetRemoteComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo )
|
|
||||||
{
|
|
||||||
lpNSCache lpCache = (lpNSCache)lpNSInfo;
|
|
||||||
|
|
||||||
lpCache->bNsIsLocal = FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
static DPQ_DECL_COMPARECB( cbUglyPig, GUID )
|
static DPQ_DECL_COMPARECB( cbUglyPig, GUID )
|
||||||
{
|
{
|
||||||
return IsEqualGUID( elem1, elem2 );
|
return IsEqualGUID( elem1, elem2 );
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
#include "dplay_global.h"
|
#include "dplay_global.h"
|
||||||
|
|
||||||
void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo );
|
void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo );
|
||||||
void NS_SetRemoteComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo );
|
|
||||||
void NS_AddRemoteComputerAsNameServer( LPCVOID lpNSAddrHdr,
|
void NS_AddRemoteComputerAsNameServer( LPCVOID lpNSAddrHdr,
|
||||||
DWORD dwHdrSize,
|
DWORD dwHdrSize,
|
||||||
LPCDPMSG_ENUMSESSIONSREPLY lpcMsg,
|
LPCDPMSG_ENUMSESSIONSREPLY lpcMsg,
|
||||||
|
|
Loading…
Reference in New Issue