diff options
| author | Jason Greene <jason@php.net> | 2002-03-06 05:21:56 +0000 |
|---|---|---|
| committer | Jason Greene <jason@php.net> | 2002-03-06 05:21:56 +0000 |
| commit | e228b16885d1a5b42fd50611e3e914bd406dbf3c (patch) | |
| tree | d2da81c00fd602a8c2f483a81d739ff4b5a1751f /ext/sockets/php_sockets.h | |
| parent | 97b3c97f598c27e0788d6fc5079637d00d94ff6a (diff) | |
| download | php-git-e228b16885d1a5b42fd50611e3e914bd406dbf3c.tar.gz | |
Socket Rework Patch 2
Redesigned socket_recv() as outlined on php-dev
Modified socket_last_error() to no longer clear the error
Added socket_clear_error()
Fixed socket_set_nonblock()
Added socket_set_block()
Fixed a proto
Saved 1 byte of RAM : )
Diffstat (limited to 'ext/sockets/php_sockets.h')
| -rw-r--r-- | ext/sockets/php_sockets.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/sockets/php_sockets.h b/ext/sockets/php_sockets.h index df8a6785cb..5d2f71ba5a 100644 --- a/ext/sockets/php_sockets.h +++ b/ext/sockets/php_sockets.h @@ -59,6 +59,7 @@ PHP_FUNCTION(socket_create_listen); PHP_FUNCTION(socket_create_pair); PHP_FUNCTION(socket_accept); PHP_FUNCTION(socket_set_nonblock); +PHP_FUNCTION(socket_set_block); PHP_FUNCTION(socket_listen); PHP_FUNCTION(socket_close); PHP_FUNCTION(socket_write); @@ -81,6 +82,7 @@ PHP_FUNCTION(socket_getopt); PHP_FUNCTION(socket_setopt); PHP_FUNCTION(socket_shutdown); PHP_FUNCTION(socket_last_error); +PHP_FUNCTION(socket_clear_error); typedef struct php_iovec { struct iovec *iov_array; |
