1 /* 2 +----------------------------------------------------------------------+ 3 | PHP Version 5 | 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 1997-2014 The PHP Group | 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 15 | Authors: Wez Furlong <wez@thebrainroom.com> | 16 +----------------------------------------------------------------------+ 17 */ 18 19 /* $Id$ */ 20 21 /* Flags for stream_socket_client */ 22 #define PHP_STREAM_CLIENT_PERSISTENT 1 23 #define PHP_STREAM_CLIENT_ASYNC_CONNECT 2 24 #define PHP_STREAM_CLIENT_CONNECT 4 25 26 PHP_FUNCTION(stream_socket_client); 27 PHP_FUNCTION(stream_socket_server); 28 PHP_FUNCTION(stream_socket_accept); 29 PHP_FUNCTION(stream_socket_get_name); 30 PHP_FUNCTION(stream_socket_recvfrom); 31 PHP_FUNCTION(stream_socket_sendto); 32 33 PHP_FUNCTION(stream_copy_to_stream); 34 PHP_FUNCTION(stream_get_contents); 35 36 PHP_FUNCTION(stream_set_blocking); 37 PHP_FUNCTION(stream_select); 38 PHP_FUNCTION(stream_set_timeout); 39 PHP_FUNCTION(stream_set_read_buffer); 40 PHP_FUNCTION(stream_set_write_buffer); 41 PHP_FUNCTION(stream_set_chunk_size); 42 PHP_FUNCTION(stream_get_transports); 43 PHP_FUNCTION(stream_get_wrappers); 44 PHP_FUNCTION(stream_get_line); 45 PHP_FUNCTION(stream_get_meta_data); 46 PHP_FUNCTION(stream_wrapper_register); 47 PHP_FUNCTION(stream_wrapper_unregister); 48 PHP_FUNCTION(stream_wrapper_restore); 49 PHP_FUNCTION(stream_context_create); 50 PHP_FUNCTION(stream_context_set_params); 51 PHP_FUNCTION(stream_context_get_params); 52 PHP_FUNCTION(stream_context_set_option); 53 PHP_FUNCTION(stream_context_get_options); 54 PHP_FUNCTION(stream_context_get_default); 55 PHP_FUNCTION(stream_context_set_default); 56 PHP_FUNCTION(stream_filter_prepend); 57 PHP_FUNCTION(stream_filter_append); 58 PHP_FUNCTION(stream_filter_remove); 59 PHP_FUNCTION(stream_socket_enable_crypto); 60 PHP_FUNCTION(stream_socket_shutdown); 61 PHP_FUNCTION(stream_resolve_include_path); 62 PHP_FUNCTION(stream_is_local); 63 PHP_FUNCTION(stream_supports_lock); 64 65 #if HAVE_SOCKETPAIR 66 PHP_FUNCTION(stream_socket_pair); 67 #endif 68 69 /* 70 * Local variables: 71 * tab-width: 4 72 * c-basic-offset: 4 73 * End: 74 * vim600: noet sw=4 ts=4 fdm=marker 75 * vim<600: noet sw=4 ts=4 76 */ 77 78