pgpsharepriv.h

来自「PGP8.0源码 请认真阅读您的文件包然后写出其具体功能」· C头文件 代码 · 共 40 行

H
40
字号
/*____________________________________________________________________________
	Copyright (C) 2002 PGP Corporation
	All rights reserved.

	$Id: pgpSharePriv.h,v 1.3 2002/08/06 20:10:17 dallen Exp $
____________________________________________________________________________*/
#ifndef Included_pgpSharePriv_h	/* [ */
#define Included_pgpSharePriv_h

#include "pgpShare.h"

PGP_BEGIN_C_DECLARATIONS

PGPError pgpCreateShares(PGPContextRef context, PGPKeyID keyID,
				PGPShareID shareID, PGPUInt32 threshold, PGPUInt32 numShares, 
				PGPUInt32 totalShares, PGPSize shareSize,
				const PGPByte *shareData, PGPShareRef *shares);

/* The share data needs to be freed with PGPFreeData(shareData) */
PGPError pgpGetShareData(PGPShareRef share, PGPByte **shareData, 
				PGPSize *shareDataSize);

/* The share hash needs to be freed with PGPFreeData(shareHash) */
PGPError pgpGetShareHash(PGPShareRef share, PGPByte **shareHash, 
				PGPSize *shareHashSize);

PGP_END_C_DECLARATIONS

#endif /* ] Included_pgpSharePriv_h */


/*__Editor_settings____

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

⌨️ 快捷键说明

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