#ifndef __WV_PROTOCOL
#define __WV_PROTOCOL

#include "Common.h"
#include "Buffer.h"
#include "Networking.h"
#include "ReadersWriterLock.h"
#include "WVFrame.h"
#include "CTWMD.h"

#ifndef _DEBUG
	#define lpSd	((LPSERVERDATA)GetProtocolDataPtr(lpCon))
	#define lpCd	((LPCLIENTDATA)GetProtocolDataPtr(lpCon))
#endif

ULONG_PTR	__stdcall ServerSideProc(LPCONNECTION lpCon, UINT uMsg, UINT_PTR uParamA, ULONG_PTR uParamB);
ULONG_PTR	__stdcall ClientSideProc(LPCONNECTION lpCon, UINT uMsg, UINT_PTR uParamA, ULONG_PTR uParamB);

#endif	// __WV_PROTOCOL