2000-03-12 21:18:33 +01:00
|
|
|
|
|
|
|
#ifndef __WINE_DPLAYX_NAMESERVER
|
|
|
|
#define __WINE_DPLAYX_NAMESERVER
|
|
|
|
|
|
|
|
#include "dplay.h"
|
2000-08-25 23:58:05 +02:00
|
|
|
#include "dplaysp.h"
|
|
|
|
#include "dplayx_messages.h"
|
|
|
|
#include "dplay_global.h"
|
2000-03-12 21:18:33 +01:00
|
|
|
|
2000-05-27 00:26:30 +02:00
|
|
|
void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd );
|
2000-08-25 23:58:05 +02:00
|
|
|
void NS_SetRemoteComputerAsNameServer( LPVOID lpNSAddrHdr,
|
|
|
|
DWORD dwHdrSize,
|
|
|
|
LPDPMSG_ENUMSESSIONSREPLY lpMsg,
|
|
|
|
LPVOID lpNSInfo );
|
|
|
|
LPVOID NS_GetNSAddr( LPVOID lpNSInfo );
|
|
|
|
|
|
|
|
void NS_ReplyToEnumSessionsRequest( LPVOID lpMsg,
|
|
|
|
LPDPSP_REPLYDATA lpReplyData,
|
|
|
|
IDirectPlay2Impl* lpDP );
|
|
|
|
|
|
|
|
HRESULT NS_SendSessionRequestBroadcast( LPCGUID lpcGuid,
|
|
|
|
DWORD dwFlags,
|
|
|
|
LPSPINITDATA lpSpData );
|
|
|
|
|
2000-05-27 00:26:30 +02:00
|
|
|
|
|
|
|
BOOL NS_InitializeSessionCache( LPVOID* lplpNSInfo );
|
|
|
|
void NS_DeleteSessionCache( LPVOID lpNSInfo );
|
2000-08-25 23:58:05 +02:00
|
|
|
void NS_InvalidateSessionCache( LPVOID lpNSInfo );
|
|
|
|
|
2000-05-27 00:26:30 +02:00
|
|
|
|
|
|
|
void NS_ResetSessionEnumeration( LPVOID lpNSInfo );
|
|
|
|
LPDPSESSIONDESC2 NS_WalkSessions( LPVOID lpNSInfo );
|
2000-08-25 23:58:05 +02:00
|
|
|
void NS_PruneSessionCache( LPVOID lpNSInfo );
|
2000-03-12 21:18:33 +01:00
|
|
|
|
|
|
|
#endif /* __WINE_DPLAYX_NAMESERVER */
|