summaryrefslogtreecommitdiff
path: root/ext/standard/file.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-09-28 22:14:21 +0000
committerWez Furlong <wez@php.net>2002-09-28 22:14:21 +0000
commit76947703049259678c391dd69d072d0df56f5977 (patch)
tree713490ede3352a0f10182254cbe13d7c96d6e85d /ext/standard/file.h
parent9509c209417af7726813c19a99adca37d4158662 (diff)
downloadphp-git-76947703049259678c391dd69d072d0df56f5977.tar.gz
Rename streams functions to fit with naming conventions, adding aliases
for old functions where required. Make use of recent changes to chunk size and timeout setting code.
Diffstat (limited to 'ext/standard/file.h')
-rw-r--r--ext/standard/file.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/ext/standard/file.h b/ext/standard/file.h
index d8eb1aa301..fd2835d4a6 100644
--- a/ext/standard/file.h
+++ b/ext/standard/file.h
@@ -57,13 +57,12 @@ PHP_FUNCTION(file_get_contents);
PHP_FUNCTION(set_socket_blocking); /* deprecated */
PHP_FUNCTION(stream_set_blocking);
PHP_FUNCTION(stream_select);
-PHP_FUNCTION(socket_set_timeout);
-PHP_FUNCTION(set_file_buffer);
+PHP_FUNCTION(stream_set_timeout);
+PHP_FUNCTION(stream_set_write_buffer);
PHP_FUNCTION(get_meta_tags);
PHP_FUNCTION(flock);
PHP_FUNCTION(fd_set);
PHP_FUNCTION(fd_isset);
-PHP_FUNCTION(select);
#if (!defined(PHP_WIN32) && !defined(__BEOS__) && HAVE_REALPATH) || defined(ZTS)
PHP_FUNCTION(realpath);
PHP_FUNCTION(fnmatch);
@@ -71,8 +70,8 @@ PHP_FUNCTION(fnmatch);
PHP_NAMED_FUNCTION(php_if_ftruncate);
PHP_NAMED_FUNCTION(php_if_fstat);
-PHP_FUNCTION(file_get_meta_data);
-PHP_FUNCTION(file_register_wrapper);
+PHP_FUNCTION(stream_get_meta_data);
+PHP_FUNCTION(stream_register_wrapper);
PHP_FUNCTION(stream_context_create);
PHP_FUNCTION(stream_context_set_params);
PHP_FUNCTION(stream_context_set_option);