crypto_dll.h

Go to the documentation of this file.
00001 #ifndef CRYPTO_DLL_HELPER
00002 #define CRYPTO_DLL_HELPER
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : cryptography library dll header                                   *
00007 *  Author : Chris Koeritz                                                     *
00008 *                                                                             *
00009 *******************************************************************************
00010 * Copyright (c) 2002-$now By Author.  This program is free software; you can  *
00011 * redistribute it and/or modify it under the terms of the GNU General Public  *
00012 * License as published by the Free Software Foundation; either version 2 of   *
00013 * the License or (at your option) any later version.  This is online at:      *
00014 *     http://www.fsf.org/copyleft/gpl.html                                    *
00015 * Please send any updates to: fred@gruntose.com                               *
00016 \*****************************************************************************/
00017 
00022 #include <basis/build_configuration.h>
00023 
00024 // define BUILD_CRYPTO when you are creating the mechanisms dll and
00025 // define USE_HOOPLE_DLLS when you are importing a class from the dll.
00026 
00027 #if defined(BUILD_CRYPTO)
00028   #define CRYPTO_CLASS_STYLE    HOOPLE_DLL_EXPORT_CLASS
00029   #define CRYPTO_FUNCTION_STYLE HOOPLE_DLL_EXPORT_FUNCTION
00030 #elif defined(USE_HOOPLE_DLLS)
00031   #define CRYPTO_CLASS_STYLE    HOOPLE_DLL_IMPORT_CLASS
00032   #define CRYPTO_FUNCTION_STYLE HOOPLE_DLL_IMPORT_FUNCTION
00033 #else
00034   #define CRYPTO_CLASS_STYLE
00035   #define CRYPTO_FUNCTION_STYLE
00036 #endif
00037 
00038 #endif
00039 

Generated on Fri Nov 28 04:29:10 2008 for HOOPLE Libraries by  doxygen 1.5.1