php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
streamsfuncs.c File Reference
#include "php.h"
#include "ext/standard/flock_compat.h"
#include "ext/standard/file.h"
#include "ext/standard/basic_functions.h"
#include "php_ini.h"
#include "streamsfuncs.h"
#include "php_network.h"
#include "php_string.h"

Go to the source code of this file.

Macros

#define php_select(m, r, w, e, t)
 
#define GET_CTX_OPT(stream, wrapper, name, val)
 

Typedefs

typedef unsigned long long php_timeout_ull
 

Functions

 PHP_FUNCTION (stream_socket_client)
 
 PHP_FUNCTION (stream_socket_server)
 
 PHP_FUNCTION (stream_socket_accept)
 
 PHP_FUNCTION (stream_socket_get_name)
 
 PHP_FUNCTION (stream_socket_sendto)
 
 PHP_FUNCTION (stream_socket_recvfrom)
 
 PHP_FUNCTION (stream_get_contents)
 
 PHP_FUNCTION (stream_copy_to_stream)
 
 PHP_FUNCTION (stream_get_meta_data)
 
 PHP_FUNCTION (stream_get_transports)
 
 PHP_FUNCTION (stream_get_wrappers)
 
 PHP_FUNCTION (stream_select)
 
 PHP_FUNCTION (stream_context_get_options)
 
 PHP_FUNCTION (stream_context_set_option)
 
 PHP_FUNCTION (stream_context_set_options)
 
 PHP_FUNCTION (stream_context_set_params)
 
 PHP_FUNCTION (stream_context_get_params)
 
 PHP_FUNCTION (stream_context_get_default)
 
 PHP_FUNCTION (stream_context_set_default)
 
 PHP_FUNCTION (stream_context_create)
 
 PHP_FUNCTION (stream_filter_prepend)
 
 PHP_FUNCTION (stream_filter_append)
 
 PHP_FUNCTION (stream_filter_remove)
 
 PHP_FUNCTION (stream_get_line)
 
 PHP_FUNCTION (stream_set_blocking)
 
 PHP_FUNCTION (stream_set_write_buffer)
 
 PHP_FUNCTION (stream_set_chunk_size)
 
 PHP_FUNCTION (stream_set_read_buffer)
 
 PHP_FUNCTION (stream_socket_enable_crypto)
 
 PHP_FUNCTION (stream_resolve_include_path)
 
 PHP_FUNCTION (stream_is_local)
 
 PHP_FUNCTION (stream_supports_lock)
 
 PHP_FUNCTION (stream_isatty)
 

Macro Definition Documentation

◆ GET_CTX_OPT

#define GET_CTX_OPT ( stream,
wrapper,
name,
val )
Value:
zval * val
Definition ffi.c:4262
#define NULL
Definition gdcache.h:45
PHPAPI zval * php_stream_context_get_option(php_stream_context *context, const char *wrappername, const char *optionname)
Definition streams.c:2407
#define PHP_STREAM_CONTEXT(stream)
zend_string * name

Definition at line 40 of file streamsfuncs.c.

◆ php_select

#define php_select ( m,
r,
w,
e,
t )
Value:
select(m, r, w, e, t)

Definition at line 31 of file streamsfuncs.c.

Typedef Documentation

◆ php_timeout_ull

typedef unsigned long long php_timeout_ull

Definition at line 32 of file streamsfuncs.c.

Function Documentation

◆ PHP_FUNCTION() [1/33]

PHP_FUNCTION ( stream_context_create )

Definition at line 1205 of file streamsfuncs.c.

◆ PHP_FUNCTION() [2/33]

PHP_FUNCTION ( stream_context_get_default )

Definition at line 1156 of file streamsfuncs.c.

◆ PHP_FUNCTION() [3/33]

PHP_FUNCTION ( stream_context_get_options )

Definition at line 995 of file streamsfuncs.c.

◆ PHP_FUNCTION() [4/33]

PHP_FUNCTION ( stream_context_get_params )

Definition at line 1130 of file streamsfuncs.c.

◆ PHP_FUNCTION() [5/33]

PHP_FUNCTION ( stream_context_set_default )

Definition at line 1182 of file streamsfuncs.c.

◆ PHP_FUNCTION() [6/33]

PHP_FUNCTION ( stream_context_set_option )

Definition at line 1015 of file streamsfuncs.c.

