summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-09-26 10:14:41 +0000
committerWez Furlong <wez@php.net>2002-09-26 10:14:41 +0000
commit3a67c677370651d88af59c23a056806c732138c0 (patch)
treeb0610e3a3b00e9bc7a836d4442a6c9f793be91e0 /main/php_streams.h
parent7d87babada966a11b9444ee58cfc9be801a31b99 (diff)
downloadphp-git-3a67c677370651d88af59c23a056806c732138c0.tar.gz
Rename file_get_wrapper_data -> file_get_meta_data.
It now always returns useful information for all streams. Unified that data with socket_get_status and made socket_get_status an alias for file_get_meta_data. Fix Location header following which was broken in this commit: http://cvs.php.net/diff.php/php4/ext/standard/http_fopen_wrapper.c?r1=1.41&r2=1.42&ty=h
Diffstat (limited to 'main/php_streams.h')
-rwxr-xr-xmain/php_streams.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/php_streams.h b/main/php_streams.h
index 411491c111..ff7861a452 100755
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -168,7 +168,8 @@ typedef struct _php_stream_wrapper_ops {
/* open a "directory" stream */
php_stream *(*dir_opener)(php_stream_wrapper *wrapper, char *filename, char *mode,
int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
-
+
+ const char *label;
} php_stream_wrapper_ops;
struct _php_stream_wrapper {