summaryrefslogtreecommitdiff
path: root/main/fopen_wrappers.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-11-30 20:18:11 +0000
committerAndi Gutmans <andi@php.net>1999-11-30 20:18:11 +0000
commit2337d110f91ddf02dede5b91ce22fd69bc3df8fb (patch)
tree622dabbd3eb1192382e253af403362050197b230 /main/fopen_wrappers.h
parent5463dd5b387298a84736e590e5d213f5bafe9435 (diff)
downloadphp-git-2337d110f91ddf02dede5b91ce22fd69bc3df8fb.tar.gz
- Added opened_path to php_fopen_wrapper() and the URL fopen wrapper (it's not
always properly set, it's a TODO for all of us). This enables us to implement true 'use' support. @- Added support for the 'use' keyword - behaves like 'require', but will not @ use the same file more than once (Andi & Zeev, Zend library)
Diffstat (limited to 'main/fopen_wrappers.h')
-rw-r--r--main/fopen_wrappers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/fopen_wrappers.h b/main/fopen_wrappers.h
index cd8eaf284e..e92bd83a88 100644
--- a/main/fopen_wrappers.h
+++ b/main/fopen_wrappers.h
@@ -66,7 +66,7 @@
#define IS_SOCKET 1
#define BAD_URL 2
-extern PHPAPI FILE *php3_fopen_wrapper(char *filename, char *mode, int options, int *issock, int *socketd);
+extern PHPAPI FILE *php3_fopen_wrapper(char *filename, char *mode, int options, int *issock, int *socketd, char **opened_path);
PHPAPI FILE *php3_fopen_for_parser(void);