diff options
author | Graham Leggett <minfrin@apache.org> | 2013-06-10 14:46:37 +0000 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2013-06-10 14:46:37 +0000 |
commit | 97113724d46496c4165b7a52519e1568d8673fd5 (patch) | |
tree | 5d7e8f4897fe67c6edac5235e82feab9d46451bc /include/http_request.h | |
parent | 30e103f715fb50a4c1d08d0442f817a7ee684172 (diff) | |
download | httpd-97113724d46496c4165b7a52519e1568d8673fd5.tar.gz |
core: Add dirwalk_stat hook.
trunk patch: http://svn.apache.org/r1388447
Submitted by: trawick
Reviewed by: minfrin, jim, sf
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1491476 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_request.h')
-rw-r--r-- | include/http_request.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/http_request.h b/include/http_request.h index 086e930871..1884fbef22 100644 --- a/include/http_request.h +++ b/include/http_request.h @@ -538,6 +538,15 @@ AP_DECLARE_HOOK(void,insert_filter,(request_rec *r)) */ AP_DECLARE_HOOK(int,post_perdir_config,(request_rec *r)) +/** + * This hook allows modules to handle/emulate the apr_stat() calls + * needed for directory walk. + * @param r The current request + * @return apr_status_t or AP_DECLINED (let later modules decide) + * @ingroup hooks + */ +AP_DECLARE_HOOK(apr_status_t,dirwalk_stat,(apr_finfo_t *finfo, request_rec *r, apr_int32_t wanted)) + AP_DECLARE(int) ap_location_walk(request_rec *r); AP_DECLARE(int) ap_directory_walk(request_rec *r); AP_DECLARE(int) ap_file_walk(request_rec *r); |