upload http
[bottlenecks.git] / rubbos / app / httpd-2.0.64 / srclib / apr-util / include / apu.h
1 /* Copyright 2000-2004 The Apache Software Foundation
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15
16 /*
17  * apu.h is generated from apu.h.in by configure -- do not edit apu.h
18  */
19 /* @file apu.h
20  * @brief APR-Utility main file
21  */
22 /**
23  * @defgroup APR_Util APR Utility Functions
24  * @{
25  */
26
27
28 #ifndef APU_H
29 #define APU_H
30
31 /**
32  * APU_DECLARE_EXPORT is defined when building the APR-UTIL dynamic library,
33  * so that all public symbols are exported.
34  *
35  * APU_DECLARE_STATIC is defined when including the APR-UTIL public headers,
36  * to provide static linkage when the dynamic library may be unavailable.
37  *
38  * APU_DECLARE_STATIC and APU_DECLARE_EXPORT are left undefined when
39  * including the APR-UTIL public headers, to import and link the symbols from 
40  * the dynamic APR-UTIL library and assure appropriate indirection and calling
41  * conventions at compile time.
42  */
43
44 /**
45  * The public APR-UTIL functions are declared with APU_DECLARE(), so they may
46  * use the most appropriate calling convention.  Public APR functions with 
47  * variable arguments must use APU_DECLARE_NONSTD().
48  *
49  * @deffunc APU_DECLARE(rettype) apr_func(args);
50  */
51 #define APU_DECLARE(type)            type
52 /**
53  * The public APR-UTIL functions using variable arguments are declared with 
54  * APU_DECLARE_NONSTD(), as they must use the C language calling convention.
55  *
56  * @deffunc APU_DECLARE_NONSTD(rettype) apr_func(args, ...);
57  */
58 #define APU_DECLARE_NONSTD(type)     type
59 /**
60  * The public APR-UTIL variables are declared with APU_DECLARE_DATA.
61  * This assures the appropriate indirection is invoked at compile time.
62  *
63  * @deffunc APU_DECLARE_DATA type apr_variable;
64  * @tip APU_DECLARE_DATA extern type apr_variable; syntax is required for
65  * declarations within headers to properly import the variable.
66  */
67 #define APU_DECLARE_DATA
68 /*
69  * we always have SDBM (it's in our codebase)
70  */
71 #define APU_HAVE_SDBM   1
72 #define APU_HAVE_GDBM   0
73 #define APU_HAVE_NDBM   0
74 #define APU_HAVE_DB     0
75
76 #if APU_HAVE_DB
77 #define APU_HAVE_DB_VERSION    0
78 #endif /* APU_HAVE_DB */
79
80 #define APU_HAVE_APR_ICONV     0
81 #define APU_HAVE_ICONV         1
82 #define APR_HAS_XLATE          (APU_HAVE_APR_ICONV || APU_HAVE_ICONV)
83
84 #endif /* APU_H */
85 /** @} */