⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pgpmemoryiopriv.h

📁 PGP8.0源码 请认真阅读您的文件包然后写出其具体功能
💻 H
字号:
/*____________________________________________________________________________
	Copyright (C) 2002 PGP Corporation
	All rights reserved.
	
	File IO that uses a FILE * for its implementation

	$Id: pgpMemoryIOPriv.h,v 1.4 2002/08/06 20:10:34 dallen Exp $
____________________________________________________________________________*/

#include "pgpMemoryIO.h"
#include "pgpIOPriv.h"

PGP_BEGIN_C_DECLARATIONS


typedef PGPError	(*PGPMemoryIOReallocateProc)( PGPMemoryIORef ref,
						void **ptr, PGPSize size );

/* the virtual function table for a PGPFileIO */
typedef struct PGPMemoryIOVtbl
{
	PGPIOVtbl					parentVTBL;
	
	PGPMemoryIOReallocateProc	reallocateProc;
} PGPMemoryIOVtbl;


PGPMemoryIOVtbl const *	pgpMemoryIOGetClassVTBL( void );


/* used to initialize */
typedef struct PGPMemoryIOData
{
	PGPBoolean		useFixedBuffer;
	void *			buffer;
	PGPSize			bufferSize;
} PGPMemoryIOData;

struct PGPMemoryIO
{
	PGPIO			parent;
	
	PGPUInt32		memoryIOMagic;
	void *			buffer;
	PGPBoolean		ownsBuffer;
	PGPBoolean		canResize;
	PGPUInt32		bufferSize;
	PGPUInt32		eof;
};
#define kPGPMemoryIOMagic		0x50524f58	/* PROX */



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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -