Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

dll.h

00001 #ifndef CRYPTOPP_DLL_H
00002 #define CRYPTOPP_DLL_H
00003 
00004 #if !defined(CRYPTOPP_IMPORTS) && !defined(CRYPTOPP_EXPORTS) && !defined(CRYPTOPP_DEFAULT_NO_DLL)
00005 #ifdef CRYPTOPP_CONFIG_H
00006 #error To use the DLL version of Crypto++, this file must be included before any other Crypto++ header files.
00007 #endif
00008 #define CRYPTOPP_IMPORTS
00009 #endif
00010 
00011 #include "aes.h"
00012 #include "cbcmac.h"
00013 #include "channels.h"
00014 #include "des.h"
00015 #include "dh.h"
00016 #include "dsa.h"
00017 #include "ec2n.h"
00018 #include "eccrypto.h"
00019 #include "ecp.h"
00020 #include "files.h"
00021 #include "fips140.h"
00022 #include "hex.h"
00023 #include "hmac.h"
00024 #include "modes.h"
00025 #include "mqueue.h"
00026 #include "nbtheory.h"
00027 #include "osrng.h"
00028 #include "pkcspad.h"
00029 #include "randpool.h"
00030 #include "rsa.h"
00031 #include "sha.h"
00032 #include "skipjack.h"
00033 #include "trdlocal.h"
00034 
00035 #ifdef CRYPTOPP_IMPORTS
00036 
00037 #ifdef _DLL
00038 // cause CRT DLL to be initialized before Crypto++ so that we can use malloc and free during DllMain()
00039 #ifdef NDEBUG
00040 #pragma comment(lib, "msvcrt")
00041 #else
00042 #pragma comment(lib, "msvcrtd")
00043 #endif
00044 #endif
00045 
00046 #pragma comment(lib, "cryptopp")
00047 
00048 #endif          // #ifdef CRYPTOPP_IMPORTS
00049 
00050 #include <new>  // for new_handler
00051 
00052 NAMESPACE_BEGIN(CryptoPP)
00053 
00054 #if !(defined(_MSC_VER) && (_MSC_VER < 1300))
00055 using std::new_handler;
00056 #endif
00057 
00058 typedef void * (CRYPTOPP_CDECL * PNew)(size_t);
00059 typedef void (CRYPTOPP_CDECL * PDelete)(void *);
00060 typedef void (CRYPTOPP_CDECL * PGetNewAndDelete)(PNew &, PDelete &);
00061 typedef new_handler (CRYPTOPP_CDECL * PSetNewHandler)(new_handler);
00062 typedef void (CRYPTOPP_CDECL * PSetNewAndDelete)(PNew, PDelete, PSetNewHandler);
00063 
00064 NAMESPACE_END
00065 
00066 #endif

Generated on Thu Oct 28 03:02:10 2004 for Crypto++ by  doxygen 1.3.9.1