diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-20 16:21:49 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-20 16:21:49 +0000 |
commit | f424a18112032cf61d2871a6b91a5af607c171ae (patch) | |
tree | 88fedc4e28941ceecda7026f0b06eba6271f91d5 /plugins/CryptoPP/PGPw/sdk8/include/pgpShare.h | |
parent | bfe1bd0fc087be44c70904aee0fe4276643d206d (diff) |
CryptoPP:
changed folder structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@1083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/PGPw/sdk8/include/pgpShare.h')
-rw-r--r-- | plugins/CryptoPP/PGPw/sdk8/include/pgpShare.h | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/plugins/CryptoPP/PGPw/sdk8/include/pgpShare.h b/plugins/CryptoPP/PGPw/sdk8/include/pgpShare.h deleted file mode 100644 index 04d6da569c..0000000000 --- a/plugins/CryptoPP/PGPw/sdk8/include/pgpShare.h +++ /dev/null @@ -1,80 +0,0 @@ -/*____________________________________________________________________________ - Copyright (C) 2002 PGP Corporation - All rights reserved. - - $Id: pgpShare.h,v 1.1 2004/04/01 11:45:40 wprice Exp $ -____________________________________________________________________________*/ -#ifndef Included_pgpShare_h /* [ */ -#define Included_pgpShare_h - -#include "pgpConfig.h" -#include "pgpBase.h" -#include "pgpKeys.h" - -typedef struct PGPShare * PGPShareRef; - -typedef struct PGPShareID_ -{ - PGPByte data[8]; -} PGPShareID; - -#define kInvalidPGPShareRef ((PGPShareRef) NULL) -#define PGPShareRefIsValid( ref ) ( (ref) != kInvalidPGPShareRef ) - -PGP_BEGIN_C_DECLARATIONS -#if PRAGMA_IMPORT_SUPPORTED -#pragma import on -#endif - -PGPError PGPCreateShares(PGPContextRef context, PGPKeyDBObjRef key, - PGPUInt32 threshold, PGPUInt32 numShares, - PGPShareRef *share); - -/* The passkey needs to be freed with PGPFreeData(passkey) */ -PGPError PGPGetPasskeyFromShares(PGPShareRef share, PGPByte **passkey, - PGPSize *passkeySize); - -PGPError PGPSplitShares(PGPShareRef share, PGPUInt32 numShares, - PGPShareRef *splitShares); - -/* The share objects being combined are NOT freed by this function */ -PGPError PGPCombineShares(PGPShareRef firstShare, PGPShareRef secondShare, - PGPShareRef *combinedShares); - -PGPError PGPFreeShares(PGPShareRef share); - -PGPError PGPGetKeyIDFromShares(PGPShareRef share, PGPKeyID *id); - -PGPError PGPGetShareID(PGPShareRef share, PGPShareID *id); - -PGPUInt32 PGPGetShareThreshold(PGPShareRef share); - -/* This is the number of shares contained in the share object */ -PGPUInt32 PGPGetNumberOfShares(PGPShareRef share); - -/* The share object may contain less than the total number of shares */ -PGPUInt32 PGPGetTotalNumberOfShares(PGPShareRef share); - -PGPBoolean IsSamePGPShares(PGPShareRef firstShare, PGPShareRef secondShare); - -/* If firstID < secondID, -1 */ -/* If firstID > secondID, 1 */ -/* If firstID = secondID, 0 */ -PGPInt32 PGPCompareShareIDs(PGPShareID firstID, PGPShareID secondID); - -#if PRAGMA_IMPORT_SUPPORTED -#pragma import reset -#endif -PGP_END_C_DECLARATIONS - -#endif /* ] Included_pgpShare_h */ - - -/*__Editor_settings____ - - Local Variables: - tab-width: 4 - End: - vi: ts=4 sw=4 - vim: si -_____________________*/ |