#pragma once

//>>> WiZaRd::ICS [enkeyDEV]
#define ET_INCOMPLETEPARTS		0x3D
#define OP_FILEINCSTATUS		0x8E //Incomplete part packet (like OP_FILESTATUS)
//<<< WiZaRd::ICS [enkeyDEV]
//>>> Spike2::L2HAC [enkeyDEV]
#define ET_L2HAC			0x3E // NEO: L2H - [LowID2HighIDAutoCallback] <-- Xanatos --
#define L2HAC_DEFAULT_EMULE		FILEREASKTIME
#define L2HAC_MIN_TIME			MIN_REQUESTTIME
#define CONNECTION_TIMEOUT_L	(CONNECTION_TIMEOUT*2)
#define L2HAC_CALLBACK_PRECEDE	(CONNECTION_TIMEOUT_L >> 1)
#define L2HAC_PREPARE_PRECEDE	(CONNECTION_TIMEOUT_L)
//<<< Spike2::L2HAC [enkeyDEV]

#define DELAYED_NNP_TIMOUT			SEC2MS(30) //==> dlarge Delayed NNP (netfinity)

#define FT_CATRESUMEORDER		0x7F //==> dlarge Smart Category Control 

//==> dlarge SlotControl
#define UPLOAD_CLIENT_DATARATE thePrefs.GetUpPerClient()		// uploadspeed per client in bytes - you may want to adjust this if you have a slow connection or T1-T3 ;)
#define MAX_UP_CLIENTS_ALLOWED thePrefs.GetUploadSlotCount() 		// max. clients allowed regardless UPLOAD_CLIENT_DATARATE or any other factors. Don't set this too low, use DATARATE to adjust uploadspeed per client
#define MIN_UP_CLIENTS_ALLOWED thePrefs.GetUploadSlotCount()			// min. clients allowed to download regardless UPLOAD_CLIENT_DATARATE or any other factors. Don't set this too high
#define MINNUMBEROFTRICKLEUPLOADS 0
//<== dlarge SlotControl