summaryrefslogtreecommitdiff
path: root/output.h
blob: b7523d645d9c6d9e2cf7a1ddf6173e1475c7a546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _OUTPUT_BUFFER
#define _OUTPUT_BUFFER

#include "php.h"

PHPAPI void zend_output_startup();

/* exported output functions */
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 */
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 */