~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to srclib/apr-util/include/apu.h.in

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

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