#endif
/* Hooks */
-DECLARE_HOOK(int,header_parser,(request_rec *))
-DECLARE_HOOK(void,post_config,
+AP_DECLARE_HOOK(int,header_parser,(request_rec *))
+AP_DECLARE_HOOK(void,post_config,
(ap_pool_t *pconf,ap_pool_t *plog,ap_pool_t *ptemp,server_rec *s))
-DECLARE_HOOK(void,open_logs,
+AP_DECLARE_HOOK(void,open_logs,
(ap_pool_t *pconf,ap_pool_t *plog,ap_pool_t *ptemp,server_rec *s))
-DECLARE_HOOK(void,child_init,(ap_pool_t *pchild, server_rec *s))
+AP_DECLARE_HOOK(void,child_init,(ap_pool_t *pchild, server_rec *s))
#ifdef __cplusplus
}
#endif
/* Hooks */
-DECLARE_HOOK(void,pre_connection,(conn_rec *))
-DECLARE_HOOK(int,process_connection,(conn_rec *))
+AP_DECLARE_HOOK(void,pre_connection,(conn_rec *))
+AP_DECLARE_HOOK(int,process_connection,(conn_rec *))
#ifdef __cplusplus
}
* post_read_request --- run right after read_request or internal_redirect,
* and not run during any subrequests.
*/
-DECLARE_HOOK(int,post_read_request,(request_rec *))
-DECLARE_HOOK(int,log_transaction,(request_rec *))
-DECLARE_HOOK(const char *,http_method,(const request_rec *))
-DECLARE_HOOK(unsigned short,default_port,(const request_rec *))
+AP_DECLARE_HOOK(int,post_read_request,(request_rec *))
+AP_DECLARE_HOOK(int,log_transaction,(request_rec *))
+AP_DECLARE_HOOK(const char *,http_method,(const request_rec *))
+AP_DECLARE_HOOK(unsigned short,default_port,(const request_rec *))
#ifdef __cplusplus
}
#endif
/* Hooks */
-DECLARE_HOOK(int,translate_name,(request_rec *))
-DECLARE_HOOK(int,check_user_id,(request_rec *))
-DECLARE_HOOK(int,fixups,(request_rec *))
-DECLARE_HOOK(int,type_checker,(request_rec *))
-DECLARE_HOOK(int,access_checker,(request_rec *))
-DECLARE_HOOK(int,auth_checker,(request_rec *))
+AP_DECLARE_HOOK(int,translate_name,(request_rec *))
+AP_DECLARE_HOOK(int,check_user_id,(request_rec *))
+AP_DECLARE_HOOK(int,fixups,(request_rec *))
+AP_DECLARE_HOOK(int,type_checker,(request_rec *))
+AP_DECLARE_HOOK(int,access_checker,(request_rec *))
+AP_DECLARE_HOOK(int,auth_checker,(request_rec *))
#ifdef __cplusplus
}
static void register_hooks(void)
{
- ap_hook_access_checker(check_dir_access,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_access_checker(check_dir_access,NULL,NULL,AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT access_module =
static void register_hooks(void)
{
- ap_hook_check_user_id(authenticate_basic_user,NULL,NULL,HOOK_MIDDLE);
- ap_hook_auth_checker(check_user_access,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_check_user_id(authenticate_basic_user,NULL,NULL,AP_HOOK_MIDDLE);
+ ap_hook_auth_checker(check_user_access,NULL,NULL,AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT auth_module =
}
static void register_hooks(void)
{
- ap_hook_check_user_id(anon_authenticate_basic_user,NULL,NULL,HOOK_MIDDLE);
- ap_hook_auth_checker(check_anon_access,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_check_user_id(anon_authenticate_basic_user,NULL,NULL,AP_HOOK_MIDDLE);
+ ap_hook_auth_checker(check_anon_access,NULL,NULL,AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT auth_anon_module =
static void register_hooks(void)
{
- ap_hook_check_user_id(db_authenticate_basic_user,NULL,NULL,HOOK_MIDDLE);
- ap_hook_auth_checker(db_check_auth,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_check_user_id(db_authenticate_basic_user,NULL,NULL,AP_HOOK_MIDDLE);
+ ap_hook_auth_checker(db_check_auth,NULL,NULL,AP_HOOK_MIDDLE);
}
module auth_db_module =
static void register_hooks(void)
{
- ap_hook_check_user_id(dbm_authenticate_basic_user, NULL, NULL, HOOK_MIDDLE);
- ap_hook_auth_checker(dbm_check_auth, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_check_user_id(dbm_authenticate_basic_user, NULL, NULL, AP_HOOK_MIDDLE);
+ ap_hook_auth_checker(dbm_check_auth, NULL, NULL, AP_HOOK_MIDDLE);
}
module auth_dbm_module =
ap_hook_post_config(initialize_module, NULL, cfgPost, 0);
ap_hook_post_read_request(parse_hdr_and_update_nc, parsePre, NULL, 0);
- ap_hook_check_user_id(authenticate_digest_user, NULL, NULL, HOOK_MIDDLE);
- ap_hook_auth_checker(digest_check_auth, NULL, NULL, HOOK_MIDDLE);
- ap_hook_fixups(add_auth_info, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_check_user_id(authenticate_digest_user, NULL, NULL, AP_HOOK_MIDDLE);
+ ap_hook_auth_checker(digest_check_auth, NULL, NULL, AP_HOOK_MIDDLE);
+ ap_hook_fixups(add_auth_info, NULL, NULL, AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT auth_digest_module =
static void register_hooks(void)
{
/* static const char* const aszPre[]={"http_core.c",NULL}; */
- /* ap_hook_pre_config(pre_config,NULL,NULL,HOOK_MIDDLE); */
- ap_hook_post_config(file_cache_post_config, NULL, NULL, HOOK_MIDDLE);
- ap_hook_translate_name(file_cache_xlat, NULL, NULL, HOOK_MIDDLE);
+ /* ap_hook_pre_config(pre_config,NULL,NULL,AP_HOOK_MIDDLE); */
+ ap_hook_post_config(file_cache_post_config, NULL, NULL, AP_HOOK_MIDDLE);
+ ap_hook_translate_name(file_cache_xlat, NULL, NULL, AP_HOOK_MIDDLE);
/* This trick doesn't work apparently because the translate hooks
are single shot. If the core_hook returns OK, then our hook is
not called.
- ap_hook_translate_name(file_cache_xlat, aszPre, NULL, HOOK_MIDDLE);
+ ap_hook_translate_name(file_cache_xlat, aszPre, NULL, AP_HOOK_MIDDLE);
*/
};
static void register_hooks(void)
{
- ap_hook_process_connection(process_echo_connection,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_process_connection(process_echo_connection,NULL,NULL,AP_HOOK_MIDDLE);
}
API_VAR_EXPORT module echo_module = {
* before this module.
* successors -> a list of modules whose calls to this hook must come
* after this module.
- * position -> The relative position of this module. One of HOOK_FIRST,
- * HOOK_MIDDLE, or HOOK_LAST. Most modules will use
- * HOOK_MIDDLE. If multiple modules use the same relative
+ * position -> The relative position of this module. One of AP_HOOK_FIRST,
+ * AP_HOOK_MIDDLE, or AP_HOOK_LAST. Most modules will use
+ * AP_HOOK_MIDDLE. If multiple modules use the same relative
* position, Apache will determine which to call first.
* If your module relies on another module to run first,
* or another module running after yours, use the
static void register_hooks(void)
{
/* module initializer */
- ap_hook_post_config(example_init, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_post_config(example_init, NULL, NULL, AP_HOOK_MIDDLE);
/* [2] filename-to-URI translation */
- ap_hook_translate_name(example_translate_handler, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_translate_name(example_translate_handler, NULL, NULL, AP_HOOK_MIDDLE);
/* [5] check/validate user_id */
- ap_hook_check_user_id(example_check_user_id, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_check_user_id(example_check_user_id, NULL, NULL, AP_HOOK_MIDDLE);
/* [6] check user_id is valid *here* */
- ap_hook_auth_checker(example_auth_checker, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_auth_checker(example_auth_checker, NULL, NULL, AP_HOOK_MIDDLE);
/* [4] check access by host address */
- ap_hook_access_checker(example_access_checker, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_access_checker(example_access_checker, NULL, NULL, AP_HOOK_MIDDLE);
/* [7] MIME type checker/setter */
- ap_hook_type_checker(example_type_checker, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_type_checker(example_type_checker, NULL, NULL, AP_HOOK_MIDDLE);
/* [8] fixups */
- ap_hook_fixups(example_fixer_upper, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_fixups(example_fixer_upper, NULL, NULL, AP_HOOK_MIDDLE);
/* [10] logger */
- ap_hook_log_transaction(example_logger, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_log_transaction(example_logger, NULL, NULL, AP_HOOK_MIDDLE);
/* [3] header parser */
- ap_hook_header_parser(example_header_parser, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_header_parser(example_header_parser, NULL, NULL, AP_HOOK_MIDDLE);
/* process initializer */
- ap_hook_child_init(example_child_init, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_child_init(example_child_init, NULL, NULL, AP_HOOK_MIDDLE);
/* [1] post read_request handling */
ap_hook_post_read_request(example_post_read_request, NULL, NULL,
- HOOK_MIDDLE);
+ AP_HOOK_MIDDLE);
}
/*--------------------------------------------------------------------------*/
static void register_hook(void)
{
- ap_hook_post_config(cgid_init, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_post_config(cgid_init, NULL, NULL, AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT cgid_module = {
static void register_hooks(void)
{
- ap_hook_translate_name(core_translate,NULL,NULL,HOOK_REALLY_LAST);
+ ap_hook_translate_name(core_translate,NULL,NULL,AP_HOOK_REALLY_LAST);
ap_hook_process_connection(ap_process_http_connection,NULL,NULL,
- HOOK_REALLY_LAST);
- ap_hook_http_method(core_method,NULL,NULL,HOOK_REALLY_LAST);
- ap_hook_default_port(core_port,NULL,NULL,HOOK_REALLY_LAST);
- ap_hook_open_logs(core_open_logs,NULL,NULL,HOOK_MIDDLE);
+ AP_HOOK_REALLY_LAST);
+ ap_hook_http_method(core_method,NULL,NULL,AP_HOOK_REALLY_LAST);
+ ap_hook_default_port(core_port,NULL,NULL,AP_HOOK_REALLY_LAST);
+ ap_hook_open_logs(core_open_logs,NULL,NULL,AP_HOOK_MIDDLE);
/* FIXME: I suspect we can eliminate the need for these - Ben */
- ap_hook_type_checker(do_nothing,NULL,NULL,HOOK_REALLY_LAST);
- ap_hook_access_checker(do_nothing,NULL,NULL,HOOK_REALLY_LAST);
+ ap_hook_type_checker(do_nothing,NULL,NULL,AP_HOOK_REALLY_LAST);
+ ap_hook_access_checker(do_nothing,NULL,NULL,AP_HOOK_REALLY_LAST);
}
API_VAR_EXPORT module core_module = {
#include "mpm_status.h"
#include <stdarg.h>
-HOOK_STRUCT(
- HOOK_LINK(post_read_request)
- HOOK_LINK(log_transaction)
- HOOK_LINK(http_method)
- HOOK_LINK(default_port)
+AP_HOOK_STRUCT(
+ AP_HOOK_LINK(post_read_request)
+ AP_HOOK_LINK(log_transaction)
+ AP_HOOK_LINK(http_method)
+ AP_HOOK_LINK(default_port)
)
#define SET_BYTES_SENT(r) \
ap_rflush(r);
}
-IMPLEMENT_HOOK_RUN_ALL(int,post_read_request,(request_rec *r),(r),OK,DECLINED)
-IMPLEMENT_HOOK_RUN_ALL(int,log_transaction,(request_rec *r),(r),OK,DECLINED)
-IMPLEMENT_HOOK_RUN_FIRST(const char *,http_method,(const request_rec *r),(r),
+AP_IMPLEMENT_HOOK_RUN_ALL(int,post_read_request,(request_rec *r),(r),OK,DECLINED)
+AP_IMPLEMENT_HOOK_RUN_ALL(int,log_transaction,(request_rec *r),(r),OK,DECLINED)
+AP_IMPLEMENT_HOOK_RUN_FIRST(const char *,http_method,(const request_rec *r),(r),
NULL)
-IMPLEMENT_HOOK_RUN_FIRST(unsigned short,default_port,(const request_rec *r),
+AP_IMPLEMENT_HOOK_RUN_FIRST(unsigned short,default_port,(const request_rec *r),
(r),0)
#include "http_main.h"
#include "apr_fnmatch.h"
-HOOK_STRUCT(
- HOOK_LINK(translate_name)
- HOOK_LINK(check_user_id)
- HOOK_LINK(fixups)
- HOOK_LINK(type_checker)
- HOOK_LINK(access_checker)
- HOOK_LINK(auth_checker)
+AP_HOOK_STRUCT(
+ AP_HOOK_LINK(translate_name)
+ AP_HOOK_LINK(check_user_id)
+ AP_HOOK_LINK(fixups)
+ AP_HOOK_LINK(type_checker)
+ AP_HOOK_LINK(access_checker)
+ AP_HOOK_LINK(auth_checker)
)
-IMPLEMENT_HOOK_RUN_FIRST(int,translate_name,(request_rec *r),(r),DECLINED)
-IMPLEMENT_HOOK_RUN_FIRST(int,check_user_id,(request_rec *r),(r),DECLINED)
-IMPLEMENT_HOOK_RUN_ALL(int,fixups,(request_rec *r),(r),OK,DECLINED)
-IMPLEMENT_HOOK_RUN_FIRST(int,type_checker,(request_rec *r),(r),DECLINED)
-IMPLEMENT_HOOK_RUN_ALL(int,access_checker,(request_rec *r),(r),OK,DECLINED)
-IMPLEMENT_HOOK_RUN_FIRST(int,auth_checker,(request_rec *r),(r),DECLINED)
+AP_IMPLEMENT_HOOK_RUN_FIRST(int,translate_name,(request_rec *r),(r),DECLINED)
+AP_IMPLEMENT_HOOK_RUN_FIRST(int,check_user_id,(request_rec *r),(r),DECLINED)
+AP_IMPLEMENT_HOOK_RUN_ALL(int,fixups,(request_rec *r),(r),OK,DECLINED)
+AP_IMPLEMENT_HOOK_RUN_FIRST(int,type_checker,(request_rec *r),(r),DECLINED)
+AP_IMPLEMENT_HOOK_RUN_ALL(int,access_checker,(request_rec *r),(r),OK,DECLINED)
+AP_IMPLEMENT_HOOK_RUN_FIRST(int,auth_checker,(request_rec *r),(r),DECLINED)
/*****************************************************************
*
static void register_hooks(void)
{
- ap_hook_type_checker(find_ct,NULL,NULL,HOOK_MIDDLE);
- ap_hook_post_config(mime_post_config,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_type_checker(find_ct,NULL,NULL,AP_HOOK_MIDDLE);
+ ap_hook_post_config(mime_post_config,NULL,NULL,AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT mime_module = {
static void register_hooks(void)
{
- ap_hook_open_logs(init_config_log,NULL,NULL,HOOK_MIDDLE);
- ap_hook_log_transaction(multi_log_transaction,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_open_logs(init_config_log,NULL,NULL,AP_HOOK_MIDDLE);
+ ap_hook_log_transaction(multi_log_transaction,NULL,NULL,AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT config_log_module =
{
static const char * const aszPre[]={ "mod_userdir.c",NULL };
- ap_hook_translate_name(translate_alias_redir,aszPre,NULL,HOOK_MIDDLE);
- ap_hook_fixups(fixup_redir,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_translate_name(translate_alias_redir,aszPre,NULL,AP_HOOK_MIDDLE);
+ ap_hook_fixups(fixup_redir,NULL,NULL,AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT alias_module =
static void register_hooks(void)
{
- ap_hook_fixups(fix_encoding,NULL,NULL,HOOK_MIDDLE);
- ap_hook_type_checker(handle_multi,NULL,NULL,HOOK_FIRST);
+ ap_hook_fixups(fix_encoding,NULL,NULL,AP_HOOK_MIDDLE);
+ ap_hook_type_checker(handle_multi,NULL,NULL,AP_HOOK_FIRST);
}
module MODULE_VAR_EXPORT negotiation_module =
static void register_hooks(void)
{
- ap_hook_post_config(init_module,NULL,NULL,HOOK_MIDDLE);
- ap_hook_child_init(init_child,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_post_config(init_module,NULL,NULL,AP_HOOK_MIDDLE);
+ ap_hook_child_init(init_child,NULL,NULL,AP_HOOK_MIDDLE);
- ap_hook_fixups(hook_fixup,NULL,NULL,HOOK_FIRST);
- ap_hook_translate_name(hook_uri2file,NULL,NULL,HOOK_FIRST);
- ap_hook_type_checker(hook_mimetype,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_fixups(hook_fixup,NULL,NULL,AP_HOOK_FIRST);
+ ap_hook_translate_name(hook_uri2file,NULL,NULL,AP_HOOK_FIRST);
+ ap_hook_type_checker(hook_mimetype,NULL,NULL,AP_HOOK_MIDDLE);
}
/* the main config structure */
static void register_hooks(void)
{
- ap_hook_fixups(check_speling,NULL,NULL,HOOK_LAST);
+ ap_hook_fixups(check_speling,NULL,NULL,AP_HOOK_LAST);
}
module MODULE_VAR_EXPORT speling_module =
{
static const char * const aszSucc[]={ "mod_alias.c",NULL };
- ap_hook_translate_name(translate_userdir,NULL,aszSucc,HOOK_MIDDLE);
+ ap_hook_translate_name(translate_userdir,NULL,aszSucc,AP_HOOK_MIDDLE);
}
module userdir_module = {
static void register_hooks(void)
{
- ap_hook_translate_name(mva_translate, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_translate_name(mva_translate, NULL, NULL, AP_HOOK_MIDDLE);
};
module MODULE_VAR_EXPORT vhost_alias_module =
}
static void register_hooks(void)
{
- ap_hook_fixups(add_cern_meta_data,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_fixups(add_cern_meta_data,NULL,NULL,AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT cern_meta_module =
{
static void register_hooks(void)
{
- ap_hook_fixups(fixup_env_module,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_fixups(fixup_env_module,NULL,NULL,AP_HOOK_MIDDLE);
}
static void register_hooks(void)
{
- ap_hook_fixups(add_expires,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_fixups(add_expires,NULL,NULL,AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT expires_module =
}
static void register_hooks(void)
{
- ap_hook_fixups(fixup_headers,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_fixups(fixup_headers,NULL,NULL,AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT headers_module =
{
/* mod_mime_magic should be run after mod_mime, if at all. */
- ap_hook_type_checker(magic_find_ct, aszPre, NULL, HOOK_MIDDLE);
- ap_hook_post_config(magic_init, NULL, NULL, HOOK_FIRST);
+ ap_hook_type_checker(magic_find_ct, aszPre, NULL, AP_HOOK_MIDDLE);
+ ap_hook_post_config(magic_init, NULL, NULL, AP_HOOK_FIRST);
}
/*
static void register_hooks(void)
{
- ap_hook_post_read_request(match_headers,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_post_read_request(match_headers,NULL,NULL,AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT setenvif_module =
static void register_hooks(void)
{
- ap_hook_post_config(unique_id_global_init, NULL, NULL, HOOK_MIDDLE);
- ap_hook_child_init(unique_id_child_init, NULL, NULL, HOOK_MIDDLE);
- ap_hook_post_read_request(gen_unique_id, NULL, NULL, HOOK_MIDDLE);
+ ap_hook_post_config(unique_id_global_init, NULL, NULL, AP_HOOK_MIDDLE);
+ ap_hook_child_init(unique_id_child_init, NULL, NULL, AP_HOOK_MIDDLE);
+ ap_hook_post_read_request(gen_unique_id, NULL, NULL, AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT unique_id_module = {
};
static void register_hooks(void)
{
- ap_hook_fixups(spot_cookie,NULL,NULL,HOOK_MIDDLE);
+ ap_hook_fixups(spot_cookie,NULL,NULL,AP_HOOK_MIDDLE);
}
module MODULE_VAR_EXPORT usertrack_module = {
STANDARD20_MODULE_STUFF,
#include "http_vhost.h"
#include "util_cfgtree.h"
-HOOK_STRUCT(
- HOOK_LINK(header_parser)
- HOOK_LINK(post_config)
- HOOK_LINK(open_logs)
- HOOK_LINK(child_init)
+AP_HOOK_STRUCT(
+ AP_HOOK_LINK(header_parser)
+ AP_HOOK_LINK(post_config)
+ AP_HOOK_LINK(open_logs)
+ AP_HOOK_LINK(child_init)
)
-IMPLEMENT_HOOK_RUN_ALL(int,header_parser,(request_rec *r),(r),OK,DECLINED)
-IMPLEMENT_HOOK_VOID(post_config,
+AP_IMPLEMENT_HOOK_RUN_ALL(int,header_parser,(request_rec *r),(r),OK,DECLINED)
+AP_IMPLEMENT_HOOK_VOID(post_config,
(ap_pool_t *pconf, ap_pool_t *plog, ap_pool_t *ptemp, server_rec *s),
(pconf,plog,ptemp,s))
-IMPLEMENT_HOOK_VOID(open_logs,
+AP_IMPLEMENT_HOOK_VOID(open_logs,
(ap_pool_t *pconf, ap_pool_t *plog, ap_pool_t *ptemp, server_rec *s),
(pconf,plog,ptemp,s))
-IMPLEMENT_HOOK_VOID(child_init,(ap_pool_t *pchild, server_rec *s),(pchild,s))
+AP_IMPLEMENT_HOOK_VOID(child_init,(ap_pool_t *pchild, server_rec *s),(pchild,s))
/****************************************************************
*
#include "http_config.h"
#include "http_vhost.h"
-HOOK_STRUCT(
- HOOK_LINK(pre_connection)
- HOOK_LINK(process_connection)
+AP_HOOK_STRUCT(
+ AP_HOOK_LINK(pre_connection)
+ AP_HOOK_LINK(process_connection)
)
-IMPLEMENT_HOOK_VOID(pre_connection,(conn_rec *c),(c))
-IMPLEMENT_HOOK_RUN_FIRST(int,process_connection,(conn_rec *c),(c),DECLINED)
+AP_IMPLEMENT_HOOK_VOID(pre_connection,(conn_rec *c),(c))
+AP_IMPLEMENT_HOOK_RUN_FIRST(int,process_connection,(conn_rec *c),(c),DECLINED)
/*
* More machine-dependent networking gooo... on some systems,