◆ PHP_FUNCTION() [7/33]

PHP_FUNCTION ( stream_context_set_options )

Definition at line 1079 of file streamsfuncs.c.

◆ PHP_FUNCTION() [8/33]

PHP_FUNCTION ( stream_context_set_params )

Definition at line 1104 of file streamsfuncs.c.

◆ PHP_FUNCTION() [9/33]

PHP_FUNCTION ( stream_copy_to_stream )

Definition at line 494 of file streamsfuncs.c.

◆ PHP_FUNCTION() [10/33]

PHP_FUNCTION ( stream_filter_append )

Definition at line 1323 of file streamsfuncs.c.

◆ PHP_FUNCTION() [11/33]

PHP_FUNCTION ( stream_filter_prepend )

Definition at line 1316 of file streamsfuncs.c.

◆ PHP_FUNCTION() [12/33]

PHP_FUNCTION ( stream_filter_remove )

Definition at line 1330 of file streamsfuncs.c.

◆ PHP_FUNCTION() [13/33]

PHP_FUNCTION ( stream_get_contents )

Definition at line 441 of file streamsfuncs.c.

◆ PHP_FUNCTION() [14/33]

PHP_FUNCTION ( stream_get_line )

Definition at line 1356 of file streamsfuncs.c.

◆ PHP_FUNCTION() [15/33]

PHP_FUNCTION ( stream_get_meta_data )

Definition at line 533 of file streamsfuncs.c.

◆ PHP_FUNCTION() [16/33]

PHP_FUNCTION ( stream_get_transports )

Definition at line 589 of file streamsfuncs.c.

◆ PHP_FUNCTION() [17/33]

PHP_FUNCTION ( stream_get_wrappers )

Definition at line 605 of file streamsfuncs.c.

◆ PHP_FUNCTION() [18/33]

PHP_FUNCTION ( stream_is_local )

Definition at line 1628 of file streamsfuncs.c.

◆ PHP_FUNCTION() [19/33]

PHP_FUNCTION ( stream_isatty )

Definition at line 1677 of file streamsfuncs.c.

◆ PHP_FUNCTION() [20/33]

PHP_FUNCTION ( stream_resolve_include_path )

Definition at line 1609 of file streamsfuncs.c.

◆ PHP_FUNCTION() [21/33]

PHP_FUNCTION ( stream_select )

Definition at line 763 of file streamsfuncs.c.

◆ PHP_FUNCTION() [22/33]

PHP_FUNCTION ( stream_set_blocking )

Definition at line 1392 of file streamsfuncs.c.

◆ PHP_FUNCTION() [23/33]

PHP_FUNCTION ( stream_set_chunk_size )

Definition at line 1492 of file streamsfuncs.c.

◆ PHP_FUNCTION() [24/33]

PHP_FUNCTION ( stream_set_read_buffer )

Definition at line 1526 of file streamsfuncs.c.

◆ PHP_FUNCTION() [25/33]

PHP_FUNCTION ( stream_set_write_buffer )

Definition at line 1463 of file streamsfuncs.c.

◆ PHP_FUNCTION() [26/33]

PHP_FUNCTION ( stream_socket_accept )

Definition at line 259 of file streamsfuncs.c.

◆ PHP_FUNCTION() [27/33]

PHP_FUNCTION ( stream_socket_client )

Definition at line 96 of file streamsfuncs.c.

◆ PHP_FUNCTION() [28/33]

PHP_FUNCTION ( stream_socket_enable_crypto )

Definition at line 1555 of file streamsfuncs.c.

◆ PHP_FUNCTION() [29/33]

PHP_FUNCTION ( stream_socket_get_name )

Definition at line 328 of file streamsfuncs.c.

◆ PHP_FUNCTION() [30/33]

PHP_FUNCTION ( stream_socket_recvfrom )

Definition at line 391 of file streamsfuncs.c.

◆ PHP_FUNCTION() [31/33]

PHP_FUNCTION ( stream_socket_sendto )

Definition at line 359 of file streamsfuncs.c.

◆ PHP_FUNCTION() [32/33]

PHP_FUNCTION ( stream_socket_server )

Definition at line 199 of file streamsfuncs.c.

◆ PHP_FUNCTION() [33/33]

PHP_FUNCTION ( stream_supports_lock )

Definition at line 1658 of file streamsfuncs.c.