diff options
Diffstat (limited to 'ext/sockets/php_sockets.h')
| -rw-r--r-- | ext/sockets/php_sockets.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/sockets/php_sockets.h b/ext/sockets/php_sockets.h index acb7ab5abd..38a68879b1 100644 --- a/ext/sockets/php_sockets.h +++ b/ext/sockets/php_sockets.h @@ -70,6 +70,7 @@ PHP_FUNCTION(socket_shutdown); #endif PHP_FUNCTION(socket_last_error); PHP_FUNCTION(socket_clear_error); +PHP_FUNCTION(socket_import_stream); #ifndef PHP_WIN32 typedef int PHP_SOCKET; @@ -80,10 +81,11 @@ typedef SOCKET PHP_SOCKET; #endif typedef struct { - PHP_SOCKET bsd_socket; - int type; - int error; - int blocking; + PHP_SOCKET bsd_socket; + int type; + int error; + int blocking; + zval *zstream; } php_socket; #ifdef PHP_WIN32 |
