summaryrefslogtreecommitdiff
path: root/ext/sockets/php_sockets.h
diff options
context:
space:
mode:
authorJason Greene <jason@php.net>2002-03-06 05:21:56 +0000
committerJason Greene <jason@php.net>2002-03-06 05:21:56 +0000
commite228b16885d1a5b42fd50611e3e914bd406dbf3c (patch)
treed2da81c00fd602a8c2f483a81d739ff4b5a1751f /ext/sockets/php_sockets.h
parent97b3c97f598c27e0788d6fc5079637d00d94ff6a (diff)
downloadphp-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.h2
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;