2003-03-01 04:06:05 +08:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2004-01-09 01:33:29 +08:00
|
|
|
| PHP Version 5 |
|
2003-03-01 04:06:05 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2010-01-03 17:23:27 +08:00
|
|
|
| Copyright (c) 1997-2010 The PHP Group |
|
2003-03-01 04:06:05 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2006-01-01 20:51:34 +08:00
|
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
2003-03-01 04:06:05 +08:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
2003-06-11 04:04:29 +08:00
|
|
|
| available through the world-wide-web at the following url: |
|
2006-01-01 20:51:34 +08:00
|
|
|
| http://www.php.net/license/3_01.txt |
|
2003-03-01 04:06:05 +08:00
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| Authors: Wez Furlong <wez@thebrainroom.com> |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
/* Flags for stream_socket_client */
|
|
|
|
#define PHP_STREAM_CLIENT_PERSISTENT 1
|
|
|
|
#define PHP_STREAM_CLIENT_ASYNC_CONNECT 2
|
2003-11-30 05:46:50 +08:00
|
|
|
#define PHP_STREAM_CLIENT_CONNECT 4
|
2003-03-01 04:06:05 +08:00
|
|
|
|
|
|
|
PHP_FUNCTION(stream_socket_client);
|
|
|
|
PHP_FUNCTION(stream_socket_server);
|
|
|
|
PHP_FUNCTION(stream_socket_accept);
|
|
|
|
PHP_FUNCTION(stream_socket_get_name);
|
2003-11-30 05:46:50 +08:00
|
|
|
PHP_FUNCTION(stream_socket_recvfrom);
|
|
|
|
PHP_FUNCTION(stream_socket_sendto);
|
2003-03-01 04:06:05 +08:00
|
|
|
|
2003-03-01 09:27:50 +08:00
|
|
|
PHP_FUNCTION(stream_copy_to_stream);
|
2003-10-08 18:07:25 +08:00
|
|
|
PHP_FUNCTION(stream_get_contents);
|
2003-03-01 09:27:50 +08:00
|
|
|
|
2003-03-01 04:06:05 +08:00
|
|
|
PHP_FUNCTION(stream_set_blocking);
|
|
|
|
PHP_FUNCTION(stream_select);
|
|
|
|
PHP_FUNCTION(stream_set_timeout);
|
2010-04-12 16:25:50 +08:00
|
|
|
PHP_FUNCTION(stream_set_read_buffer);
|
2003-03-01 04:06:05 +08:00
|
|
|
PHP_FUNCTION(stream_set_write_buffer);
|
2003-04-04 13:21:03 +08:00
|
|
|
PHP_FUNCTION(stream_get_transports);
|
2003-03-01 04:06:05 +08:00
|
|
|
PHP_FUNCTION(stream_get_wrappers);
|
|
|
|
PHP_FUNCTION(stream_get_line);
|
|
|
|
PHP_FUNCTION(stream_get_meta_data);
|
2003-05-19 23:35:06 +08:00
|
|
|
PHP_FUNCTION(stream_wrapper_register);
|
2004-09-11 04:45:35 +08:00
|
|
|
PHP_FUNCTION(stream_wrapper_unregister);
|
|
|
|
PHP_FUNCTION(stream_wrapper_restore);
|
2003-03-01 04:06:05 +08:00
|
|
|
PHP_FUNCTION(stream_context_create);
|
|
|
|
PHP_FUNCTION(stream_context_set_params);
|
2008-11-13 13:47:47 +08:00
|
|
|
PHP_FUNCTION(stream_context_get_params);
|
2003-03-01 04:06:05 +08:00
|
|
|
PHP_FUNCTION(stream_context_set_option);
|
|
|
|
PHP_FUNCTION(stream_context_get_options);
|
2004-07-22 20:12:28 +08:00
|
|
|
PHP_FUNCTION(stream_context_get_default);
|
2008-08-16 18:57:56 +08:00
|
|
|
PHP_FUNCTION(stream_context_set_default);
|
2003-03-01 04:06:05 +08:00
|
|
|
PHP_FUNCTION(stream_filter_prepend);
|
|
|
|
PHP_FUNCTION(stream_filter_append);
|
2004-09-14 11:48:17 +08:00
|
|
|
PHP_FUNCTION(stream_filter_remove);
|
2004-07-22 20:12:28 +08:00
|
|
|
PHP_FUNCTION(stream_socket_enable_crypto);
|
2006-12-19 16:58:58 +08:00
|
|
|
PHP_FUNCTION(stream_socket_shutdown);
|
2009-12-24 21:12:03 +08:00
|
|
|
PHP_FUNCTION(stream_resolve_include_path);
|
2007-07-10 01:27:24 +08:00
|
|
|
PHP_FUNCTION(stream_is_local);
|
2007-11-21 06:17:01 +08:00
|
|
|
PHP_FUNCTION(stream_supports_lock);
|
2003-03-01 04:06:05 +08:00
|
|
|
|
2009-01-23 23:49:49 +08:00
|
|
|
#if HAVE_SOCKETPAIR
|
|
|
|
PHP_FUNCTION(stream_socket_pair);
|
|
|
|
#endif
|
|
|
|
|
2003-03-01 04:06:05 +08:00
|
|
|
/*
|
|
|
|
* Local variables:
|
|
|
|
* tab-width: 4
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* End:
|
|
|
|
* vim600: noet sw=4 ts=4 fdm=marker
|
|
|
|
* vim<600: noet sw=4 ts=4
|
|
|
|
*/
|
|
|
|
|