ap_mmn.h revision a21e322a6250a12588cb0964b9a022ce76225e67
97a9a944b5887e91042b019776c41d5dd74557aferikabele/* Licensed to the Apache Software Foundation (ASF) under one or more
97a9a944b5887e91042b019776c41d5dd74557aferikabele * contributor license agreements. See the NOTICE file distributed with
97a9a944b5887e91042b019776c41d5dd74557aferikabele * this work for additional information regarding copyright ownership.
a945f35eff8b6a88009ce73de6d4c862ce58de3cslive * The ASF licenses this file to You under the Apache License, Version 2.0
a945f35eff8b6a88009ce73de6d4c862ce58de3cslive * (the "License"); you may not use this file except in compliance with
a945f35eff8b6a88009ce73de6d4c862ce58de3cslive * the License. You may obtain a copy of the License at
5a58787efeb02a1c3f06569d019ad81fd2efa06end *
5a58787efeb02a1c3f06569d019ad81fd2efa06end * http://www.apache.org/licenses/LICENSE-2.0
5a58787efeb02a1c3f06569d019ad81fd2efa06end *
5a58787efeb02a1c3f06569d019ad81fd2efa06end * Unless required by applicable law or agreed to in writing, software
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * distributed under the License is distributed on an "AS IS" BASIS,
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * See the License for the specific language governing permissions and
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * limitations under the License.
5a58787efeb02a1c3f06569d019ad81fd2efa06end */
5a58787efeb02a1c3f06569d019ad81fd2efa06end
5a58787efeb02a1c3f06569d019ad81fd2efa06end/**
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen * @file ap_mmn.h
3f08db06526d6901aa08c110b5bc7dde6bc39905nd * @brief Module Magic Number
5a58787efeb02a1c3f06569d019ad81fd2efa06end *
5a58787efeb02a1c3f06569d019ad81fd2efa06end * @defgroup APACHE_CORE_MMN Module Magic Number
5a58787efeb02a1c3f06569d019ad81fd2efa06end * @ingroup APACHE_CORE
3f08db06526d6901aa08c110b5bc7dde6bc39905nd * @{
5a58787efeb02a1c3f06569d019ad81fd2efa06end */
a63f0ab647ad2ab72efc9bea7a66e24e9ebc5cc2nd
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd#ifndef APACHE_AP_MMN_H
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd#define APACHE_AP_MMN_H
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/*
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung * MODULE_MAGIC_NUMBER_MAJOR
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd * Major API changes that could cause compatibility problems for older modules
5a58787efeb02a1c3f06569d019ad81fd2efa06end * such as structure size changes. No binary compatibility is possible across
5a58787efeb02a1c3f06569d019ad81fd2efa06end * a change in the major version.
5a58787efeb02a1c3f06569d019ad81fd2efa06end *
5a58787efeb02a1c3f06569d019ad81fd2efa06end * MODULE_MAGIC_NUMBER_MINOR
5a58787efeb02a1c3f06569d019ad81fd2efa06end * Minor API changes that do not cause binary compatibility problems.
5a58787efeb02a1c3f06569d019ad81fd2efa06end * Should be reset to 0 when upgrading MODULE_MAGIC_NUMBER_MAJOR.
5a58787efeb02a1c3f06569d019ad81fd2efa06end *
06ba4a61654b3763ad65f52283832ebf058fdf1cslive * See the AP_MODULE_MAGIC_AT_LEAST macro below for an example.
ced7ef1f8c0df1805da0e87dbc5a1b6282910573nd */
9b6a3a558cc90ffdaa0b50bd02546ffec424ded7slive
ced7ef1f8c0df1805da0e87dbc5a1b6282910573nd/*
b21197dc8e6b8c764fdcc24d4bae8b0eebb6bc4end * 20010224 (2.0.13-dev) MODULE_MAGIC_COOKIE reset to "AP20"
9b6a3a558cc90ffdaa0b50bd02546ffec424ded7slive * 20010523 (2.0.19-dev) bump for scoreboard structure reordering
9b6a3a558cc90ffdaa0b50bd02546ffec424ded7slive * 20010627 (2.0.19-dev) more API changes than I can count
9b6a3a558cc90ffdaa0b50bd02546ffec424ded7slive * 20010726 (2.0.22-dev) more big API changes
97a9a944b5887e91042b019776c41d5dd74557aferikabele * 20010808 (2.0.23-dev) dir d_is_absolute bit introduced, bucket changes, etc
f8396ed8364b56ec8adeaa49cac35a929758a29eslive * 20010825 (2.0.25-dev) removed d_is_absolute, introduced map_to_storage hook
ffb01336be79c64046b636e59fa8ddca8ec029edsf * 20011002 (2.0.26-dev) removed 1.3-deprecated request_rec.content_language
f8396ed8364b56ec8adeaa49cac35a929758a29eslive * 20011127 (2.0.29-dev) bump for postconfig hook change, and removal of
f8396ed8364b56ec8adeaa49cac35a929758a29eslive * socket from connection record
5a58787efeb02a1c3f06569d019ad81fd2efa06end * 20011212 (2.0.30-dev) bump for new used_path_info member of request_rec
5a58787efeb02a1c3f06569d019ad81fd2efa06end * 20011218 (2.0.30-dev) bump for new sbh member of conn_rec, different
5a58787efeb02a1c3f06569d019ad81fd2efa06end * declarations for scoreboard, new parameter to
5a58787efeb02a1c3f06569d019ad81fd2efa06end * create_connection hook
deeee6bb6fd94c0ba5f3730b58abd9d299c89ccdnd * 20020102 (2.0.30-dev) bump for changed type of limit_req_body in
4db28ee269aa06f7c6232e11cd01f58c3349af23noodl * core_dir_config
117c1f888a14e73cdd821dc6c23eb0411144a41cnd * 20020109 (2.0.31-dev) bump for changed shm and scoreboard declarations
117c1f888a14e73cdd821dc6c23eb0411144a41cnd * 20020111 (2.0.31-dev) bump for ETag fields added at end of cor_dir_config
4a31db3c3a0202003c1b9f87affa7cc143e120e5sf * 20020114 (2.0.31-dev) mod_dav changed how it asks its provider to fulfill
117c1f888a14e73cdd821dc6c23eb0411144a41cnd * a GET request
ffb01336be79c64046b636e59fa8ddca8ec029edsf * 20020118 (2.0.31-dev) Input filtering split of blocking and mode
117c1f888a14e73cdd821dc6c23eb0411144a41cnd * 20020127 (2.0.31-dev) bump for pre_mpm hook change
117c1f888a14e73cdd821dc6c23eb0411144a41cnd * 20020128 (2.0.31-dev) bump for pre_config hook change
117c1f888a14e73cdd821dc6c23eb0411144a41cnd * 20020218 (2.0.33-dev) bump for AddOutputFilterByType directive
2bc7f1cf720973a67f8ff7a8d523e40569ae5b6cnd * 20020220 (2.0.33-dev) bump for scoreboard.h structure change
117c1f888a14e73cdd821dc6c23eb0411144a41cnd * 20020302 (2.0.33-dev) bump for protocol_filter additions.
117c1f888a14e73cdd821dc6c23eb0411144a41cnd * 20020306 (2.0.34-dev) bump for filter type renames.
117c1f888a14e73cdd821dc6c23eb0411144a41cnd * 20020318 (2.0.34-dev) mod_dav's API for REPORT generation changed
117c1f888a14e73cdd821dc6c23eb0411144a41cnd * 20020319 (2.0.34-dev) M_INVALID changed, plus new M_* methods for RFC 3253
117c1f888a14e73cdd821dc6c23eb0411144a41cnd * 20020327 (2.0.35-dev) Add parameter to quick_handler hook
117c1f888a14e73cdd821dc6c23eb0411144a41cnd * 20020329 (2.0.35-dev) bump for addition of freelists to bucket API
87ffb6e33f3cbef3b9bb406cc2d27039fa336eaatrawick * 20020329.1 (2.0.36) minor bump for new arg to opt fn ap_cgi_build_command
4db28ee269aa06f7c6232e11cd01f58c3349af23noodl * 20020506 (2.0.37-dev) Removed r->boundary in request_rec.
5a58787efeb02a1c3f06569d019ad81fd2efa06end * 20020529 (2.0.37-dev) Standardized the names of some apr_pool_*_set funcs
5a58787efeb02a1c3f06569d019ad81fd2efa06end * 20020602 (2.0.37-dev) Bucket API change (metadata buckets)
5a58787efeb02a1c3f06569d019ad81fd2efa06end * 20020612 (2.0.38-dev) Changed server_rec->[keep_alive_]timeout to apr time
5a58787efeb02a1c3f06569d019ad81fd2efa06end * 20020625 (2.0.40-dev) Changed conn_rec->keepalive to an enumeration
5a58787efeb02a1c3f06569d019ad81fd2efa06end * 20020628 (2.0.40-dev) Added filter_init to filter registration functions
5a58787efeb02a1c3f06569d019ad81fd2efa06end * 20020903 (2.0.41-dev) APR's error constants changed
654d8eb036bedc99e90e11910ee02d3421417697rbowen * 20020903.1 (2.1.0-dev) allow_encoded_slashes added to core_dir_config
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh * 20020903.2 (2.0.46-dev) add ap_escape_logitem
5a58787efeb02a1c3f06569d019ad81fd2efa06end * 20030213.1 (2.1.0-dev) changed log_writer optional fn's to return previous
5a58787efeb02a1c3f06569d019ad81fd2efa06end * handler
5a58787efeb02a1c3f06569d019ad81fd2efa06end * 20030821 (2.1.0-dev) bumped mod_include's entire API
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf * 20030821.1 (2.1.0-dev) added XHTML doctypes
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20030821.2 (2.1.0-dev) added ap_escape_errorlog_item
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20030821.3 (2.1.0-dev) added ap_get_server_revision / ap_version_t
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20040425 (2.1.0-dev) removed ap_add_named_module API
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * changed ap_add_module, ap_add_loaded_module,
06ba4a61654b3763ad65f52283832ebf058fdf1cslive * ap_setup_prelinked_modules,
654d8eb036bedc99e90e11910ee02d3421417697rbowen * ap_process_resource_config
06ba4a61654b3763ad65f52283832ebf058fdf1cslive * 20040425.1 (2.1.0-dev) Added ap_module_symbol_t and
06ba4a61654b3763ad65f52283832ebf058fdf1cslive * ap_prelinked_module_symbols
06ba4a61654b3763ad65f52283832ebf058fdf1cslive * 20050101.0 (2.1.2-dev) Axed misnamed http_method for http_scheme
92510838f2eb125726e15c5eb4f7a23c7a0396e4slive * (which it was!)
97a9a944b5887e91042b019776c41d5dd74557aferikabele * 20050127.0 (2.1.3-dev) renamed regex_t->ap_regex_t,
654d8eb036bedc99e90e11910ee02d3421417697rbowen * regmatch_t->ap_regmatch_t, REG_*->AP_REG_*,
92510838f2eb125726e15c5eb4f7a23c7a0396e4slive * removed reg* in place of ap_reg*; added ap_regex.h
97a9a944b5887e91042b019776c41d5dd74557aferikabele * 20050217.0 (2.1.3-dev) Axed find_child_by_pid, mpm_*_completion_context
9b6a3a558cc90ffdaa0b50bd02546ffec424ded7slive * (winnt mpm) symbols from the public sector, and
9b6a3a558cc90ffdaa0b50bd02546ffec424ded7slive * decorated real_exit_code with ap_ in the win32/os.h.
92510838f2eb125726e15c5eb4f7a23c7a0396e4slive * 20050305.0 (2.1.4-dev) added pid and generation fields to worker_score
92510838f2eb125726e15c5eb4f7a23c7a0396e4slive * 20050305.1 (2.1.5-dev) added ap_vhost_iterate_given_conn.
ffb01336be79c64046b636e59fa8ddca8ec029edsf * 20050305.2 (2.1.5-dev) added AP_INIT_TAKE_ARGV.
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20050305.3 (2.1.5-dev) added Protocol Framework.
ffb01336be79c64046b636e59fa8ddca8ec029edsf * 20050701.0 (2.1.7-dev) Bump MODULE_MAGIC_COOKIE to "AP21"!
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20050701.1 (2.1.7-dev) trace_enable member added to core server_config
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20050708.0 (2.1.7-dev) Bump MODULE_MAGIC_COOKIE to "AP22"!
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20050708.1 (2.1.7-dev) add proxy request_status hook (minor)
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20050919.0 (2.1.8-dev) mod_ssl ssl_ext_list optional function added
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20051005.0 (2.1.8-dev) NET_TIME filter eliminated
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf * 20051005.0 (2.3.0-dev) Bump MODULE_MAGIC_COOKIE to "AP24"!
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20051115.0 (2.3.0-dev) Added use_canonical_phys_port to core_dir_config
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf * 20060110.0 (2.3.0-dev) Conversion of Authz to be provider based
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf * addition of <SatisfyAll><SatisfyOne>
ffb01336be79c64046b636e59fa8ddca8ec029edsf * removal of Satisfy, Allow, Deny, Order
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20060110.1 (2.3.0-dev) minex and minex_set members added to
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf * cache_server_conf (minor)
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20060110.2 (2.3.0-dev) flush_packets and flush_wait members added to
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * proxy_server (minor)
77c77cf89621f21c8e2bbad63058b5eaa5f88d4ajim * 20060110.3 (2.3.0-dev) added inreslist member to proxy_conn_rec (minor)
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20060110.4 (2.3.0-dev) Added server_scheme member to server_rec (minor)
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf * 20060905.0 (2.3.0-dev) Replaced ap_get_server_version() with
ced7ef1f8c0df1805da0e87dbc5a1b6282910573nd * ap_get_server_banner() and ap_get_server_description()
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20060905.1 (2.3.0-dev) Enable retry=0 for the worker (minor)
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf * 20060905.2 (2.3.0-dev) Added ap_all_available_mutexes_string,
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf * ap_available_mutexes_string and
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf * ap_parse_mutex()
ced7ef1f8c0df1805da0e87dbc5a1b6282910573nd * 20060905.3 (2.3.0-dev) Added conn_rec::clogging_input_filters.
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20060905.4 (2.3.0-dev) Added proxy_balancer::sticky_path.
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20060905.5 (2.3.0-dev) Added ap_mpm_safe_kill()
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20070823.0 (2.3.0-dev) Removed ap_all_available_mutexes_string,
4a31db3c3a0202003c1b9f87affa7cc143e120e5sf * ap_available_mutexes_string for macros
4a31db3c3a0202003c1b9f87affa7cc143e120e5sf * 20070823.1 (2.3.0-dev) add ap_send_interim_response()
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20071023.0 (2.3.0-dev) add ap_get_scoreboard(sbh) split from the less
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * conventional ap_get_scoreboard(proc, thread)
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20071023.1 (2.3.0-dev) Add flags field to struct proxy_alias
ffb01336be79c64046b636e59fa8ddca8ec029edsf * 20071023.2 (2.3.0-dev) Add ap_mod_status_reqtail
8a6d5edcb07aeccca7afba02a17dd6904d6b206ctrawick * 20071023.3 (2.3.0-dev) Declare ap_time_process_request() as part of the
92510838f2eb125726e15c5eb4f7a23c7a0396e4slive * public scoreboard API.
92510838f2eb125726e15c5eb4f7a23c7a0396e4slive * 20071108.1 (2.3.0-dev) Add the optional kept_body brigade to request_rec
97a9a944b5887e91042b019776c41d5dd74557aferikabele * 20071108.2 (2.3.0-dev) Add st and keep fields to struct util_ldap_connection_t
92510838f2eb125726e15c5eb4f7a23c7a0396e4slive * 20071108.3 (2.3.0-dev) Add API guarantee for adding connection filters
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic * with non-NULL request_rec pointer (ap_add_*_filter*)
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic * 20071108.4 (2.3.0-dev) Add ap_proxy_ssl_connection_cleanup
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic * 20071108.5 (2.3.0-dev) Add *scpool to proxy_conn_rec structure
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic * 20071108.6 (2.3.0-dev) Add *r and need_flush to proxy_conn_rec structure
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic * 20071108.7 (2.3.0-dev) Add *ftp_directory_charset to proxy_dir_conf
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic * 20071108.8 (2.3.0-dev) Add optional function ap_logio_add_bytes_in() to mog_logio
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic * 20071108.9 (2.3.0-dev) Add chroot support to unixd_config
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic * 20071108.10(2.3.0-dev) Introduce new ap_expr API
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic * 20071108.11(2.3.0-dev) Revise/Expand new ap_expr API
06ba4a61654b3763ad65f52283832ebf058fdf1cslive * 20071108.12(2.3.0-dev) Remove ap_expr_clone from the API (same day it was added)
e8d485701957d5c6de870111c112e168a894d49and * 20080403.0 (2.3.0-dev) Add condition field to core dir config
e8d485701957d5c6de870111c112e168a894d49and * 20080403.1 (2.3.0-dev) Add authn/z hook and provider registration wrappers.
654d8eb036bedc99e90e11910ee02d3421417697rbowen * 20080403.2 (2.3.0-dev) Add ap_escape_path_segment_buffer() and ap_unescape_all().
654d8eb036bedc99e90e11910ee02d3421417697rbowen * 20080407.0 (2.3.0-dev) Remove ap_graceful_stop_signalled.
9b6a3a558cc90ffdaa0b50bd02546ffec424ded7slive * 20080407.1 Deprecate ap_cache_cacheable_hdrs_out and add two
9b6a3a558cc90ffdaa0b50bd02546ffec424ded7slive * generalized ap_cache_cacheable_headers_(in|out).
9bcfc3697a91b5215893a7d0206865b13fc72148nd * 20080528.0 (2.3.0-dev) Switch order of ftp_directory_charset and
9b6a3a558cc90ffdaa0b50bd02546ffec424ded7slive * interpolate_env in proxy_dir_conf.
9b6a3a558cc90ffdaa0b50bd02546ffec424ded7slive * Rationale: see r661069.
06ba4a61654b3763ad65f52283832ebf058fdf1cslive * 20080528.1 (2.3.0-dev) add has_realm_hash() to authn_provider struct
4a31db3c3a0202003c1b9f87affa7cc143e120e5sf * 20080722.0 (2.3.0-dev) remove has_realm_hash() from authn_provider struct
9b6a3a558cc90ffdaa0b50bd02546ffec424ded7slive * 20080722.1 (2.3.0-dev) Add conn_timeout and conn_timeout_set to
9b6a3a558cc90ffdaa0b50bd02546ffec424ded7slive * proxy_worker struct.
709e3a21ba73b8433462959cd56c773454b34441trawick * 20080722.2 (2.3.0-dev) Add scolonsep to proxy_balancer
709e3a21ba73b8433462959cd56c773454b34441trawick * 20080829.0 (2.3.0-dev) Add cookie attributes when removing cookies
709e3a21ba73b8433462959cd56c773454b34441trawick * 20080830.0 (2.3.0-dev) Cookies can be set on headers_out and err_headers_out
709e3a21ba73b8433462959cd56c773454b34441trawick * 20080920.0 (2.3.0-dev) Add ap_mpm_register_timed_callback.
709e3a21ba73b8433462959cd56c773454b34441trawick * 20080920.1 (2.3.0-dev) Export mod_rewrite.h in the public API.
709e3a21ba73b8433462959cd56c773454b34441trawick * 20080920.2 (2.3.0-dev) Added ap_timeout_parameter_parse to util.c / httpd.h
709e3a21ba73b8433462959cd56c773454b34441trawick * 20081101.0 (2.3.0-dev) Remove unused AUTHZ_GROUP_NOTE define.
5a58787efeb02a1c3f06569d019ad81fd2efa06end * 20081102.0 (2.3.0-dev) Remove authz_provider_list, authz_request_state,
5a58787efeb02a1c3f06569d019ad81fd2efa06end * and AUTHZ_ACCESS_PASSED_NOTE.
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd * 20081104.0 (2.3.0-dev) Remove r and need_flush fields from proxy_conn_rec
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd * as they are no longer used and add
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd * ap_proxy_buckets_lifetime_transform to mod_proxy.h
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * 20081129.0 (2.3.0-dev) Move AP_FILTER_ERROR and AP_NOBODY_READ|WROTE
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung * from util_filter.h to httpd.h and change their
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh * numeric values so they do not overlap with other
19737f4fbef1805f9c3e9e045bb6d710a1e5e10fhumbedooh * potential status codes
0d0ba3a410038e179b695446bb149cce6264e0abnd * 20081201.0 (2.3.0-dev) Rename several APIs to include ap_ prefix.
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh * 20081201.1 (2.3.0-dev) Added ap_args_to_table and ap_body_to_table.
0d0ba3a410038e179b695446bb149cce6264e0abnd * 20081212.0 (2.3.0-dev) Remove sb_type from process_score in scoreboard.h.
0d0ba3a410038e179b695446bb149cce6264e0abnd * 20081231.0 (2.3.0-dev) Switch ap_escape_html API: add ap_escape_html2,
0d0ba3a410038e179b695446bb149cce6264e0abnd * and make ap_escape_html a macro for it.
0d0ba3a410038e179b695446bb149cce6264e0abnd * 20090130.0 (2.3.2-dev) Add ap_ prefix to unixd_setup_child().
0d0ba3a410038e179b695446bb149cce6264e0abnd * 20090131.0 (2.3.2-dev) Remove ap_default_type(), disable DefaultType
0d0ba3a410038e179b695446bb149cce6264e0abnd * 20090208.0 (2.3.2-dev) Add conn_rec::current_thread.
0d0ba3a410038e179b695446bb149cce6264e0abnd * 20090208.1 (2.3.3-dev) Add ap_retained_data_create()/ap_retained_data_get()
0d0ba3a410038e179b695446bb149cce6264e0abnd * 20090401.0 (2.3.3-dev) Remove ap_threads_per_child, ap_max_daemons_limit,
0d0ba3a410038e179b695446bb149cce6264e0abnd * ap_my_generation, etc. ap_mpm_query() can't be called
0d0ba3a410038e179b695446bb149cce6264e0abnd * until after the register-hooks phase.
0d0ba3a410038e179b695446bb149cce6264e0abnd * 20090401.1 (2.3.3-dev) Protected log.c internals, http_log.h changes
0d0ba3a410038e179b695446bb149cce6264e0abnd * 20090401.2 (2.3.3-dev) Added tmp_flush_bb to core_output_filter_ctx_t
0d0ba3a410038e179b695446bb149cce6264e0abnd * 20090401.3 (2.3.3-dev) Added DAV options provider to mod_dav.h
0d0ba3a410038e179b695446bb149cce6264e0abnd * 20090925.0 (2.3.3-dev) Added server_rec::context and added *server_rec
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh * param to ap_wait_or_timeout()
5effc8b39fae5cd169d17f342bfc265705840014rbowen * 20090925.1 (2.3.3-dev) Add optional function ap_logio_get_last_bytes() to
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen * mod_logio
0d0ba3a410038e179b695446bb149cce6264e0abnd * 20091011.0 (2.3.3-dev) Move preserve_host{,_set} from proxy_server_conf to
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd * proxy_dir_conf
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd * 20091011.1 (2.3.3-dev) add debug_level to util_ldap_state_t
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd * 20091031.0 (2.3.3-dev) remove public LDAP referral-related macros
5a58787efeb02a1c3f06569d019ad81fd2efa06end * 20091119.0 (2.3.4-dev) dav_error interface uses apr_status_t parm, not errno
* 20091119.1 (2.3.4-dev) ap_mutex_register(), ap_{proc,global}_mutex_create()
* 20091229.0 (2.3.5-dev) Move allowed_connect_ports from proxy_server_conf
* to mod_proxy_connect
* 20091230.0 (2.3.5-dev) Move ftp_directory_charset from proxy_dir_conf
* to proxy_ftp_dir_conf(mod_proxy_ftp)
* 20091230.1 (2.3.5-dev) add util_ldap_state_t.opTimeout
* 20091230.2 (2.3.5-dev) add ap_get_server_name_for_url()
* 20091230.3 (2.3.6-dev) add ap_parse_log_level()
* 20091230.4 (2.3.6-dev) export ap_process_request_after_handler() for mod_serf
* 20100208.0 (2.3.6-dev) ap_socache_provider_t API changes to store and iterate
* 20100208.1 (2.3.6-dev) Added forward member to proxy_conn_rec
* 20100208.2 (2.3.6-dev) Added ap_log_command_line().
* 20100223.0 (2.3.6-dev) LDAP client_certs per-server moved to per-dir
* 20100223.1 (2.3.6-dev) Added ap_process_fnmatch_configs().
* 20100504.0 (2.3.6-dev) Added name arg to ap_{proc,global}_mutex_create().
* 20100604.0 (2.3.6-dev) Remove unused core_dir_config::loglevel
* 20100606.0 (2.3.6-dev) Make ap_log_*error macro wrappers around
* ap_log_*error_ to save argument preparation and
* function call overhead.
* Introduce per-module loglevels, including new APIs
* APLOG_USE_MODULE() and AP_DECLARE_MODULE().
* 20100606.1 (2.3.6-dev) Added extended timestamp formatting via
* ap_recent_ctime_ex().
* 20100609.0 (2.3.6-dev) Dropped ap_body_to_table due to missing constraints.
* 20100609.1 (2.3.7-dev) Introduce ap_log_cserror()
* 20100609.2 (2.3.7-dev) Add deferred write pool to core_output_filter_ctx
* 20100625.0 (2.3.7-dev) Add 'userctx' to socache iterator callback prototype
* 20100630.0 (2.3.7-dev) make module_levels vector of char instead of int
* 20100701.0 (2.3.7-dev) re-order struct members to improve alignment
* 20100701.1 (2.3.7-dev) add note_auth_failure hook
* 20100701.2 (2.3.7-dev) add ap_proxy_*_wid() functions
* 20100714.0 (2.3.7-dev) add access_checker_ex hook, add AUTHZ_DENIED_NO_USER
* to authz_status, call authz providers twice to allow
* authz without authenticated user
* 20100719.0 (2.3.7-dev) Add symbol name parameter to ap_add_module and
* ap_add_loaded_module. Add ap_find_module_short_name
* 20100723.0 (2.3.7-dev) Remove ct_output_filters from core rec
* 20100723.1 (2.3.7-dev) Added ap_proxy_hashfunc() and hash elements to
* proxy worker structs
* 20100723.2 (2.3.7-dev) Add ap_request_has_body()
* 20100723.3 (2.3.8-dev) Add ap_check_mpm()
* 20100905.0 (2.3.9-dev) Add log_id to conn and req recs. Add error log
* format handlers. Support AP_CTIME_OPTION_COMPACT in
* ap_recent_ctime_ex().
* 20100905.1 (2.3.9-dev) Add ap_cache_check_allowed()
* 20100912.0 (2.3.9-dev) Add an additional "out" brigade parameter to the
* mod_cache store_body() provider function.
* 20100916.0 (2.3.9-dev) Add commit_entity() to the mod_cache provider
* interface.
* 20100918.0 (2.3.9-dev) Move the request_rec within mod_include to be
* exposed within include_ctx_t.
* 20100919.0 (2.3.9-dev) Authz providers: Add parsed_require_line parameter
* to check_authorization() function. Add
* parse_require_line() function.
* 20100919.1 (2.3.9-dev) Introduce ap_rxplus util/API
* 20100921.0 (2.3.9-dev) Add an apr_bucket_brigade to the create_entity
* provider interface for mod_cache.h.
* 20100922.0 (2.3.9-dev) Move cache_* functions from mod_cache.h to a
* private header file.
* 20100923.0 (2.3.9-dev) Remove MOD_CACHE_REQUEST_REC, remove deprecated
* ap_cache_cacheable_hdrs_out, trim cache_object_t,
* make ap_cache_accept_headers, ap_cache_accept_headers
* ap_cache_try_lock, ap_cache_check_freshness,
* cache_server_conf, cache_enable, cache_disable,
* cache_request_rec and cache_provider_list private.
* 20100923.1 (2.3.9-dev) Add cache_status hook.
* 20100923.2 (2.3.9-dev) Add generate_log_id hook.
* Make root parameter of ap_expr_eval() const.
* 20100923.3 (2.3.9-dev) Add "last" member to ap_directive_t
* 20101012.0 (2.3.9-dev) Add header to cache_status hook.
* 20101016.0 (2.3.9-dev) Remove ap_cache_check_allowed().
* 20101017.0 (2.3.9-dev) Make ap_cache_control() public, add cache_control_t
* to mod_disk_cache format.
* 20101106.0 (2.3.9-dev) Replace the ap_expr parser derived from
* mod_include's parser with one derived from
* mod_ssl's parser. Clean up ap_expr's public
* interface.
* 20101106.1 (2.3.9-dev) Add ap_pool_cleanup_set_null() generic cleanup
* 20101106.2 (2.3.9-dev) Add suexec_disabled_reason field to ap_unixd_config
* 20101113.0 (2.3.9-dev) Add source address to mod_proxy.h
* 20101113.1 (2.3.9-dev) Add ap_set_flag_slot_char()
* 20101113.2 (2.3.9-dev) Add ap_expr_exec_re()
* 20101204.0 (2.3.10-dev) Add _t to ap_expr's typedef names
* 20101223.0 (2.3.11-dev) Remove cleaned from proxy_conn_rec.
* 20101223.1 (2.3.11-dev) Rework mod_proxy, et.al. Remove proxy_worker_stat
* and replace w/ proxy_worker_shared; remove worker
* info from scoreboard and use slotmem; Allow
* dynamic growth of balancer members; Remove
* BalancerNonce in favor of 'nonce' parameter.
* 20110117.0 (2.3.11-dev) Merge <If> sections in separate step (ap_if_walk).
* Add core_dir_config->sec_if. Add ap_add_if_conf().
* Add pool argument to ap_add_file_conf().
* 20110117.1 (2.3.11-dev) Add ap_pstr2_alnum() and ap_str2_alnum()
* 20110203.0 (2.3.11-dev) Raise DYNAMIC_MODULE_LIMIT to 256
* 20110203.1 (2.3.11-dev) Add ap_state_query()
* 20110203.2 (2.3.11-dev) Add ap_run_pre_read_request() hook and
* ap_parse_form_data() util
* 20110312.0 (2.3.12-dev) remove uldap_connection_cleanup and add
util_ldap_state_t.connectionPoolTTL,
util_ldap_connection_t.freed, and
util_ldap_connection_t.rebind_pool.
* 20110312.1 (2.3.12-dev) Add core_dir_config.decode_encoded_slashes.
* 20110328.0 (2.3.12-dev) change type and name of connectionPoolTTL in util_ldap_state_t
connectionPoolTTL (connection_pool_ttl, int->apr_interval_t)
* 20110329.0 (2.3.12-dev) Change single-bit signed fields to unsigned in
* proxy and cache interfaces.
* Change ap_configfile_t/ap_cfg_getline()/
* ap_cfg_getc() API, add ap_pcfg_strerror()
* Axe mpm_note_child_killed hook, change
* ap_reclaim_child_process and ap_recover_child_process
* interfaces.
* 20110329.1 (2.3.12-dev) Add ap_reserve_module_slots()/ap_reserve_module_slots_directive()
* change AP_CORE_DECLARE to AP_DECLARE: ap_create_request_config()
* change AP_DECLARE to AP_CORE_DECLARE: ap_register_log_hooks()
* 20110329.2 (2.3.12-dev) Add child_status and end_generation hooks.
* 20110329.3 (2.3.12-dev) Add format field to ap_errorlog_info.
* 20110329.4 (2.3.13-dev) bgrowth and max_balancers to proxy_server_conf.
* 20110329.5 (2.3.13-dev) Add ap_regexec_len()
* 20110329.6 (2.3.13-dev) Add AP_EXPR_FLAGS_RESTRICTED, ap_expr_eval_ctx_t->data,
* ap_expr_exec_ctx()
* 20110604.0 (2.3.13-dev) Make ap_rputs() inline
* 20110605.0 (2.3.13-dev) add core_dir_config->condition_ifelse, change return
* type of ap_add_if_conf().
* Add members of core_request_config: document_root,
* context_document_root, context_prefix.
* Add ap_context_*(), ap_set_context_info(), ap_set_document_root()
* 20110605.1 (2.3.13-dev) add ap_(get|set)_core_module_config()
* 20110605.2 (2.3.13-dev) add ap_get_conn_socket()
* 20110619.0 (2.3.13-dev) add async connection infos to process_score in scoreboard,
* add ap_start_lingering_close(),
* add conn_state_e:CONN_STATE_LINGER_NORMAL and CONN_STATE_LINGER_SHORT
* 20110619.1 (2.3.13-dev) add ap_str_toupper()
* 20110702.0 (2.3.14-dev) make ap_expr_parse_cmd() macro wrapper for new
* ap_expr_parse_cmd_mi() function, add ap_expr_str_*() functions,
* rename AP_EXPR_FLAGS_* -> AP_EXPR_FLAG_*
* 20110702.1 (2.3.14-dev) Add ap_scan_script_header_err*_ex functions
* 20110723.0 (2.3.14-dev) Revert addition of ap_ldap*
* 20110724.0 (2.3.14-dev) Add override_list as parameter to ap_parse_htaccess
* Add member override_list to cmd_parms_struct,
* core_dir_config and htaccess_result
* 20110724.1 (2.3.15-dev) add NOT_IN_HTACCESS
* 20110724.2 (2.3.15-dev) retries and retry_delay in util_ldap_state_t
* 20110724.3 (2.3.15-dev) add util_varbuf.h / ap_varbuf API
* 20110724.4 (2.3.15-dev) add max_ranges to core_dir_config
* 20110724.5 (2.3.15-dev) add ap_set_accept_ranges()
* 20110724.6 (2.3.15-dev) add max_overlaps and max_reversals to core_dir_config
* 20110724.7 (2.3.15-dev) add ap_random_insecure_bytes(), ap_random_pick()
* 20110724.8 (2.3.15-dev) add ap_abort_on_oom(), ap_malloc(), ap_calloc(),
* ap_realloc()
* 20110724.9 (2.3.15-dev) add ap_varbuf_pdup() and ap_varbuf_regsub()
* 20110724.10(2.3.15-dev) Export ap_max_mem_free
*/
#define MODULE_MAGIC_COOKIE 0x41503234UL /* "AP24" */
#ifndef MODULE_MAGIC_NUMBER_MAJOR
#define MODULE_MAGIC_NUMBER_MAJOR 20110724
#endif
#define MODULE_MAGIC_NUMBER_MINOR 10 /* 0...n */
/**
* Determine if the server's current MODULE_MAGIC_NUMBER is at least a
* specified value.
*
* Useful for testing for features.
* For example, suppose you wish to use the apr_table_overlap
* function. You can do this:
*
* \code
* #if AP_MODULE_MAGIC_AT_LEAST(19980812,2)
* ... use apr_table_overlap()
* #else
* ... alternative code which doesn't use apr_table_overlap()
* #endif
* \endcode
*
* @param major The major module magic number
* @param minor The minor module magic number
* @def AP_MODULE_MAGIC_AT_LEAST(int major, int minor)
*/
#define AP_MODULE_MAGIC_AT_LEAST(major,minor) \
((major) < MODULE_MAGIC_NUMBER_MAJOR \
|| ((major) == MODULE_MAGIC_NUMBER_MAJOR \
&& (minor) <= MODULE_MAGIC_NUMBER_MINOR))
/** @deprecated present for backwards compatibility */
#define MODULE_MAGIC_NUMBER MODULE_MAGIC_NUMBER_MAJOR
#define MODULE_MAGIC_AT_LEAST old_broken_macro_we_hope_you_are_not_using
#endif /* !APACHE_AP_MMN_H */
/** @} */