summaryrefslogtreecommitdiff
path: root/main/fopen_wrappers.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2008-03-05 13:34:12 +0000
committerDmitry Stogov <dmitry@php.net>2008-03-05 13:34:12 +0000
commitab232458c7103590c1bffefefbd38737b045d0f4 (patch)
tree48978516b363884ff8bf4bda528c2c14e9f415a2 /main/fopen_wrappers.h
parentf6406ae6e916dff9fc5a5bef28515e3d4e2c47b9 (diff)
downloadphp-git-ab232458c7103590c1bffefefbd38737b045d0f4.tar.gz
Optimized require_once() and include_once() by eliminationg open() syscall on second usage.
Diffstat (limited to 'main/fopen_wrappers.h')
-rw-r--r--main/fopen_wrappers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/fopen_wrappers.h b/main/fopen_wrappers.h
index c442d76708..2afd24183b 100644
--- a/main/fopen_wrappers.h
+++ b/main/fopen_wrappers.h
@@ -33,6 +33,8 @@ PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path
PHPAPI int php_check_safe_mode_include_dir(const char *path TSRMLS_DC);
+PHPAPI char *php_resolve_path(const char *filename, int filename_len, const char *path TSRMLS_DC);
+
PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, char **opened_path TSRMLS_DC);
PHPAPI char *php_strip_url_passwd(char *path);