#endif
/* Hooks */
-AP_DECLARE_HOOK(API_EXPORT,int,header_parser,(request_rec *))
-AP_DECLARE_HOOK(API_EXPORT,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))
-AP_DECLARE_HOOK(API_EXPORT,void,open_logs,
+AP_DECLARE_HOOK(void,open_logs,
(ap_pool_t *pconf,ap_pool_t *plog,ap_pool_t *ptemp,server_rec *s))
-AP_DECLARE_HOOK(API_EXPORT,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 */
-AP_DECLARE_HOOK(API_EXPORT,int,pre_connection,(conn_rec *))
-AP_DECLARE_HOOK(API_EXPORT,int,process_connection,(conn_rec *))
+AP_DECLARE_HOOK(int,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.
*/
-AP_DECLARE_HOOK(API_EXPORT,int,post_read_request,(request_rec *))
-AP_DECLARE_HOOK(API_EXPORT,int,log_transaction,(request_rec *))
-AP_DECLARE_HOOK(API_EXPORT,const char *,http_method,(const request_rec *))
-AP_DECLARE_HOOK(API_EXPORT,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 */
-AP_DECLARE_HOOK(API_EXPORT,int,translate_name,(request_rec *))
-AP_DECLARE_HOOK(API_EXPORT,int,check_user_id,(request_rec *))
-AP_DECLARE_HOOK(API_EXPORT,int,fixups,(request_rec *))
-AP_DECLARE_HOOK(API_EXPORT,int,type_checker,(request_rec *))
-AP_DECLARE_HOOK(API_EXPORT,int,access_checker,(request_rec *))
-AP_DECLARE_HOOK(API_EXPORT,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
}
ap_rflush(r);
}
-AP_IMPLEMENT_HOOK_RUN_ALL(API_EXPORT,int,post_read_request,
+AP_IMPLEMENT_HOOK_RUN_ALL(int,post_read_request,
(request_rec *r),(r),OK,DECLINED)
-AP_IMPLEMENT_HOOK_RUN_ALL(API_EXPORT,int,log_transaction,
+AP_IMPLEMENT_HOOK_RUN_ALL(int,log_transaction,
(request_rec *r),(r),OK,DECLINED)
-AP_IMPLEMENT_HOOK_RUN_FIRST(API_EXPORT,const char *,http_method,
+AP_IMPLEMENT_HOOK_RUN_FIRST(const char *,http_method,
(const request_rec *r),(r),NULL)
-AP_IMPLEMENT_HOOK_RUN_FIRST(API_EXPORT,unsigned short,default_port,
+AP_IMPLEMENT_HOOK_RUN_FIRST(unsigned short,default_port,
(const request_rec *r),(r),0)
AP_HOOK_LINK(auth_checker)
)
-AP_IMPLEMENT_HOOK_RUN_FIRST(API_EXPORT,int,translate_name,
+AP_IMPLEMENT_HOOK_RUN_FIRST(int,translate_name,
(request_rec *r),(r),DECLINED)
-AP_IMPLEMENT_HOOK_RUN_FIRST(API_EXPORT,int,check_user_id,
+AP_IMPLEMENT_HOOK_RUN_FIRST(int,check_user_id,
(request_rec *r),(r),DECLINED)
-AP_IMPLEMENT_HOOK_RUN_ALL(API_EXPORT,int,fixups,
+AP_IMPLEMENT_HOOK_RUN_ALL(int,fixups,
(request_rec *r),(r),OK,DECLINED)
-AP_IMPLEMENT_HOOK_RUN_FIRST(API_EXPORT,int,type_checker,
+AP_IMPLEMENT_HOOK_RUN_FIRST(int,type_checker,
(request_rec *r),(r),DECLINED)
-AP_IMPLEMENT_HOOK_RUN_ALL(API_EXPORT,int,access_checker,
+AP_IMPLEMENT_HOOK_RUN_ALL(int,access_checker,
(request_rec *r),(r),OK,DECLINED)
-AP_IMPLEMENT_HOOK_RUN_FIRST(API_EXPORT,int,auth_checker,
+AP_IMPLEMENT_HOOK_RUN_FIRST(int,auth_checker,
(request_rec *r),(r),DECLINED)
/*****************************************************************
AP_HOOK_LINK(child_init)
)
-AP_IMPLEMENT_HOOK_RUN_ALL(API_EXPORT,int,header_parser,
+AP_IMPLEMENT_HOOK_RUN_ALL(int,header_parser,
(request_rec *r),(r),OK,DECLINED)
-AP_IMPLEMENT_HOOK_VOID(API_EXPORT,post_config,
+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))
-AP_IMPLEMENT_HOOK_VOID(API_EXPORT,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))
-AP_IMPLEMENT_HOOK_VOID(API_EXPORT,child_init,
+AP_IMPLEMENT_HOOK_VOID(child_init,
(ap_pool_t *pchild, server_rec *s),(pchild,s))
/****************************************************************
AP_HOOK_LINK(process_connection)
)
-AP_IMPLEMENT_HOOK_RUN_ALL(API_EXPORT,int,pre_connection,
- (conn_rec *c),(c),OK,DECLINED)
-AP_IMPLEMENT_HOOK_RUN_FIRST(API_EXPORT,int,process_connection,
- (conn_rec *c),(c),DECLINED)
+AP_IMPLEMENT_HOOK_RUN_ALL(int,pre_connection,(conn_rec *c),(c),OK,DECLINED)
+AP_IMPLEMENT_HOOK_RUN_FIRST(int,process_connection,(conn_rec *c),(c),DECLINED)
/*
* More machine-dependent networking gooo... on some systems,