diff options
author | Wez Furlong <wez@php.net> | 2002-08-19 22:59:10 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-08-19 22:59:10 +0000 |
commit | 5f9a5a7c8e763d895f3f3dbb7cacbab94f5bc68a (patch) | |
tree | a855cffe9ff94297cc2ad1308af672c29aa792e5 /main/php_network.h | |
parent | 6dbc0e5483d4c1c4008a390cb613d9118dd73e71 (diff) | |
download | php-git-5f9a5a7c8e763d895f3f3dbb7cacbab94f5bc68a.tar.gz |
Remove php_stream_sock_set_blocking and replace with
php_stream_set_option which can be used in a similar way as ioctl()
to set options for streams.
Current options include buffering and blocking support.
o Buffer control is support for stdio based streams.
o Blocking/non-blocking is supported for stdio and socket based streams.
Diffstat (limited to 'main/php_network.h')
-rw-r--r-- | main/php_network.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main/php_network.h b/main/php_network.h index 70e7ad5a9c..56ec549d0b 100644 --- a/main/php_network.h +++ b/main/php_network.h @@ -144,7 +144,6 @@ PHPAPI php_stream *_php_stream_sock_open_unix(const char *path, int pathlen, int /* }}} */ PHPAPI void php_stream_sock_set_timeout(php_stream *stream, struct timeval *timeout TSRMLS_DC); -PHPAPI int php_stream_sock_set_blocking(php_stream *stream, int mode TSRMLS_DC); /* set the chunk size for the stream; return the old chunk size */ PHPAPI size_t php_stream_sock_set_chunk_size(php_stream *stream, size_t size TSRMLS_DC); |