33#define PHP_STREAM_FILTER_READ 0x0001
34#define PHP_STREAM_FILTER_WRITE 0x0002
35#define PHP_STREAM_FILTER_ALL (PHP_STREAM_FILTER_READ | PHP_STREAM_FILTER_WRITE)
69#define php_stream_bucket_addref(bucket) (bucket)->refcount++
76#define PSFS_FLAG_NORMAL 0
77#define PSFS_FLAG_FLUSH_INC 1
78#define PSFS_FLAG_FLUSH_CLOSE 2
87 size_t *bytes_consumed,
132#define php_stream_filter_alloc(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr), (persistent) STREAMS_CC)
133#define php_stream_filter_alloc_rel(fops, thisptr, persistent) _php_stream_filter_alloc((fops), (thisptr), (persistent) STREAMS_REL_CC)
134#define php_stream_filter_prepend(chain, filter) _php_stream_filter_prepend((chain), (filter))
135#define php_stream_filter_append(chain, filter) _php_stream_filter_append((chain), (filter))
136#define php_stream_filter_flush(filter, finish) _php_stream_filter_flush((filter), (finish))
138#define php_stream_is_filtered(stream) ((stream)->readfilters.head || (stream)->writefilters.head)
zend_ffi_ctype_name_buf buf
const php_stream_filter_factory * factory
PHPAPI php_stream_bucket * php_stream_bucket_new(php_stream *stream, char *buf, size_t buflen, uint8_t own_buf, uint8_t buf_persistent)
PHPAPI void php_stream_bucket_delref(php_stream_bucket *bucket)
PHPAPI void _php_stream_filter_append(php_stream_filter_chain *chain, php_stream_filter *filter)
PHPAPI int php_stream_filter_register_factory(const char *filterpattern, const php_stream_filter_factory *factory)
PHPAPI void _php_stream_filter_prepend(php_stream_filter_chain *chain, php_stream_filter *filter)
PHPAPI int php_stream_filter_register_factory_volatile(zend_string *filterpattern, const php_stream_filter_factory *factory)
PHPAPI php_stream_filter * php_stream_filter_create(const char *filtername, zval *filterparams, uint8_t persistent)
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_filter_free(php_stream_filter *filter)
PHPAPI php_stream_filter * _php_stream_filter_alloc(const php_stream_filter_ops *fops, void *abstract, uint8_t persistent STREAMS_DC)
PHPAPI int php_stream_filter_unregister_factory(const char *filterpattern)
PHPAPI int php_stream_filter_prepend_ex(php_stream_filter_chain *chain, php_stream_filter *filter)
PHPAPI int _php_stream_filter_flush(php_stream_filter *filter, int finish)
PHPAPI int php_stream_filter_append_ex(php_stream_filter_chain *chain, php_stream_filter *filter)
PHPAPI php_stream_filter * php_stream_filter_remove(php_stream_filter *filter, int call_dtor)
PHPAPI php_stream_bucket * php_stream_bucket_make_writeable(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)
struct _php_stream_filter_chain php_stream_filter_chain
PHPAPI void php_stream_bucket_prepend(php_stream_bucket_brigade *brigade, php_stream_bucket *bucket)
struct _php_stream_filter_ops php_stream_filter_ops
php_stream_filter_status_t
struct _php_stream_filter_factory php_stream_filter_factory
struct _php_stream_bucket php_stream_bucket
struct _php_stream_bucket_brigade php_stream_bucket_brigade
struct _php_stream php_stream
struct _php_stream_filter php_stream_filter
php_stream_bucket_brigade * brigade
php_stream_filter_status_t(* filter)(php_stream *stream, php_stream_filter *thisfilter, php_stream_bucket_brigade *buckets_in, php_stream_bucket_brigade *buckets_out, size_t *bytes_consumed, int flags)
void(* dtor)(php_stream_filter *thisfilter)
const php_stream_filter_ops * fops
php_stream_bucket_brigade buffer
php_stream_filter_chain * chain
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
struct _zend_string zend_string
struct _zend_resource zend_resource