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 "pssr.h"
00030 #include "randpool.h"
00031 #include "rsa.h"
00032 #include "rw.h"
00033 #include "sha.h"
00034 #include "skipjack.h"
00035 #include "trdlocal.h"
00036 
00037 #ifdef CRYPTOPP_IMPORTS
00038 
00039 #ifdef _DLL
00040 // cause CRT DLL to be initialized before Crypto++ so that we can use malloc and free during DllMain()
00041 #ifdef NDEBUG
00042 #pragma comment(lib, "msvcrt")
00043 #else
00044 #pragma comment(lib, "msvcrtd")
00045 #endif
00046 #endif
00047 
00048 #pragma comment(lib, "cryptopp")
00049 
00050 #endif          // #ifdef CRYPTOPP_IMPORTS
00051 
00052 #include <new>  // for new_handler
00053 
00054 NAMESPACE_BEGIN(CryptoPP)
00055 
00056 #if !(defined(_MSC_VER) && (_MSC_VER < 1300))
00057 using std::new_handler;
00058 #endif
00059 
00060 typedef void * (CRYPTOPP_API * PNew)(size_t);
00061 typedef void (CRYPTOPP_API * PDelete)(void *);
00062 typedef void (CRYPTOPP_API * PGetNewAndDelete)(PNew &, PDelete &);
00063 typedef new_handler (CRYPTOPP_API * PSetNewHandler)(new_handler);
00064 typedef void (CRYPTOPP_API * PSetNewAndDelete)(PNew, PDelete, PSetNewHandler);
00065 
00066 NAMESPACE_END
00067 
00068 #endif

Generated on Sat Dec 23 02:07:06 2006 for Crypto++ by  doxygen 1.5.1-p1