summaryrefslogtreecommitdiff
path: root/main/user_streams.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-28 00:49:00 +0000
committerWez Furlong <wez@php.net>2002-03-28 00:49:00 +0000
commit2539cbc74c4f2cca2f39f99b2d679bb4e329b53d (patch)
tree380105fca3acb74ef0b27723c4207856767e67ea /main/user_streams.c
parentfa4341dcdff116be55081b5782e2c027b2421b9b (diff)
downloadphp-git-2539cbc74c4f2cca2f39f99b2d679bb4e329b53d.tar.gz
Phase 3 of OO wrapper cleanup
# What was phase 2?
Diffstat (limited to 'main/user_streams.c')
-rw-r--r--main/user_streams.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/user_streams.c b/main/user_streams.c
index 53bb3863cc..fe81d7c10f 100644
--- a/main/user_streams.c
+++ b/main/user_streams.c
@@ -33,6 +33,8 @@ static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, char *filena
static php_stream_wrapper_ops user_stream_wops = {
user_wrapper_opener,
+ NULL,
+ NULL,
NULL
};
@@ -504,9 +506,10 @@ static char *php_userstreamop_gets(php_stream *stream, char *buf, size_t size TS
php_stream_ops php_stream_userspace_ops = {
php_userstreamop_write, php_userstreamop_read,
php_userstreamop_close, php_userstreamop_flush,
+ "user-space",
php_userstreamop_seek, php_userstreamop_gets,
NULL, /* cast */
- "user-space"
+ NULL /* stat */
};