All pastes #17695 Raw Edit

Something

public text v1 · immutable
#17695 ·published 2005-07-14 14:02 UTC
rendered paste body
	// using bitfield for less important flags, to save some bytes

	UINT m_fHashsetRequesting : 1, // we have sent a hashset request to this client in the current connection

		 m_fSharedDirectories : 1, // client supports OP_ASKSHAREDIRS opcodes

		 m_fSentCancelTransfer: 1, // we have sent an OP_CANCELTRANSFER in the current connection

		 m_fNoViewSharedFiles : 1, // client has disabled the 'View Shared Files' feature, if this flag is not set, we just know that we don't know for sure if it is enabled

		 m_fSupportsPreview   : 1,

		 m_fPreviewReqPending : 1,

		 m_fPreviewAnsPending : 1,

		 m_fIsSpammer		  : 1,

		 m_fMessageFiltered   : 1,

		 m_fPeerCache		  : 1,

		 m_fQueueRankPending  : 1,

		 m_fUnaskQueueRankRecv: 2,

		 m_fFailedFileIdReqs  : 4, // nr. of failed file-id related requests per connection

		 m_fNeedOurPublicIP	  : 1, // we requested our IP from this client

		 m_fSupportsAICH	  : 3,

		 m_fAICHRequested     : 1,

		 m_fSentOutOfPartReqs : 1;