summaryrefslogtreecommitdiff
path: root/output.h
blob: dabb9425c5dd2e6182a0b962fa558c548f92494d (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"

void zend_output_startup();

/* exported output functions */
int (*zend_body_write)(const char *str, uint str_length);		/* string output */
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 */