/**
* Hook an optional hook. Unlike static hooks, this uses a macro instead of a
- * function
+ * function.
*/
#define AP_OPTIONAL_HOOK(name,fn,pre,succ,order) \
APR_OPTIONAL_HOOK(ap,name,fn,pre,succ,order)
#include "mod_optional_hook_export.h"
#include "http_protocol.h"
-/*APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ap,AP_MODULE,int,optional_hook_test,
- (const char *szStr),
- (szStr),OK,DECLINED)*/
AP_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(int,optional_hook_test,(const char *szStr),
(szStr),OK,DECLINED)
#ifndef MOD_OPTIONAL_HOOK_EXPORT_H
#define MOD_OPTOPNAL_HOOK_EXPORT_H
-#include "apr_optional_hooks.h"
+#include "ap_config.h"
AP_DECLARE_HOOK(int,optional_hook_test,(const char *))
#include "mod_optional_hook_export.h"
#include "http_protocol.h"
-/*APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ap,AP_MODULE,int,optional_hook_test,
- (const char *szStr),
- (szStr),OK,DECLINED)*/
AP_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(int,optional_hook_test,(const char *szStr),
(szStr),OK,DECLINED)
#ifndef MOD_OPTIONAL_HOOK_EXPORT_H
#define MOD_OPTOPNAL_HOOK_EXPORT_H
-#include "apr_optional_hooks.h"
+#include "ap_config.h"
AP_DECLARE_HOOK(int,optional_hook_test,(const char *))