Apache Portable Runtime Utility Library
include/apu.h
00001 /* Licensed to the Apache Software Foundation (ASF) under one or more
00002  * contributor license agreements.  See the NOTICE file distributed with
00003  * this work for additional information regarding copyright ownership.
00004  * The ASF licenses this file to You under the Apache License, Version 2.0
00005  * (the "License"); you may not use this file except in compliance with
00006  * the License.  You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 /*
00018  * apu.h is generated from apu.h.in by configure -- do not edit apu.h
00019  */
00020 /* @file apu.h
00021  * @brief APR-Utility main file
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  * we always have SDBM (it's in our codebase)
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    5
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 /* APU_H */
00128 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines