00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00029 #ifndef APU_H
00030 #define APU_H
00031
00045 #if defined(DOXYGEN) || !defined(WIN32)
00046
00053 #define APU_DECLARE(type) type
00054
00060 #define APU_DECLARE_NONSTD(type) type
00061
00069 #define APU_DECLARE_DATA
00070 #elif defined(APU_DECLARE_STATIC)
00071 #define APU_DECLARE(type) type __stdcall
00072 #define APU_DECLARE_NONSTD(type) type __cdecl
00073 #define APU_DECLARE_DATA
00074 #elif defined(APU_DECLARE_EXPORT)
00075 #define APU_DECLARE(type) __declspec(dllexport) type __stdcall
00076 #define APU_DECLARE_NONSTD(type) __declspec(dllexport) type __cdecl
00077 #define APU_DECLARE_DATA __declspec(dllexport)
00078 #else
00079 #define APU_DECLARE(type) __declspec(dllimport) type __stdcall
00080 #define APU_DECLARE_NONSTD(type) __declspec(dllimport) type __cdecl
00081 #define APU_DECLARE_DATA __declspec(dllimport)
00082 #endif
00083
00084 #if !defined(WIN32) || defined(APU_MODULE_DECLARE_STATIC)
00085
00094 #define APU_MODULE_DECLARE_DATA
00095 #else
00096 #define APU_MODULE_DECLARE_DATA __declspec(dllexport)
00097 #endif
00098
00099
00100
00101
00102 #define APU_HAVE_SDBM 1
00103 #define APU_HAVE_GDBM 0
00104 #define APU_HAVE_NDBM 0
00105 #define APU_HAVE_DB 1
00106
00107 #if APU_HAVE_DB
00108 #define APU_HAVE_DB_VERSION 4
00109 #endif
00110
00111 #define APU_HAVE_PGSQL 1
00112 #define APU_HAVE_MYSQL 1
00113 #define APU_HAVE_SQLITE3 1
00114 #define APU_HAVE_SQLITE2 0
00115 #define APU_HAVE_ORACLE 0
00116 #define APU_HAVE_FREETDS 1
00117 #define APU_HAVE_ODBC 1
00118
00119 #define APU_HAVE_CRYPTO 1
00120 #define APU_HAVE_OPENSSL 1
00121 #define APU_HAVE_NSS 0
00122
00123 #define APU_HAVE_APR_ICONV 0
00124 #define APU_HAVE_ICONV 1
00125 #define APR_HAS_XLATE (APU_HAVE_APR_ICONV || APU_HAVE_ICONV)
00126
00127 #endif
00128