summaryrefslogtreecommitdiff
path: root/ext/sockets/php_sockets.h
diff options
context:
space:
mode:
authorJason Greene <jason@php.net>2003-08-16 06:34:36 +0000
committerJason Greene <jason@php.net>2003-08-16 06:34:36 +0000
commit90289924c031c5b0b2aa1f99ecf317640c926a62 (patch)
treed08435172a40ac3831ba4a80892be6aae2cdeabe /ext/sockets/php_sockets.h
parent78a3fe8fca8aff9a034a4300edc01f0b0f4ed4a5 (diff)
downloadphp-git-90289924c031c5b0b2aa1f99ecf317640c926a62.tar.gz
Remove all vector based functions for the following reasons:
- This solves alot of platform compatibility problems - The possible security issue of allocating an incredibly large vector pool is prevented - They are of little to no benefit in a high level language - 99% of all things done with these functions can be done using sendto/recvfrom
Diffstat (limited to 'ext/sockets/php_sockets.h')
-rw-r--r--ext/sockets/php_sockets.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/ext/sockets/php_sockets.h b/ext/sockets/php_sockets.h
index e7b7365ffa..043f83c3d6 100644
--- a/ext/sockets/php_sockets.h
+++ b/ext/sockets/php_sockets.h
@@ -44,12 +44,6 @@ PHP_MINFO_FUNCTION(sockets);
PHP_RINIT_FUNCTION(sockets);
PHP_RSHUTDOWN_FUNCTION(sockets);
-PHP_FUNCTION(socket_iovec_alloc);
-PHP_FUNCTION(socket_iovec_free);
-PHP_FUNCTION(socket_iovec_set);
-PHP_FUNCTION(socket_iovec_fetch);
-PHP_FUNCTION(socket_iovec_add);
-PHP_FUNCTION(socket_iovec_delete);
PHP_FUNCTION(socket_select);
PHP_FUNCTION(socket_create_listen);
PHP_FUNCTION(socket_create_pair);
@@ -70,23 +64,12 @@ PHP_FUNCTION(socket_recv);
PHP_FUNCTION(socket_send);
PHP_FUNCTION(socket_recvfrom);
PHP_FUNCTION(socket_sendto);
-#ifdef HAVE_CMSGHDR
-PHP_FUNCTION(socket_recvmsg);
-#endif
-PHP_FUNCTION(socket_sendmsg);
-PHP_FUNCTION(socket_readv);
-PHP_FUNCTION(socket_writev);
PHP_FUNCTION(socket_get_option);
PHP_FUNCTION(socket_set_option);
PHP_FUNCTION(socket_shutdown);
PHP_FUNCTION(socket_last_error);
PHP_FUNCTION(socket_clear_error);
-typedef struct php_iovec {
- struct iovec *iov_array;
- unsigned int count;
-} php_iovec_t;
-
#ifndef PHP_WIN32
typedef int PHP_SOCKET;
#else