streamsfuncs.h 2.9 KB

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