pgpoptionmem.c

来自「vc环境下的pgp源码」· C语言 代码 · 共 50 行

C
50
字号
/*____________________________________________________________________________
	pgpOptionMem.c
	
	Copyright (C) 1997 Network Associates Inc. and affiliated companies.
	All rights reserved.
	
	Memory allocation functions for use by optionlist package

	$Id: pgpOptionMem.c,v 1.4 1999/03/10 02:54:03 heller Exp $
____________________________________________________________________________*/

#include "pgpErrors.h"
#include "pgpMem.h"

#include "pgpContext.h"
#include "pgpOptionList.h"
#include "pgpEncodePriv.h"


        void *
PGPOptionListMemAlloc( PGPSize allocationSize )
{
        return( pgpAlloc( allocationSize ) );
}

		PGPError
PGPOptionListMemRealloc(
        void    **oldAllocation,
        PGPSize newAllocationSize )
{
		return( pgpRealloc( oldAllocation, newAllocationSize ) );
}

        void
PGPOptionListMemFree(void *allocation)
{
        pgpFree( allocation );
}



/*__Editor_settings____

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

⌨️ 快捷键说明

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