📄 pgpmemoryio.h
字号:
/*____________________________________________________________________________
Copyright (C) 1997 Network Associates Inc. and affiliated companies.
All rights reserved.
Superclass for all memory IO objects.
A pgpMemoryIO uses memory as a backing store, dynamically resizing
as needed.
$Id: pgpMemoryIO.h,v 1.7 1999/03/10 02:53:20 heller Exp $
____________________________________________________________________________*/
/* base class */
#include "pgpIO.h"
#include "pgpMemoryMgr.h"
PGP_BEGIN_C_DECLARATIONS
#if PRAGMA_IMPORT_SUPPORTED
#pragma import on
#endif
typedef struct PGPMemoryIO PGPMemoryIO;
typedef PGPMemoryIO * PGPMemoryIORef;
PGPError PGPNewMemoryIO( PGPMemoryMgrRef context, PGPMemoryIORef *outRef );
/* buffer can't change and caller is responsible for destroying the buffer */
PGPError PGPNewMemoryIOFixedBuffer( PGPMemoryMgrRef context,
void *buffer, PGPSize bufferSize, PGPMemoryIORef *outRef );
PGPBoolean PGPMemoryIOIsValid( PGPMemoryIORef ref );
#define PGPValidateMemoryIO( ref ) \
PGPValidateParam( PGPMemoryIOIsValid( ref ) )
#if PRAGMA_IMPORT_SUPPORTED
#pragma import on
#endif
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 + -