diff options
author | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-04-21 14:14:52 +0000 |
---|---|---|
committer | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-04-21 14:14:52 +0000 |
commit | cb4a46e7fbe62d788e66ed6121c717a2d22a4d7c (patch) | |
tree | 30df260fdc5a1b5a7049c2f8cac8b7ef17513d6d /cryptopp/PGPw/sdk6/include/pgpSDKPrefs.h | |
parent | 19b6f534d2e784a1e120bf52c4aa07004798f473 (diff) |
svn.miranda.im is moving to a new home!
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@7 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'cryptopp/PGPw/sdk6/include/pgpSDKPrefs.h')
-rw-r--r-- | cryptopp/PGPw/sdk6/include/pgpSDKPrefs.h | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/cryptopp/PGPw/sdk6/include/pgpSDKPrefs.h b/cryptopp/PGPw/sdk6/include/pgpSDKPrefs.h new file mode 100644 index 0000000..2662786 --- /dev/null +++ b/cryptopp/PGPw/sdk6/include/pgpSDKPrefs.h @@ -0,0 +1,74 @@ +/*____________________________________________________________________________
+ Copyright (C) 1997 Network Associates Inc. and affiliated companies.
+ All rights reserved.
+
+ $Id: pgpSDKPrefs.h,v 1.7 1999/05/17 07:53:20 heller Exp $
+____________________________________________________________________________*/
+#ifndef Included_pgpCDKPrefs_h /* [ */
+#define Included_pgpCDKPrefs_h
+
+#include "pgpConfig.h"
+#include "pgpPubTypes.h"
+
+
+enum PGPsdkPrefSelector_
+{
+ kPGPsdkPref_DefaultKeyID = 3,
+ kPGPsdkPref_PublicKeyring = 5,
+ kPGPsdkPref_PrivateKeyring = 6,
+ kPGPsdkPref_RandomSeedFile = 7,
+ kPGPsdkPref_GroupsFile = 8,
+
+ PGP_ENUM_FORCE( PGPsdkPrefSelector_ )
+};
+PGPENUM_TYPEDEF( PGPsdkPrefSelector_, PGPsdkPrefSelector );
+
+
+
+PGP_BEGIN_C_DECLARATIONS
+#if PRAGMA_IMPORT_SUPPORTED
+#pragma import on
+#endif
+
+/* call this if you want the CDK to use prefs stored in the prefs file */
+PGPError PGPsdkLoadPrefs( PGPContextRef context,
+ PGPFileSpecRef prefSpec );
+PGPError PGPsdkLoadDefaultPrefs( PGPContextRef context );
+
+/* save any changed preferences to disk */
+PGPError PGPsdkSavePrefs( PGPContextRef context );
+
+
+PGPError PGPsdkPrefSetFileSpec( PGPContextRef context,
+ PGPsdkPrefSelector selector, PGPFileSpecRef ref );
+
+/* caller must deallocate *outRef with PGPFreeFileSpec */
+PGPError PGPsdkPrefGetFileSpec( PGPContextRef context,
+ PGPsdkPrefSelector selector, PGPFileSpecRef * outRef );
+
+
+PGPError PGPsdkPrefSetData( PGPContextRef context,
+ PGPsdkPrefSelector selector,
+ void const *data, PGPSize size );
+
+/* caller must deallocate *dataOut with PGPFreeData */
+PGPError PGPsdkPrefGetData( PGPContextRef context,
+ PGPsdkPrefSelector selector,
+ void **dataOut, PGPSize *sizeOut );
+
+#if PRAGMA_IMPORT_SUPPORTED
+#pragma import reset
+#endif
+PGP_END_C_DECLARATIONS
+
+#endif /* ] Included_pgpCDKPrefs_h */
+
+
+/*__Editor_settings____
+
+ Local Variables:
+ tab-width: 4
+ End:
+ vi: ts=4 sw=4
+ vim: si
+_____________________*/
|