summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/src/cpp_pgpw.cpp
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2018-05-16 21:12:31 +0300
committerMataes <mataes2007@gmail.com>2018-05-16 21:12:31 +0300
commit1fc8e65dd319abf0bac6ce753bb87ecbabd8b177 (patch)
tree94aaf74e14515883aea9da6752ccacca6007fa47 /plugins/CryptoPP/src/cpp_pgpw.cpp
parentaba882ecf1f570400c301493725fcb31270e0fd5 (diff)
Flags, CrashDumper, CryptoPP, CSList, Db_autobackups, DbEditorPP: cmplugin adaptation
Diffstat (limited to 'plugins/CryptoPP/src/cpp_pgpw.cpp')
-rw-r--r--plugins/CryptoPP/src/cpp_pgpw.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/plugins/CryptoPP/src/cpp_pgpw.cpp b/plugins/CryptoPP/src/cpp_pgpw.cpp
index d574c2f236..4c148cffec 100644
--- a/plugins/CryptoPP/src/cpp_pgpw.cpp
+++ b/plugins/CryptoPP/src/cpp_pgpw.cpp
@@ -8,31 +8,31 @@ PBYTE pRS_pgp;
int __cdecl _pgp_init(void);
int __cdecl _pgp_done(void);
-int __cdecl _pgp_open_keyrings(LPSTR,LPSTR);
+int __cdecl _pgp_open_keyrings(LPSTR, LPSTR);
int __cdecl _pgp_close_keyrings(void);
int __cdecl _pgp_get_version(void);
LPSTR __cdecl _pgp_get_error(void);
int __cdecl _pgp_size_keyid(void);
-PVOID __cdecl _pgp_select_keyid(HWND,LPSTR);
-LPSTR __cdecl _pgp_encrypt_keydb(LPCSTR,PVOID);
+PVOID __cdecl _pgp_select_keyid(HWND, LPSTR);
+LPSTR __cdecl _pgp_encrypt_keydb(LPCSTR, PVOID);
LPSTR __cdecl _pgp_decrypt_keydb(LPCSTR);
//int __cdecl _pgp_check_key(LPCSTR);
-LPSTR __cdecl _pgp_encrypt_key(LPCSTR,LPCSTR);
-LPSTR __cdecl _pgp_decrypt_key(LPCSTR,LPCSTR);
-
-int (__cdecl *p_pgp_init)(void);
-int (__cdecl *p_pgp_done)(void);
-int (__cdecl *p_pgp_open_keyrings)(LPSTR,LPSTR);
-int (__cdecl *p_pgp_close_keyrings)(void);
-int (__cdecl *p_pgp_get_version)(void);
-LPSTR (__cdecl *p_pgp_get_error)(void);
-int (__cdecl *p_pgp_size_keyid)(void);
-PVOID (__cdecl *p_pgp_select_keyid)(HWND,LPSTR);
-LPSTR (__cdecl *p_pgp_encrypt_keydb)(LPCSTR,PVOID);
-LPSTR (__cdecl *p_pgp_decrypt_keydb)(LPCSTR);
+LPSTR __cdecl _pgp_encrypt_key(LPCSTR, LPCSTR);
+LPSTR __cdecl _pgp_decrypt_key(LPCSTR, LPCSTR);
+
+int(__cdecl *p_pgp_init)(void);
+int(__cdecl *p_pgp_done)(void);
+int(__cdecl *p_pgp_open_keyrings)(LPSTR, LPSTR);
+int(__cdecl *p_pgp_close_keyrings)(void);
+int(__cdecl *p_pgp_get_version)(void);
+LPSTR(__cdecl *p_pgp_get_error)(void);
+int(__cdecl *p_pgp_size_keyid)(void);
+PVOID(__cdecl *p_pgp_select_keyid)(HWND, LPSTR);
+LPSTR(__cdecl *p_pgp_encrypt_keydb)(LPCSTR, PVOID);
+LPSTR(__cdecl *p_pgp_decrypt_keydb)(LPCSTR);
//int (__cdecl *p_pgp_check_key)(LPCSTR);
-LPSTR (__cdecl *p_pgp_encrypt_key)(LPCSTR,LPCSTR);
-LPSTR (__cdecl *p_pgp_decrypt_key)(LPCSTR,LPCSTR);
+LPSTR(__cdecl *p_pgp_encrypt_key)(LPCSTR, LPCSTR);
+LPSTR(__cdecl *p_pgp_decrypt_key)(LPCSTR, LPCSTR);
#define GPA(x) \
{ \
@@ -97,7 +97,7 @@ int __cdecl pgp_init()
memset(tmp->pdata, 0, sizeof(PGPDATA));
}
- hpgpsdk = g_hInst;
+ hpgpsdk = g_plugin.getInst();
return 0;
}