xref: /PHP-5.3/ext/standard/streamsfuncs.h (revision a2045ff3)
1 /*
2   +----------------------------------------------------------------------+
3   | PHP Version 5                                                        |
4   +----------------------------------------------------------------------+
5   | Copyright (c) 1997-2013 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_get_transports);
42 PHP_FUNCTION(stream_get_wrappers);
43 PHP_FUNCTION(stream_get_line);
44 PHP_FUNCTION(stream_get_meta_data);
45 PHP_FUNCTION(stream_wrapper_register);
46 PHP_FUNCTION(stream_wrapper_unregister);
47 PHP_FUNCTION(stream_wrapper_restore);
48 PHP_FUNCTION(stream_context_create);
49 PHP_FUNCTION(stream_context_set_params);
50 PHP_FUNCTION(stream_context_get_params);
51 PHP_FUNCTION(stream_context_set_option);
52 PHP_FUNCTION(stream_context_get_options);
53 PHP_FUNCTION(stream_context_get_default);
54 PHP_FUNCTION(stream_context_set_default);
55 PHP_FUNCTION(stream_filter_prepend);
56 PHP_FUNCTION(stream_filter_append);
57 PHP_FUNCTION(stream_filter_remove);
58 PHP_FUNCTION(stream_socket_enable_crypto);
59 PHP_FUNCTION(stream_socket_shutdown);
60 PHP_FUNCTION(stream_resolve_include_path);
61 PHP_FUNCTION(stream_is_local);
62 PHP_FUNCTION(stream_supports_lock);
63 
64 #if HAVE_SOCKETPAIR
65 PHP_FUNCTION(stream_socket_pair);
66 #endif
67 
68 /*
69  * Local variables:
70  * tab-width: 4
71  * c-basic-offset: 4
72  * End:
73  * vim600: noet sw=4 ts=4 fdm=marker
74  * vim<600: noet sw=4 ts=4
75  */
76 
77