summaryrefslogtreecommitdiff
path: root/main/fopen_wrappers.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-07-25 16:50:07 +0000
committerPierre Joye <pajoye@php.net>2011-07-25 16:50:07 +0000
commit090bfcdfe197165ba3dd7125d4ef48866fc769a7 (patch)
tree464eceabf539fcca6f057cfa9b755c983c9ee372 /main/fopen_wrappers.h
parenta06539a10d1ca6f83804115ce34b27b25ea77b8a (diff)
downloadphp-git-090bfcdfe197165ba3dd7125d4ef48866fc769a7.tar.gz
- add expand_filepath_with_mode (not used anywhere yet but will be used for file ops (fopen&co) to avoid extra links resolution and other non required ops on open
Diffstat (limited to 'main/fopen_wrappers.h')
-rw-r--r--main/fopen_wrappers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/fopen_wrappers.h b/main/fopen_wrappers.h
index 842780a1b2..0f4ff94a85 100644
--- a/main/fopen_wrappers.h
+++ b/main/fopen_wrappers.h
@@ -28,6 +28,7 @@ BEGIN_EXTERN_C()
PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle TSRMLS_DC);
PHPAPI char *expand_filepath(const char *filepath, char *real_path TSRMLS_DC);
PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len TSRMLS_DC);
+PHPAPI char *expand_filepath_with_mode(const char *filepath, char *real_path, const char *relative_to, size_t relative_to_len, int use_realpath TSRMLS_DC);
PHPAPI int php_check_open_basedir(const char *path TSRMLS_DC);
PHPAPI int php_check_open_basedir_ex(const char *path, int warn TSRMLS_DC);