ap_mmn.h revision e302f38fd646764ce1a1e1c578d794aef514a9e5
6de8046f8f7e07cd83895a528df25d977e502c76nd/* Licensed to the Apache Software Foundation (ASF) under one or more
f062ed7bd262a37a909dd77ce5fc23b446818823fielding * contributor license agreements. See the NOTICE file distributed with
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * this work for additional information regarding copyright ownership.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * The ASF licenses this file to You under the Apache License, Version 2.0
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * (the "License"); you may not use this file except in compliance with
2d2eda71267231c2526be701fe655db125852c1ffielding * the License. You may obtain a copy of the License at
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd *
2d2eda71267231c2526be701fe655db125852c1ffielding * http://www.apache.org/licenses/LICENSE-2.0
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd *
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * Unless required by applicable law or agreed to in writing, software
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * distributed under the License is distributed on an "AS IS" BASIS,
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd * See the License for the specific language governing permissions and
2d2eda71267231c2526be701fe655db125852c1ffielding * limitations under the License.
2d2eda71267231c2526be701fe655db125852c1ffielding */
2d2eda71267231c2526be701fe655db125852c1ffielding
2d2eda71267231c2526be701fe655db125852c1ffielding/**
2d2eda71267231c2526be701fe655db125852c1ffielding * @file ap_mmn.h
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb * @brief Module Magic Number
b980ad7fdc218b4855cde9f75a747527f50c554dwrowe *
ab5581cc78e9d865b0a6ab1404c53347b3276968rbb * @defgroup APACHE_CORE_MMN Module Magic Number
92f3af936ce61f25358a3ee4f28df2f6d62040dfdreid * @ingroup APACHE_CORE
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb * @{
c9a95767fbf0f5fb0976a06b97a256033925e433rbb */
fd0edaa8e3d4dd67d0604ccef2e96b071db96643fielding
2d2eda71267231c2526be701fe655db125852c1ffielding#ifndef APACHE_AP_MMN_H
2d2eda71267231c2526be701fe655db125852c1ffielding#define APACHE_AP_MMN_H
2d2eda71267231c2526be701fe655db125852c1ffielding
2d2eda71267231c2526be701fe655db125852c1ffielding/*
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * MODULE_MAGIC_NUMBER_MAJOR
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * Major API changes that could cause compatibility problems for older modules
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * such as structure size changes. No binary compatibility is possible across
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * a change in the major version.
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj *
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj * MODULE_MAGIC_NUMBER_MINOR
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj * Minor API changes that do not cause binary compatibility problems.
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj * Should be reset to 0 when upgrading MODULE_MAGIC_NUMBER_MAJOR.
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj *
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj * See the AP_MODULE_MAGIC_AT_LEAST macro below for an example.
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj */
fd492f9543f14fb5bae78e04b135c3448eb9cc56rbb
fd492f9543f14fb5bae78e04b135c3448eb9cc56rbb/*
fd492f9543f14fb5bae78e04b135c3448eb9cc56rbb * 20010224 (2.0.13-dev) MODULE_MAGIC_COOKIE reset to "AP20"
fd492f9543f14fb5bae78e04b135c3448eb9cc56rbb * 20010523 (2.0.19-dev) bump for scoreboard structure reordering
fd492f9543f14fb5bae78e04b135c3448eb9cc56rbb * 20010627 (2.0.19-dev) more API changes than I can count
2d2eda71267231c2526be701fe655db125852c1ffielding * 20010726 (2.0.22-dev) more big API changes
2d2eda71267231c2526be701fe655db125852c1ffielding * 20010808 (2.0.23-dev) dir d_is_absolute bit introduced, bucket changes, etc
2d2eda71267231c2526be701fe655db125852c1ffielding * 20010825 (2.0.25-dev) removed d_is_absolute, introduced map_to_storage hook
2d2eda71267231c2526be701fe655db125852c1ffielding * 20011002 (2.0.26-dev) removed 1.3-deprecated request_rec.content_language
2d2eda71267231c2526be701fe655db125852c1ffielding * 20011127 (2.0.29-dev) bump for postconfig hook change, and removal of
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * socket from connection record
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20011212 (2.0.30-dev) bump for new used_path_info member of request_rec
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20011218 (2.0.30-dev) bump for new sbh member of conn_rec, different
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * declarations for scoreboard, new parameter to
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * create_connection hook
2d2eda71267231c2526be701fe655db125852c1ffielding * 20020102 (2.0.30-dev) bump for changed type of limit_req_body in
2d2eda71267231c2526be701fe655db125852c1ffielding * core_dir_config
8af88bd6958b80c224e964892b8237720b13ab1ajerenkrantz * 20020109 (2.0.31-dev) bump for changed shm and scoreboard declarations
8af88bd6958b80c224e964892b8237720b13ab1ajerenkrantz * 20020111 (2.0.31-dev) bump for ETag fields added at end of cor_dir_config
8af88bd6958b80c224e964892b8237720b13ab1ajerenkrantz * 20020114 (2.0.31-dev) mod_dav changed how it asks its provider to fulfill
8af88bd6958b80c224e964892b8237720b13ab1ajerenkrantz * a GET request
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp * 20020118 (2.0.31-dev) Input filtering split of blocking and mode
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp * 20020127 (2.0.31-dev) bump for pre_mpm hook change
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp * 20020128 (2.0.31-dev) bump for pre_config hook change
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp * 20020218 (2.0.33-dev) bump for AddOutputFilterByType directive
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp * 20020220 (2.0.33-dev) bump for scoreboard.h structure change
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp * 20020302 (2.0.33-dev) bump for protocol_filter additions.
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp * 20020306 (2.0.34-dev) bump for filter type renames.
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp * 20020318 (2.0.34-dev) mod_dav's API for REPORT generation changed
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp * 20020319 (2.0.34-dev) M_INVALID changed, plus new M_* methods for RFC 3253
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp * 20020327 (2.0.35-dev) Add parameter to quick_handler hook
8af88bd6958b80c224e964892b8237720b13ab1ajerenkrantz * 20020329 (2.0.35-dev) bump for addition of freelists to bucket API
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb * 20020329.1 (2.0.36) minor bump for new arg to opt fn ap_cgi_build_command
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb * 20020506 (2.0.37-dev) Removed r->boundary in request_rec.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20020529 (2.0.37-dev) Standardized the names of some apr_pool_*_set funcs
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20020602 (2.0.37-dev) Bucket API change (metadata buckets)
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20020612 (2.0.38-dev) Changed server_rec->[keep_alive_]timeout to apr time
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20020625 (2.0.40-dev) Changed conn_rec->keepalive to an enumeration
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20020628 (2.0.40-dev) Added filter_init to filter registration functions
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20020903 (2.0.41-dev) APR's error constants changed
3d96ee83babeec32482c9082c9426340cee8c44dwrowe * 20020903.1 (2.1.0-dev) allow_encoded_slashes added to core_dir_config
2d2eda71267231c2526be701fe655db125852c1ffielding * 20020903.2 (2.0.46-dev) add ap_escape_logitem
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20030213.1 (2.1.0-dev) changed log_writer optional fn's to return previous
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * handler
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20030821 (2.1.0-dev) bumped mod_include's entire API
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20030821.1 (2.1.0-dev) added XHTML doctypes
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20030821.2 (2.1.0-dev) added ap_escape_errorlog_item
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20030821.3 (2.1.0-dev) added ap_get_server_revision / ap_version_t
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20040425 (2.1.0-dev) removed ap_add_named_module API
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * changed ap_add_module, ap_add_loaded_module,
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * ap_setup_prelinked_modules,
2d2eda71267231c2526be701fe655db125852c1ffielding * ap_process_resource_config
3d96ee83babeec32482c9082c9426340cee8c44dwrowe * 20040425.1 (2.1.0-dev) Added ap_module_symbol_t and
2d2eda71267231c2526be701fe655db125852c1ffielding * ap_prelinked_module_symbols
2d2eda71267231c2526be701fe655db125852c1ffielding * 20050101.0 (2.1.2-dev) Axed misnamed http_method for http_scheme
2d2eda71267231c2526be701fe655db125852c1ffielding * (which it was!)
2d2eda71267231c2526be701fe655db125852c1ffielding * 20050127.0 (2.1.3-dev) renamed regex_t->ap_regex_t,
000b67449410515eac43e76ef6667915bfd4d2abgstein * regmatch_t->ap_regmatch_t, REG_*->AP_REG_*,
2d2eda71267231c2526be701fe655db125852c1ffielding * removed reg* in place of ap_reg*; added ap_regex.h
2d2eda71267231c2526be701fe655db125852c1ffielding * 20050217.0 (2.1.3-dev) Axed find_child_by_pid, mpm_*_completion_context
2d2eda71267231c2526be701fe655db125852c1ffielding * (winnt mpm) symbols from the public sector, and
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * decorated real_exit_code with ap_ in the win32/os.h.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20050305.0 (2.1.4-dev) added pid and generation fields to worker_score
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20050305.1 (2.1.5-dev) added ap_vhost_iterate_given_conn.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20050305.2 (2.1.5-dev) added AP_INIT_TAKE_ARGV.
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein * 20050305.3 (2.1.5-dev) added Protocol Framework.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20050701.0 (2.1.7-dev) Bump MODULE_MAGIC_COOKIE to "AP21"!
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein * 20050701.1 (2.1.7-dev) trace_enable member added to core server_config
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein * 20050708.0 (2.1.7-dev) Bump MODULE_MAGIC_COOKIE to "AP22"!
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20050708.1 (2.1.7-dev) add proxy request_status hook (minor)
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20050919.0 (2.1.8-dev) mod_ssl ssl_ext_list optional function added
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20051005.0 (2.1.8-dev) NET_TIME filter eliminated
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20051005.0 (2.3.0-dev) Bump MODULE_MAGIC_COOKIE to "AP24"!
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20051115.0 (2.3.0-dev) Added use_canonical_phys_port to core_dir_config
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20060110.0 (2.3.0-dev) Conversion of Authz to be provider based
3d96ee83babeec32482c9082c9426340cee8c44dwrowe * addition of <SatisfyAll><SatisfyOne>
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein * removal of Satisfy, Allow, Deny, Order
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20060110.1 (2.3.0-dev) minex and minex_set members added to
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * cache_server_conf (minor)
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20060110.2 (2.3.0-dev) flush_packets and flush_wait members added to
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * proxy_server (minor)
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20060110.3 (2.3.0-dev) added inreslist member to proxy_conn_rec (minor)
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20060110.4 (2.3.0-dev) Added server_scheme member to server_rec (minor)
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20060905.0 (2.3.0-dev) Replaced ap_get_server_version() with
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * ap_get_server_banner() and ap_get_server_description()
3d96ee83babeec32482c9082c9426340cee8c44dwrowe * 20060905.1 (2.3.0-dev) Enable retry=0 for the worker (minor)
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein * 20060905.2 (2.3.0-dev) Added ap_all_available_mutexes_string,
c9a95767fbf0f5fb0976a06b97a256033925e433rbb * ap_available_mutexes_string and
c9a95767fbf0f5fb0976a06b97a256033925e433rbb * ap_parse_mutex()
c9a95767fbf0f5fb0976a06b97a256033925e433rbb * 20060905.3 (2.3.0-dev) Added conn_rec::clogging_input_filters.
c9a95767fbf0f5fb0976a06b97a256033925e433rbb * 20060905.4 (2.3.0-dev) Added proxy_balancer::sticky_path.
c9a95767fbf0f5fb0976a06b97a256033925e433rbb * 20060905.5 (2.3.0-dev) Added ap_mpm_safe_kill()
c9a95767fbf0f5fb0976a06b97a256033925e433rbb * 20070823.0 (2.3.0-dev) Removed ap_all_available_mutexes_string,
c9a95767fbf0f5fb0976a06b97a256033925e433rbb * ap_available_mutexes_string for macros
c9a95767fbf0f5fb0976a06b97a256033925e433rbb * 20070823.1 (2.3.0-dev) add ap_send_interim_response()
c9a95767fbf0f5fb0976a06b97a256033925e433rbb * 20071023.0 (2.3.0-dev) add ap_get_scoreboard(sbh) split from the less
c9a95767fbf0f5fb0976a06b97a256033925e433rbb * conventional ap_get_scoreboard(proc, thread)
c9a95767fbf0f5fb0976a06b97a256033925e433rbb * 20071023.1 (2.3.0-dev) Add flags field to struct proxy_alias
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp * 20071023.2 (2.3.0-dev) Add ap_mod_status_reqtail
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp * 20071023.3 (2.3.0-dev) Declare ap_time_process_request() as part of the
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp * public scoreboard API.
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp * 20071108.1 (2.3.0-dev) Add the optional kept_body brigade to request_rec
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp * 20071108.2 (2.3.0-dev) Add st and keep fields to struct util_ldap_connection_t
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp * 20071108.3 (2.3.0-dev) Add API guarantee for adding connection filters
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp * with non-NULL request_rec pointer (ap_add_*_filter*)
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp * 20071108.4 (2.3.0-dev) Add ap_proxy_ssl_connection_cleanup
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp * 20071108.5 (2.3.0-dev) Add *scpool to proxy_conn_rec structure
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp * 20071108.6 (2.3.0-dev) Add *r and need_flush to proxy_conn_rec structure
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp * 20071108.7 (2.3.0-dev) Add *ftp_directory_charset to proxy_dir_conf
c9a95767fbf0f5fb0976a06b97a256033925e433rbb * 20071108.8 (2.3.0-dev) Add optional function ap_logio_add_bytes_in() to mog_logio
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20071108.9 (2.3.0-dev) Add chroot support to unixd_config
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20071108.10(2.3.0-dev) Introduce new ap_expr API
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20071108.11(2.3.0-dev) Revise/Expand new ap_expr API
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20071108.12(2.3.0-dev) Remove ap_expr_clone from the API (same day it was added)
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20080403.0 (2.3.0-dev) Add condition field to core dir config
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20080403.1 (2.3.0-dev) Add authn/z hook and provider registration wrappers.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20080403.2 (2.3.0-dev) Add ap_escape_path_segment_buffer() and ap_unescape_all().
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20080407.0 (2.3.0-dev) Remove ap_graceful_stop_signalled.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20080407.1 Deprecate ap_cache_cacheable_hdrs_out and add two
3d96ee83babeec32482c9082c9426340cee8c44dwrowe * generalized ap_cache_cacheable_headers_(in|out).
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein * 20080528.0 (2.3.0-dev) Switch order of ftp_directory_charset and
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * interpolate_env in proxy_dir_conf.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * Rationale: see r661069.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20080528.1 (2.3.0-dev) add has_realm_hash() to authn_provider struct
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20080722.0 (2.3.0-dev) remove has_realm_hash() from authn_provider struct
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20080722.1 (2.3.0-dev) Add conn_timeout and conn_timeout_set to
3d96ee83babeec32482c9082c9426340cee8c44dwrowe * proxy_worker struct.
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein * 20080722.2 (2.3.0-dev) Add scolonsep to proxy_balancer
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20080829.0 (2.3.0-dev) Add cookie attributes when removing cookies
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20080830.0 (2.3.0-dev) Cookies can be set on headers_out and err_headers_out
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20080920.0 (2.3.0-dev) Add ap_mpm_register_timed_callback.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20080920.1 (2.3.0-dev) Export mod_rewrite.h in the public API.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20080920.2 (2.3.0-dev) Added ap_timeout_parameter_parse to util.c / httpd.h
3d96ee83babeec32482c9082c9426340cee8c44dwrowe * 20081101.0 (2.3.0-dev) Remove unused AUTHZ_GROUP_NOTE define.
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein * 20081102.0 (2.3.0-dev) Remove authz_provider_list, authz_request_state,
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * and AUTHZ_ACCESS_PASSED_NOTE.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20081104.0 (2.3.0-dev) Remove r and need_flush fields from proxy_conn_rec
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * as they are no longer used and add
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * ap_proxy_buckets_lifetime_transform to mod_proxy.h
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20081129.0 (2.3.0-dev) Move AP_FILTER_ERROR and AP_NOBODY_READ|WROTE
78ae1cbba5a848a24ca551629bbf0a90d2b931f0stas * from util_filter.h to httpd.h and change their
78ae1cbba5a848a24ca551629bbf0a90d2b931f0stas * numeric values so they do not overlap with other
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * potential status codes
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20081201.0 (2.3.0-dev) Rename several APIs to include ap_ prefix.
3d96ee83babeec32482c9082c9426340cee8c44dwrowe * 20081201.1 (2.3.0-dev) Added ap_args_to_table and ap_body_to_table.
2d2eda71267231c2526be701fe655db125852c1ffielding * 20081212.0 (2.3.0-dev) Remove sb_type from process_score in scoreboard.h.
2d2eda71267231c2526be701fe655db125852c1ffielding * 20081231.0 (2.3.0-dev) Switch ap_escape_html API: add ap_escape_html2,
2d2eda71267231c2526be701fe655db125852c1ffielding * and make ap_escape_html a macro for it.
2d2eda71267231c2526be701fe655db125852c1ffielding * 20090130.0 (2.3.2-dev) Add ap_ prefix to unixd_setup_child().
2d2eda71267231c2526be701fe655db125852c1ffielding * 20090131.0 (2.3.2-dev) Remove ap_default_type(), disable DefaultType
2d2eda71267231c2526be701fe655db125852c1ffielding * 20090208.0 (2.3.2-dev) Add conn_rec::current_thread.
2d2eda71267231c2526be701fe655db125852c1ffielding * 20090208.1 (2.3.3-dev) Add ap_retained_data_create()/ap_retained_data_get()
2d2eda71267231c2526be701fe655db125852c1ffielding * 20090401.0 (2.3.3-dev) Remove ap_threads_per_child, ap_max_daemons_limit,
2d2eda71267231c2526be701fe655db125852c1ffielding * ap_my_generation, etc. ap_mpm_query() can't be called
2d2eda71267231c2526be701fe655db125852c1ffielding * until after the register-hooks phase.
2d2eda71267231c2526be701fe655db125852c1ffielding * 20090401.1 (2.3.3-dev) Protected log.c internals, http_log.h changes
2d2eda71267231c2526be701fe655db125852c1ffielding * 20090401.2 (2.3.3-dev) Added tmp_flush_bb to core_output_filter_ctx_t
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20090401.3 (2.3.3-dev) Added DAV options provider to mod_dav.h
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20090925.0 (2.3.3-dev) Added server_rec::context and added *server_rec
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * param to ap_wait_or_timeout()
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20090925.1 (2.3.3-dev) Add optional function ap_logio_get_last_bytes() to
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * mod_logio
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20091011.0 (2.3.3-dev) Move preserve_host{,_set} from proxy_server_conf to
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * proxy_dir_conf
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20091011.1 (2.3.3-dev) add debug_level to util_ldap_state_t
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20091031.0 (2.3.3-dev) remove public LDAP referral-related macros
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20091119.0 (2.3.4-dev) dav_error interface uses apr_status_t parm, not errno
3d96ee83babeec32482c9082c9426340cee8c44dwrowe * 20091119.1 (2.3.4-dev) ap_mutex_register(), ap_{proc,global}_mutex_create()
1ccd992d37d62c8cb2056126f2234f64ec189bfddougm * 20091229.0 (2.3.5-dev) Move allowed_connect_ports from proxy_server_conf
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein * to mod_proxy_connect
23ff73a56371e21f16744cb94d06399b877829f1rbb * 20091230.0 (2.3.5-dev) Move ftp_directory_charset from proxy_dir_conf
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * to proxy_ftp_dir_conf(mod_proxy_ftp)
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20091230.1 (2.3.5-dev) add util_ldap_state_t.opTimeout
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20091230.2 (2.3.5-dev) add ap_get_server_name_for_url()
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20091230.3 (2.3.6-dev) add ap_parse_log_level()
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20091230.4 (2.3.6-dev) export ap_process_request_after_handler() for mod_serf
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20100208.0 (2.3.6-dev) ap_socache_provider_t API changes to store and iterate
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20100208.1 (2.3.6-dev) Added forward member to proxy_conn_rec
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20100208.2 (2.3.6-dev) Added ap_log_command_line().
61fd0cab072a05b855cbef9c585702401ac5ae29rbb * 20100223.0 (2.3.6-dev) LDAP client_certs per-server moved to per-dir
3d96ee83babeec32482c9082c9426340cee8c44dwrowe * 20100223.1 (2.3.6-dev) Added ap_process_fnmatch_configs().
2d2eda71267231c2526be701fe655db125852c1ffielding * 20100504.0 (2.3.6-dev) Added name arg to ap_{proc,global}_mutex_create().
23ff73a56371e21f16744cb94d06399b877829f1rbb * 20100604.0 (2.3.6-dev) Remove unused core_dir_config::loglevel
2d2eda71267231c2526be701fe655db125852c1ffielding * 20100606.0 (2.3.6-dev) Make ap_log_*error macro wrappers around
62db15de4c1f335a64d45821796ae197cff94ef8rbb * ap_log_*error_ to save argument preparation and
62db15de4c1f335a64d45821796ae197cff94ef8rbb * function call overhead.
62db15de4c1f335a64d45821796ae197cff94ef8rbb * Introduce per-module loglevels
62db15de4c1f335a64d45821796ae197cff94ef8rbb * 20100606.1 (2.3.6-dev) Added extended timestamp formatting via
62db15de4c1f335a64d45821796ae197cff94ef8rbb * ap_recent_ctime_ex().
62db15de4c1f335a64d45821796ae197cff94ef8rbb * 20100609.0 (2.3.6-dev) Dropped ap_body_to_table due to missing constraints.
62db15de4c1f335a64d45821796ae197cff94ef8rbb * 20100609.1 (2.3.7-dev) Introduce ap_log_cserror()
62db15de4c1f335a64d45821796ae197cff94ef8rbb * 20100609.2 (2.3.7-dev) Add deferred write pool to core_output_filter_ctx
62db15de4c1f335a64d45821796ae197cff94ef8rbb * 20100625.0 (2.3.7-dev) Add 'userctx' to socache iterator callback prototype
48d2edbfb84e5559b5da0f8d614ccab805cc67a8rbb * 20100630.0 (2.3.7-dev) make module_levels vector of char instead of int
62db15de4c1f335a64d45821796ae197cff94ef8rbb * 20100701.0 (2.3.7-dev) re-order struct members to improve alignment
62db15de4c1f335a64d45821796ae197cff94ef8rbb * 20100701.1 (2.3.7-dev) add note_auth_failure hook
62db15de4c1f335a64d45821796ae197cff94ef8rbb * 20100701.2 (2.3.7-dev) add ap_proxy_*_wid() functions
62db15de4c1f335a64d45821796ae197cff94ef8rbb * 20100714.0 (2.3.7-dev) add access_checker_ex hook, add AUTHZ_DENIED_NO_USER
62db15de4c1f335a64d45821796ae197cff94ef8rbb * to authz_status, call authz providers twice to allow
62db15de4c1f335a64d45821796ae197cff94ef8rbb * authz without authenticated user
62db15de4c1f335a64d45821796ae197cff94ef8rbb * 20100719.0 (2.3.7-dev) Add symbol name parameter to ap_add_module and
62db15de4c1f335a64d45821796ae197cff94ef8rbb * ap_add_loaded_module. Add ap_find_module_short_name
62db15de4c1f335a64d45821796ae197cff94ef8rbb * 20100723.0 (2.3.7-dev) Remove ct_output_filters from core rec
62db15de4c1f335a64d45821796ae197cff94ef8rbb * 20100723.1 (2.3.7-dev) Added ap_proxy_hashfunc() and hash elements to
62db15de4c1f335a64d45821796ae197cff94ef8rbb * proxy worker structs
62db15de4c1f335a64d45821796ae197cff94ef8rbb * 20100723.2 (2.3.7-dev) Add ap_request_has_body()
48d2edbfb84e5559b5da0f8d614ccab805cc67a8rbb * 20100723.3 (2.3.8-dev) Add ap_check_mpm()
48d2edbfb84e5559b5da0f8d614ccab805cc67a8rbb * 20100905.0 (2.3.9-dev) Add log_id to conn and req recs. Add error log
62db15de4c1f335a64d45821796ae197cff94ef8rbb * format handlers. Support AP_CTIME_OPTION_COMPACT in
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar * ap_recent_ctime_ex().
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar */
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar#define MODULE_MAGIC_COOKIE 0x41503234UL /* "AP24" */
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar#ifndef MODULE_MAGIC_NUMBER_MAJOR
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar#define MODULE_MAGIC_NUMBER_MAJOR 20100905
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar#endif
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar#define MODULE_MAGIC_NUMBER_MINOR 0 /* 0...n */
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar
3d96ee83babeec32482c9082c9426340cee8c44dwrowe/**
3d96ee83babeec32482c9082c9426340cee8c44dwrowe * Determine if the server's current MODULE_MAGIC_NUMBER is at least a
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar * specified value.
3d96ee83babeec32482c9082c9426340cee8c44dwrowe *
a19698aebe10b9d41574e4a73794ba7d4cecd78btrawick * Useful for testing for features.
a19698aebe10b9d41574e4a73794ba7d4cecd78btrawick * For example, suppose you wish to use the apr_table_overlap
a19698aebe10b9d41574e4a73794ba7d4cecd78btrawick * function. You can do this:
3d96ee83babeec32482c9082c9426340cee8c44dwrowe *
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar * \code
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar * #if AP_MODULE_MAGIC_AT_LEAST(19980812,2)
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar * ... use apr_table_overlap()
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar * #else
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar * ... alternative code which doesn't use apr_table_overlap()
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar * #endif
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar * \endcode
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar *
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar * @param major The major module magic number
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar * @param minor The minor module magic number
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar * @def AP_MODULE_MAGIC_AT_LEAST(int major, int minor)
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar */
3d96ee83babeec32482c9082c9426340cee8c44dwrowe#define AP_MODULE_MAGIC_AT_LEAST(major,minor) \
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar ((major) < MODULE_MAGIC_NUMBER_MAJOR \
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar || ((major) == MODULE_MAGIC_NUMBER_MAJOR \
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar && (minor) <= MODULE_MAGIC_NUMBER_MINOR))
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar/** @deprecated present for backwards compatibility */
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar#define MODULE_MAGIC_NUMBER MODULE_MAGIC_NUMBER_MAJOR
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar#define MODULE_MAGIC_AT_LEAST old_broken_macro_we_hope_you_are_not_using
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar#endif /* !APACHE_AP_MMN_H */
91f0d8da77152d24e4bbb31ce199282b3fd6e3b2coar/** @} */
3d96ee83babeec32482c9082c9426340cee8c44dwrowe