1 /* 2 +----------------------------------------------------------------------+ 3 | PHP Version 7 | 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 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 /* Flags for stream_socket_client */ 20 #define PHP_STREAM_CLIENT_PERSISTENT 1 21 #define PHP_STREAM_CLIENT_ASYNC_CONNECT 2 22 #define PHP_STREAM_CLIENT_CONNECT 4 23 24 PHP_FUNCTION(stream_socket_client); 25 PHP_FUNCTION(stream_socket_server); 26 PHP_FUNCTION(stream_socket_accept); 27 PHP_FUNCTION(stream_socket_get_name); 28 PHP_FUNCTION(stream_socket_recvfrom); 29 PHP_FUNCTION(stream_socket_sendto); 30 31 PHP_FUNCTION(stream_copy_to_stream); 32 PHP_FUNCTION(stream_get_contents); 33 34 PHP_FUNCTION(stream_set_blocking); 35 PHP_FUNCTION(stream_select); 36 PHP_FUNCTION(stream_set_timeout); 37 PHP_FUNCTION(stream_set_read_buffer); 38 PHP_FUNCTION(stream_set_write_buffer); 39 PHP_FUNCTION(stream_set_chunk_size); 40 PHP_FUNCTION(stream_get_transports); 41 PHP_FUNCTION(stream_get_wrappers); 42 PHP_FUNCTION(stream_get_line); 43 PHP_FUNCTION(stream_get_meta_data); 44 PHP_FUNCTION(stream_wrapper_register); 45 PHP_FUNCTION(stream_wrapper_unregister); 46 PHP_FUNCTION(stream_wrapper_restore); 47 PHP_FUNCTION(stream_context_create); 48 PHP_FUNCTION(stream_context_set_params); 49 PHP_FUNCTION(stream_context_get_params); 50 PHP_FUNCTION(stream_context_set_option); 51 PHP_FUNCTION(stream_context_get_options); 52 PHP_FUNCTION(stream_context_get_default); 53 PHP_FUNCTION(stream_context_set_default); 54 PHP_FUNCTION(stream_filter_prepend); 55 PHP_FUNCTION(stream_filter_append); 56 PHP_FUNCTION(stream_filter_remove); 57 PHP_FUNCTION(stream_socket_enable_crypto); 58 PHP_FUNCTION(stream_socket_shutdown); 59 PHP_FUNCTION(stream_resolve_include_path); 60 PHP_FUNCTION(stream_is_local); 61 PHP_FUNCTION(stream_supports_lock); 62 PHP_FUNCTION(stream_isatty); 63 #ifdef PHP_WIN32 64 PHP_FUNCTION(sapi_windows_vt100_support); 65 #endif 66 67 #if HAVE_SOCKETPAIR 68 PHP_FUNCTION(stream_socket_pair); 69 #endif 70