1999-04-07 21:05:13 +00:00
|
|
|
#ifndef _OUTPUT_BUFFER
|
|
|
|
#define _OUTPUT_BUFFER
|
|
|
|
|
|
|
|
#include "php.h"
|
|
|
|
|
1999-04-26 14:00:49 +00:00
|
|
|
PHPAPI void zend_output_startup();
|
1999-04-07 21:05:13 +00:00
|
|
|
|
|
|
|
/* exported output functions */
|
1999-05-05 21:05:44 +00:00
|
|
|
PHPAPI int (*zend_body_write)(const char *str, uint str_length); /* string output */
|
|
|
|
PHPAPI int (*zend_header_write)(const char *str, uint str_length); /* unbuffer string output */
|
1999-04-07 21:05:13 +00:00
|
|
|
void zend_start_ob_buffering();
|
|
|
|
void zend_end_ob_buffering(int send_buffer);
|
|
|
|
int zend_ob_get_buffer(pval *p);
|
|
|
|
|
|
|
|
/* HEAD support */
|
|
|
|
void set_header_request(int value);
|
|
|
|
|
|
|
|
#endif /* _OUTPUT_BUFFER */
|