summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/src/GPGw/commonheaders.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CryptoPP/src/GPGw/commonheaders.c')
-rw-r--r--plugins/CryptoPP/src/GPGw/commonheaders.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/plugins/CryptoPP/src/GPGw/commonheaders.c b/plugins/CryptoPP/src/GPGw/commonheaders.c
deleted file mode 100644
index 5404e4ed80..0000000000
--- a/plugins/CryptoPP/src/GPGw/commonheaders.c
+++ /dev/null
@@ -1,42 +0,0 @@
-#include "commonheaders.h"
-
-LPCSTR szModuleName = MODULENAME;
-LPCSTR szVersionStr = MODULENAME" DLL ("__VERSION_STRING")";
-HINSTANCE g_hInst;
-
-char temporarydirectory[fullfilenamesize];
-char logfile[fullfilenamesize];
-/*
-char *txtbeginpgppublickeyblock="-----BEGIN PGP PUBLIC KEY BLOCK-----";
-char *txtendpgppublickeyblock="-----END PGP PUBLIC KEY BLOCK-----";
-*/
-char *txtbeginpgpmessage="-----BEGIN PGP MESSAGE-----";
-char *txtendpgpmessage="-----END PGP MESSAGE-----";
-
-
-void __cdecl ErrorMessage(const char *alevel, const char *atext, const char *ahint)
-{
- char buffer[errormessagesize];
-
- strcpy(buffer, atext);
- strcat(buffer, " ");
- strcat(buffer, ahint);
- MessageBox(NULL, buffer, alevel, MB_OK);
-}
-
-
-void __cdecl LogMessage(const char *astart, const char *atext, const char *aend)
-{
- FILE *log;
-
- if(logfile[0]=='\0') return;
-
- log=fopen(logfile, "a");
- if(log!=NULL)
- {
- fputs(astart, log);
- fputs(atext, log);
- fputs(aend, log);
- fclose(log);
- }
-}