php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Go to the source code of this file.
Data Structures | |
struct | _php_output_buffer |
struct | _php_output_context |
struct | _php_output_handler_user_func_t |
struct | _php_output_handler |
Typedefs | |
typedef enum _php_output_handler_status_t | php_output_handler_status_t |
typedef enum _php_output_handler_hook_t | php_output_handler_hook_t |
typedef struct _php_output_buffer | php_output_buffer |
typedef struct _php_output_context | php_output_context |
typedef void(* | php_output_handler_func_t) (char *output, size_t output_len, char **handled_output, size_t *handled_output_len, int mode) |
typedef zend_result(* | php_output_handler_context_func_t) (void **handler_context, php_output_context *output_context) |
typedef void(* | php_output_handler_context_dtor_t) (void *opaq) |
typedef zend_result(* | php_output_handler_conflict_check_t) (const char *handler_name, size_t handler_name_len) |
typedef struct _php_output_handler *(* | php_output_handler_alias_ctor_t) (const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags) |
typedef struct _php_output_handler_user_func_t | php_output_handler_user_func_t |
typedef struct _php_output_handler | php_output_handler |
Variables | |
zend_stack | handlers |
php_output_handler * | active |
php_output_handler * | running |
zend_string * | output_start_filename |
int | output_start_lineno |
int | flags |
const char | php_output_devnull_handler_name [sizeof("null output handler")] |
#define PHP_OUTPUT_ACTIVATED 0x100000 |
Definition at line 70 of file php_output.h.
#define PHP_OUTPUT_ACTIVE 0x10 |
Definition at line 67 of file php_output.h.
#define PHP_OUTPUT_DISABLED 0x02 |
Definition at line 63 of file php_output.h.
Definition at line 46 of file php_output.h.
#define PHP_OUTPUT_HANDLER_ALIGNTO_SIZE 0x1000 |
Definition at line 88 of file php_output.h.
#define PHP_OUTPUT_HANDLER_CLEAN 0x02 /* restart */ |
Definition at line 25 of file php_output.h.
#define PHP_OUTPUT_HANDLER_CLEANABLE 0x0010 |
Definition at line 36 of file php_output.h.
#define PHP_OUTPUT_HANDLER_CONT PHP_OUTPUT_HANDLER_WRITE |
Definition at line 28 of file php_output.h.
#define PHP_OUTPUT_HANDLER_DEFAULT_SIZE 0x4000 |
Definition at line 89 of file php_output.h.
#define PHP_OUTPUT_HANDLER_DISABLED 0x2000 |
Definition at line 43 of file php_output.h.
#define PHP_OUTPUT_HANDLER_END PHP_OUTPUT_HANDLER_FINAL |
Definition at line 29 of file php_output.h.
#define PHP_OUTPUT_HANDLER_FINAL 0x08 /* finalize */ |
Definition at line 27 of file php_output.h.
Definition at line 26 of file php_output.h.
#define PHP_OUTPUT_HANDLER_FLUSHABLE 0x0020 |
Definition at line 37 of file php_output.h.
Definition at line 83 of file php_output.h.
#define PHP_OUTPUT_HANDLER_INTERNAL 0x0000 |
Definition at line 32 of file php_output.h.
#define PHP_OUTPUT_HANDLER_PROCESSED 0x4000 |
Definition at line 44 of file php_output.h.
#define PHP_OUTPUT_HANDLER_REMOVABLE 0x0040 |
Definition at line 38 of file php_output.h.
Definition at line 24 of file php_output.h.
#define PHP_OUTPUT_HANDLER_STARTED 0x1000 |
Definition at line 42 of file php_output.h.
#define PHP_OUTPUT_HANDLER_STDFLAGS 0x0070 |
Definition at line 39 of file php_output.h.
#define PHP_OUTPUT_HANDLER_USER 0x0001 |
Definition at line 33 of file php_output.h.
Definition at line 23 of file php_output.h.
#define PHP_OUTPUT_IMPLICITFLUSH 0x01 |
Definition at line 62 of file php_output.h.
#define PHP_OUTPUT_LOCKED 0x20 |
Definition at line 68 of file php_output.h.
#define PHP_OUTPUT_NEWAPI 1 |
Definition at line 20 of file php_output.h.
#define PHP_OUTPUT_POP_DISCARD 0x010 |
Definition at line 58 of file php_output.h.
#define PHP_OUTPUT_POP_FORCE 0x001 |
Definition at line 57 of file php_output.h.
#define PHP_OUTPUT_POP_SILENT 0x100 |
Definition at line 59 of file php_output.h.
#define PHP_OUTPUT_POP_TRY 0x000 |
Definition at line 56 of file php_output.h.
#define PHP_OUTPUT_SENT 0x08 |
Definition at line 65 of file php_output.h.
#define php_output_teardown | ( | ) |
Definition at line 181 of file php_output.h.
#define php_output_tearup | ( | ) |
Definition at line 178 of file php_output.h.
#define PHP_OUTPUT_WRITTEN 0x04 |
Definition at line 64 of file php_output.h.
#define PHPWRITE | ( | str, | |
str_len ) |
#define PHPWRITE_H | ( | str, | |
str_len ) |
#define PUTC | ( | c | ) |
#define PUTC_H | ( | c | ) |
#define PUTS | ( | str | ) |
#define PUTS_H | ( | str | ) |
typedef struct _php_output_buffer php_output_buffer |
typedef struct _php_output_context php_output_context |
typedef struct _php_output_handler php_output_handler |
typedef struct _php_output_handler *(* php_output_handler_alias_ctor_t) (const char *handler_name, size_t handler_name_len, size_t chunk_size, int flags) |
Definition at line 112 of file php_output.h.
typedef zend_result(* php_output_handler_conflict_check_t) (const char *handler_name, size_t handler_name_len) |
Definition at line 112 of file php_output.h.
Definition at line 110 of file php_output.h.
typedef zend_result(* php_output_handler_context_func_t) (void **handler_context, php_output_context *output_context) |
Definition at line 108 of file php_output.h.
typedef void(* php_output_handler_func_t) (char *output, size_t output_len, char **handled_output, size_t *handled_output_len, int mode) |
Definition at line 106 of file php_output.h.
typedef enum _php_output_handler_hook_t php_output_handler_hook_t |
typedef enum _php_output_handler_status_t php_output_handler_status_t |
typedef struct _php_output_handler_user_func_t php_output_handler_user_func_t |
Definition at line 73 of file php_output.h.
Enumerator | |
---|---|
PHP_OUTPUT_HANDLER_FAILURE | |
PHP_OUTPUT_HANDLER_SUCCESS | |
PHP_OUTPUT_HANDLER_NO_DATA |
Definition at line 49 of file php_output.h.
PHPAPI zend_result php_output_clean | ( | void | ) |
PHPAPI zend_result php_output_discard | ( | void | ) |
PHPAPI zend_result php_output_end | ( | void | ) |
PHPAPI zend_result php_output_flush | ( | void | ) |
PHPAPI php_output_handler * php_output_get_active_handler | ( | void | ) |
PHPAPI zend_result php_output_get_contents | ( | zval * | p | ) |
PHPAPI zend_result php_output_get_length | ( | zval * | p | ) |
PHPAPI php_output_handler_alias_ctor_t php_output_handler_alias | ( | const char * | handler_name, |
size_t | handler_name_len ) |
PHPAPI zend_result php_output_handler_alias_register | ( | const char * | handler_name, |
size_t | handler_name_len, | ||
php_output_handler_alias_ctor_t | func ) |
PHPAPI bool php_output_handler_conflict | ( | const char * | handler_new, |
size_t | handler_new_len, | ||
const char * | handler_set, | ||
size_t | handler_set_len ) |
PHPAPI zend_result php_output_handler_conflict_register | ( | const char * | handler_name, |
size_t | handler_name_len, | ||
php_output_handler_conflict_check_t | check_func ) |
PHPAPI php_output_handler * php_output_handler_create_internal | ( | const char * | name, |
size_t | name_len, | ||
php_output_handler_context_func_t | handler, | ||
size_t | chunk_size, | ||
int | flags ) |
PHPAPI php_output_handler * php_output_handler_create_user | ( | zval * | handler, |
size_t | chunk_size, | ||
int | flags ) |
PHPAPI void php_output_handler_dtor | ( | php_output_handler * | handler | ) |
PHPAPI void php_output_handler_free | ( | php_output_handler ** | handler | ) |
PHPAPI zend_result php_output_handler_hook | ( | php_output_handler_hook_t | type, |
void * | arg ) |
PHPAPI zend_result php_output_handler_reverse_conflict_register | ( | const char * | handler_name, |
size_t | handler_name_len, | ||
php_output_handler_conflict_check_t | check_func ) |
PHPAPI zend_result php_output_handler_start | ( | php_output_handler * | handler | ) |
PHPAPI bool php_output_handler_started | ( | const char * | name, |
size_t | name_len ) |
PHPAPI zend_result php_output_start_default | ( | void | ) |
PHPAPI zend_result php_output_start_devnull | ( | void | ) |
PHPAPI zend_result php_output_start_internal | ( | const char * | name, |
size_t | name_len, | ||
php_output_handler_func_t | output_handler, | ||
size_t | chunk_size, | ||
int | flags ) |
PHPAPI zend_result php_output_start_user | ( | zval * | output_handler, |
size_t | chunk_size, | ||
int | flags ) |
PHPAPI size_t php_output_write | ( | const char * | str, |
size_t | len ) |
PHPAPI size_t php_output_write_unbuffered | ( | const char * | str, |
size_t | len ) |
PHPAPI ZEND_EXTERN_MODULE_GLOBALS | ( | output | ) | const |
php_output_handler* active |
Definition at line 140 of file php_output.h.
int flags |
Definition at line 144 of file php_output.h.
zend_stack handlers |
Definition at line 139 of file php_output.h.
zend_string* output_start_filename |
Definition at line 142 of file php_output.h.
int output_start_lineno |
Definition at line 143 of file php_output.h.
|
extern |
php_output_handler* running |
Definition at line 141 of file php_output.h.