streamsfuncs.h 2.8 KB

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