summaryrefslogtreecommitdiff
path: root/ext/standard/fsock.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2001-04-17 17:06:06 +0000
committerWez Furlong <wez@php.net>2001-04-17 17:06:06 +0000
commit57af70f70746cc3c70905b5bdad611119a686828 (patch)
tree3a10edaeb711d9fd1834fde44b60835d7b0a832b /ext/standard/fsock.h
parent5dbb3a7708d76931289cee52031b7f5a208f9ed6 (diff)
downloadphp-git-57af70f70746cc3c70905b5bdad611119a686828.tar.gz
Changes for streams. Added temporary fopenstream function to PHP so that
the streams can be tested.
Diffstat (limited to 'ext/standard/fsock.h')
-rw-r--r--ext/standard/fsock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/fsock.h b/ext/standard/fsock.h
index 1418eb0908..f285306836 100644
--- a/ext/standard/fsock.h
+++ b/ext/standard/fsock.h
@@ -49,6 +49,10 @@
#define PHP_FSOCK_CHUNK_SIZE 8192
+#if HAVE_PHP_STREAM
+extern php_stream_ops php_stream_socket_ops;
+#endif
+
struct php_sockbuf {
int socket;
unsigned char *readbuf;