php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_bz2.h File Reference
#include "php_version.h"

Go to the source code of this file.

Macros

#define phpext_bz2_ptr   NULL
 
#define PHP_BZ2_API
 
#define PHP_BZ2_VERSION   PHP_VERSION
 
#define php_stream_bz2open_from_BZFILE(bz, mode, innerstream)
 
#define php_stream_bz2open(wrapper, path, mode, options, opened_path)
 
#define PHP_STREAM_IS_BZIP2   &php_stream_bz2io_ops
 
#define PHP_BZ2_FILTER_DEFAULT_BLOCKSIZE   4
 
#define PHP_BZ2_FILTER_DEFAULT_WORKFACTOR   0
 

Functions

PHP_BZ2_API php_stream_php_stream_bz2open (php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC)
 
PHP_BZ2_API php_stream_php_stream_bz2open_from_BZFILE (BZFILE *bz, const char *mode, php_stream *innerstream STREAMS_DC)
 

Variables

const php_stream_filter_factory php_bz2_filter_factory
 
const php_stream_ops php_stream_bz2io_ops
 

Macro Definition Documentation

◆ PHP_BZ2_API

#define PHP_BZ2_API

Definition at line 43 of file php_bz2.h.

◆ PHP_BZ2_FILTER_DEFAULT_BLOCKSIZE

#define PHP_BZ2_FILTER_DEFAULT_BLOCKSIZE   4

Definition at line 60 of file php_bz2.h.

◆ PHP_BZ2_FILTER_DEFAULT_WORKFACTOR

#define PHP_BZ2_FILTER_DEFAULT_WORKFACTOR   0

Definition at line 63 of file php_bz2.h.

◆ PHP_BZ2_VERSION

#define PHP_BZ2_VERSION   PHP_VERSION

Definition at line 47 of file php_bz2.h.

◆ php_stream_bz2open

#define php_stream_bz2open ( wrapper,
path,
mode,
options,
opened_path )
Value:
_php_stream_bz2open((wrapper), (path), (mode), (options), (opened_path), NULL STREAMS_CC)
char * mode
#define NULL
Definition gdcache.h:45
PHP_BZ2_API php_stream * _php_stream_bz2open(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC)
PHP_JSON_API size_t int options
Definition php_json.h:102
#define STREAMS_CC
Definition php_streams.h:54

Definition at line 53 of file php_bz2.h.

◆ php_stream_bz2open_from_BZFILE

#define php_stream_bz2open_from_BZFILE ( bz,
mode,
innerstream )
Value:
PHP_BZ2_API php_stream * _php_stream_bz2open_from_BZFILE(BZFILE *bz, const char *mode, php_stream *innerstream STREAMS_DC)

Definition at line 52 of file php_bz2.h.

◆ PHP_STREAM_IS_BZIP2

#define PHP_STREAM_IS_BZIP2   &php_stream_bz2io_ops

Definition at line 57 of file php_bz2.h.

◆ phpext_bz2_ptr

#define phpext_bz2_ptr   NULL

Definition at line 29 of file php_bz2.h.

Function Documentation

◆ _php_stream_bz2open()

PHP_BZ2_API php_stream * _php_stream_bz2open ( php_stream_wrapper * wrapper,
const char * path,
const char * mode,
int options,
zend_string ** opened_path,
php_stream_context *context STREAMS_DC )

◆ _php_stream_bz2open_from_BZFILE()

PHP_BZ2_API php_stream * _php_stream_bz2open_from_BZFILE ( BZFILE * bz,
const char * mode,
php_stream *innerstream STREAMS_DC )

Variable Documentation

◆ php_bz2_filter_factory

const php_stream_filter_factory php_bz2_filter_factory
extern

Definition at line 405 of file bz2_filter.c.

◆ php_stream_bz2io_ops

const php_stream_ops php_stream_bz2io_ops
extern