pgpnetqueueelement.h

来自「vc环境下的pgp源码」· C头文件 代码 · 共 41 行

H
41
字号
/*____________________________________________________________________________
	Copyright (c) 1998 Network Associates, Inc. and its Affiliated Companies
	All rights reserved.

	$Id: pgpNetQueueElement.h,v 1.7 1998/11/12 01:22:24 elowe Exp $
____________________________________________________________________________*/

#ifndef _Included_pgpNetQueueElement_h
#define _Included_pgpNetQueueElement_h

#include "pgpPubTypes.h"

class CPGPnetQueueElement {
private:
	PGPUInt32 	m_size;
	PGPByte *	m_data;
	PGPUInt32	m_type;
	PGPUInt32	m_ipAddress;
	
public:
	CPGPnetQueueElement();
	CPGPnetQueueElement(const CPGPnetQueueElement &);	// copy constructor
	CPGPnetQueueElement(PGPUInt32 size,
						void *data,
						PGPUInt32 type,
						PGPUInt32 ipAddress);
	CPGPnetQueueElement& operator=(const CPGPnetQueueElement &);

	~CPGPnetQueueElement();

	// access
	const PGPUInt32 type()		{ return m_type; }
	const void * data()			{ return m_data; }
	const PGPUInt32 size()		{ return m_size; }
	const PGPUInt32 ipAddress()	{ return m_ipAddress; }
		
protected:
};

#endif // _Included_pgpNetQueueElement_h

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?