summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/src/PGPw/pgpw.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-11 17:48:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-11 17:48:18 +0000
commit2fbe1d2262383b272ef887d712f308f787cf33f1 (patch)
tree772a78df1caf0be843d8778344e02ac750ba7a03 /plugins/CryptoPP/src/PGPw/pgpw.h
parent48fc03aa394f4506c6053323386c040fede13a29 (diff)
64-bit compatible version of CryptoPP
git-svn-id: http://svn.miranda-ng.org/main/trunk@4917 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/src/PGPw/pgpw.h')
-rw-r--r--plugins/CryptoPP/src/PGPw/pgpw.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/plugins/CryptoPP/src/PGPw/pgpw.h b/plugins/CryptoPP/src/PGPw/pgpw.h
new file mode 100644
index 0000000000..9e26090e58
--- /dev/null
+++ b/plugins/CryptoPP/src/PGPw/pgpw.h
@@ -0,0 +1,33 @@
+// Windows API
+
+#pragma once
+
+#include "..\version.h"
+
+// PGP API
+#ifndef PGP_WIN32
+#error Define PGP_WIN32 to SDK version (e.g. 0x658)
+#endif
+
+#undef MODULENAME
+#define MODULENAME "PGPsdk"
+
+BOOL ShowSelectKeyringsDlg(HWND,LPSTR,LPSTR);
+
+extern LPCSTR szModuleName;
+extern LPCSTR szVersionStr;
+extern HINSTANCE g_hInst;
+
+extern "C" int __cdecl _pgp_init(void);
+extern "C" int __cdecl _pgp_done(void);
+extern "C" int __cdecl _pgp_open_keyrings(LPSTR,LPSTR);
+extern "C" int __cdecl _pgp_close_keyrings(void);
+extern "C" int __cdecl _pgp_get_version(void);
+extern "C" LPSTR __cdecl _pgp_get_error(void);
+extern "C" int __cdecl _pgp_size_keyid(void);
+extern "C" PVOID __cdecl _pgp_select_keyid(HWND,LPSTR);
+extern "C" LPSTR __cdecl _pgp_encrypt_keydb(LPCSTR,PVOID);
+extern "C" LPSTR __cdecl _pgp_decrypt_keydb(LPCSTR);
+extern "C" int __cdecl _pgp_check_key(LPCSTR);
+extern "C" LPSTR __cdecl _pgp_encrypt_key(LPCSTR,LPCSTR);
+extern "C" LPSTR __cdecl _pgp_decrypt_key(LPCSTR,LPCSTR);