pgplineendiopriv.h

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

H
61
字号
/*____________________________________________________________________________
	Copyright (C) 1997 Network Associates Inc. and affiliated companies.
	All rights reserved.
	
	abstract base class for file IO.

	$Id: pgpLineEndIOPriv.h,v 1.2 1999/03/10 02:52:41 heller Exp $
____________________________________________________________________________*/

#include "pgpLineEndIO.h"
#include "pgpProxyIOPriv.h"
#include "pgpFileSpec.h"

PGP_BEGIN_C_DECLARATIONS


/* the virtual function table for a PGPLineEndIO */
typedef struct PGPLineEndIOVtbl
{
	PGPProxyIOVtbl			parentVTBL;
} PGPLineEndIOVtbl;


PGPLineEndIOVtbl const *	pgpLineEndIOGetClassVTBL( void );


/* used to initialize */
typedef struct PGPLineEndIOData
{
	PGPProxyIOData		parentData;
	ConvertLineEndType	toType;
} PGPLineEndIOData;


struct PGPLineEndIO
{
	PGPProxyIO			parent;
	PGPUInt32			lineEndConvertMagic;
	ConvertLineEndType	toType;
	
	PGPByte				bufferSpace[ 4096 ];
	PGPByte *			buffer;
	PGPSize				bufferSize;
	PGPSize				bytesInBuffer;
	PGPBoolean			lastCharWasCR;
};
#define kPGPLineEndIOMagic		0x464c494f



PGP_END_C_DECLARATIONS

/*__Editor_settings____

	Local Variables:
	tab-width: 4
	End:
	vi: ts=4 sw=4
	vim: si
_____________________*/

⌨️ 快捷键说明

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