mirror of
https://github.com/apache/httpd.git
synced 2025-11-21 10:00:53 +03:00
core: Add missing AP_IMPLEMENT_OPTIONAL_HOOK_RUN_FIRST.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1736217 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -112,7 +112,7 @@
|
||||
* @param decline The "decline" return value
|
||||
* @return ok, decline or an error.
|
||||
* @note If IMPLEMENTing a hook that is not linked into the Apache core,
|
||||
* (e.g. within a dso) see APR_IMPLEMENT_EXTERNAL_HOOK_RUN_ALL.
|
||||
* (e.g. within a dso) use AP_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL instead.
|
||||
*/
|
||||
#define AP_IMPLEMENT_HOOK_RUN_ALL(ret,name,args_decl,args_use,ok,decline) \
|
||||
APR_IMPLEMENT_EXTERNAL_HOOK_RUN_ALL(ap,AP,ret,name,args_decl, \
|
||||
@@ -132,7 +132,7 @@
|
||||
* @param decline The "decline" return value
|
||||
* @return decline or an error.
|
||||
* @note If IMPLEMENTing a hook that is not linked into the Apache core
|
||||
* (e.g. within a dso) see APR_IMPLEMENT_EXTERNAL_HOOK_RUN_FIRST.
|
||||
* (e.g. within a dso) use AP_IMPLEMENT_OPTIONAL_HOOK_RUN_FIRST instead.
|
||||
*/
|
||||
#define AP_IMPLEMENT_HOOK_RUN_FIRST(ret,name,args_decl,args_use,decline) \
|
||||
APR_IMPLEMENT_EXTERNAL_HOOK_RUN_FIRST(ap,AP,ret,name,args_decl, \
|
||||
@@ -152,6 +152,16 @@
|
||||
APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ap,AP,ret,name,args_decl, \
|
||||
args_use,ok,decline)
|
||||
|
||||
/**
|
||||
* Implement an optional hook. This is exactly the same as a standard hook
|
||||
* implementation, except the hook is optional.
|
||||
* @see AP_IMPLEMENT_HOOK_RUN_FIRST
|
||||
*/
|
||||
#define AP_IMPLEMENT_OPTIONAL_HOOK_RUN_FIRST(ret,name,args_decl,args_use, \
|
||||
decline) \
|
||||
APR_IMPLEMENT_OPTIONAL_HOOK_RUN_FIRST(ap,AP,ret,name,args_decl, \
|
||||
args_use,decline)
|
||||
|
||||
/**
|
||||
* Hook an optional hook. Unlike static hooks, this uses a macro instead of a
|
||||
* function.
|
||||
|
||||
Reference in New Issue
Block a user