DomainPlug-insDocumentation
/home/pkhodos/work/trunk/ToolLibs/PGPCryptoLib/gpgmehelper.h
Go to the documentation of this file.
00001 #ifndef _PGP_ME_HELPER_H_
00002 #define _PGP_ME_HELPER_H_
00003 
00004 #include <gpgme.h>
00005 #include <stlrt/atypes.h>
00006 #include <iostream>
00007 #include <fstream>
00008 #include <stdio.h>
00009 #include <stdlib.h>
00010 #include <unistd.h>
00011 #include <string.h>
00012 
00013 #ifdef WIN32
00014 #include <windows.h>
00015 #endif
00016 
00017 #ifndef WIN32
00018 #include <locale.h>
00019 #endif
00020 
00021 #define INTERNAL_BUFFERSIZE 64*1024
00022 
00023 #ifdef WIN32
00024 void CheckWindowsPGPConfiguration(void);
00025 #endif
00026 void GpgMeClearsign( const char* in_text, const unsigned int in_length, char** out_text, const char* pass, const char* user );
00027 gpgme_error_t passphrase(void *hook, const char *uid_hint, const char *passphrase_info, int prev_was_bad, int fd);
00028 
00029 #endif
00030 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines