php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
filter.c File Reference
#include "php.h"
#include "php_globals.h"
#include "php_network.h"
#include "php_open_temporary_file.h"
#include "ext/standard/file.h"
#include <stddef.h>
#include <fcntl.h>
#include "php_streams_int.h"

Go to the source code of this file.

Functions

PHPAPI HashTablephp_get_stream_filters_hash_global (void)
 
PHPAPI HashTable_php_get_stream_filters_hash (void)
 
PHPAPI int php_stream_filter_register_factory (const char *filterpattern, const php_stream_filter_factory *factory)
 
PHPAPI int php_stream_filter_unregister_factory (const char *filterpattern)
 
PHPAPI int php_stream_filter_register_factory_volatile (zend_string *filterpattern, const php_stream_filter_factory *factory)
 
PHPAPI php_stream_bucketphp_stream_bucket_new (php_stream *stream, char *buf, size_t buflen, uint8_t own_buf, uint8_t buf_persistent)
 
PHPAPI php_stream_bucketphp_stream_bucket_make_writeable (php_stream_bucket *bucket)
 
PHPAPI int php_stream_bucket_split (php_stream_bucket *in, php_stream_bucket **left, php_stream_bucket **right, size_t length)
 
PHPAPI void php_stream_bucket_delref (php_stream_bucket *bucket)
 
PHPAPI void php_stream_bucket_prepend (php_stream_bucket_brigade *brigade, php_stream_bucket *bucket)
 
PHPAPI void php_stream_bucket_append (php_stream_bucket_brigade *brigade, php_stream_bucket *bucket)
 
PHPAPI void php_stream_bucket_unlink (php_stream_bucket *bucket)
 
PHPAPI php_stream_filterphp_stream_filter_create (const char *filtername, zval *filterparams, uint8_t persistent)
 
PHPAPI php_stream_filter_php_stream_filter_alloc (const php_stream_filter_ops *fops, void *abstract, uint8_t persistent STREAMS_DC)
 
PHPAPI void php_stream_filter_free (php_stream_filter *filter)
 
PHPAPI int php_stream_filter_prepend_ex (php_stream_filter_chain *chain, php_stream_filter *filter)
 
PHPAPI void _php_stream_filter_prepend (php_stream_filter_chain *chain, php_stream_filter *filter)
 
PHPAPI int php_stream_filter_append_ex (php_stream_filter_chain *chain, php_stream_filter *filter)
 
PHPAPI void _php_stream_filter_append (php_stream_filter_chain *chain, php_stream_filter *filter)
 
PHPAPI int _php_stream_filter_flush (php_stream_filter *filter, int finish)
 
PHPAPI php_stream_filterphp_stream_filter_remove (php_stream_filter *filter, int call_dtor)
 

Function Documentation

◆ _php_get_stream_filters_hash()

PHPAPI HashTable * _php_get_stream_filters_hash ( void )

Definition at line 37 of file filter.c.

◆ _php_stream_filter_alloc()

PHPAPI php_stream_filter * _php_stream_filter_alloc ( const php_stream_filter_ops * fops,
void * abstract,
uint8_t persistent STREAMS_DC )

Definition at line 264 of file filter.c.

◆ _php_stream_filter_append()

PHPAPI void _php_stream_filter_append ( php_stream_filter_chain * chain,
php_stream_filter * filter )

Definition at line 385 of file filter.c.

◆ _php_stream_filter_flush()

PHPAPI int _php_stream_filter_flush ( php_stream_filter * filter,
int finish )

Definition at line 398 of file filter.c.

◆ _php_stream_filter_prepend()

PHPAPI void _php_stream_filter_prepend ( php_stream_filter_chain * chain,
php_stream_filter * filter )

Definition at line 301 of file filter.c.

◆ php_get_stream_filters_hash_global()

PHPAPI HashTable * php_get_stream_filters_hash_global ( void )

Definition at line 31 of file filter.c.

◆ php_stream_bucket_append()

PHPAPI void php_stream_bucket_append ( php_stream_bucket_brigade * brigade,
php_stream_bucket * bucket )

Definition at line 174 of file filter.c.

◆ php_stream_bucket_delref()

PHPAPI void php_stream_bucket_delref ( php_stream_bucket * bucket)

Definition at line 150 of file filter.c.

◆ php_stream_bucket_make_writeable()

PHPAPI php_stream_bucket * php_stream_bucket_make_writeable ( php_stream_bucket * bucket)

Definition at line 104 of file filter.c.

◆ php_stream_bucket_new()

PHPAPI php_stream_bucket * php_stream_bucket_new ( php_stream * stream,
char * buf,
size_t buflen,
uint8_t own_buf,
uint8_t buf_persistent )

Definition at line 71 of file filter.c.

◆ php_stream_bucket_prepend()

PHPAPI void php_stream_bucket_prepend ( php_stream_bucket_brigade * brigade,
php_stream_bucket * bucket )

Definition at line 160 of file filter.c.

◆ php_stream_bucket_split()

PHPAPI int php_stream_bucket_split ( php_stream_bucket * in,
php_stream_bucket ** left,
php_stream_bucket ** right,
size_t length )

Definition at line 128 of file filter.c.

◆ php_stream_bucket_unlink()

PHPAPI void php_stream_bucket_unlink ( php_stream_bucket * bucket)

Definition at line 192 of file filter.c.

◆ php_stream_filter_append_ex()

PHPAPI int php_stream_filter_append_ex ( php_stream_filter_chain * chain,
php_stream_filter * filter )

Definition at line 306 of file filter.c.

◆ php_stream_filter_create()

PHPAPI php_stream_filter * php_stream_filter_create ( const char * filtername,
zval * filterparams,
uint8_t persistent )

Definition at line 220 of file filter.c.

◆ php_stream_filter_free()

PHPAPI void php_stream_filter_free ( php_stream_filter * filter)

Definition at line 278 of file filter.c.

◆ php_stream_filter_prepend_ex()

PHPAPI int php_stream_filter_prepend_ex ( php_stream_filter_chain * chain,
php_stream_filter * filter )

Definition at line 285 of file filter.c.

◆ php_stream_filter_register_factory()

PHPAPI int php_stream_filter_register_factory ( const char * filterpattern,
const php_stream_filter_factory * factory )

Definition at line 43 of file filter.c.

◆ php_stream_filter_register_factory_volatile()

PHPAPI int php_stream_filter_register_factory_volatile ( zend_string * filterpattern,
const php_stream_filter_factory * factory )

Definition at line 58 of file filter.c.

◆ php_stream_filter_remove()

PHPAPI php_stream_filter * php_stream_filter_remove ( php_stream_filter * filter,
int call_dtor )

Definition at line 483 of file filter.c.

◆ php_stream_filter_unregister_factory()

PHPAPI int php_stream_filter_unregister_factory ( const char * filterpattern)

Definition at line 52 of file filter.c.