summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2006-06-02 19:51:43 +0000
committerMichael Wallner <mike@php.net>2006-06-02 19:51:43 +0000
commit4ce0141713bfc14bfab06aaa9525b7d6a3339438 (patch)
tree8468e9d21dc5c63fdd39bf356ee56cb4d16f0d50 /main/php.h
parent653007cea0bb87ccd39a746c7867eb10d907fd81 (diff)
downloadphp-git-4ce0141713bfc14bfab06aaa9525b7d6a3339438.tar.gz
- new output control code
# scan README.NEW-OUTPUT-API to get a grasp # tree has been tagged with BEFORE_NEW_OUTPUT_API # # TODO: # - improve existing output handlers # - move zlib.output_compression cruft from SAPI.c to zlib.c # - output_encoding handling was ambigious, resp. is undefined yet # - more tests
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/main/php.h b/main/php.h
index 9a543ac53a..a0a475adbd 100644
--- a/main/php.h
+++ b/main/php.h
@@ -373,20 +373,7 @@ END_EXTERN_C()
/* Output support */
#include "main/php_output.h"
-#define PHPWRITE(str, str_len) php_body_write((str), (str_len) TSRMLS_CC)
-#define PUTS(str) do { \
- const char *__str = (str); \
- php_body_write(__str, strlen(__str) TSRMLS_CC); \
-} while (0)
-
-#define PUTC(c) (php_body_write(&(c), 1 TSRMLS_CC), (c))
-#define PHPWRITE_H(str, str_len) php_header_write((str), (str_len) TSRMLS_CC)
-#define PUTS_H(str) do { \
- const char *__str = (str); \
- php_header_write(__str, strlen(__str) TSRMLS_CC); \
-} while (0)
-
-#define PUTC_H(c) (php_header_write(&(c), 1 TSRMLS_CC), (c))
+
#ifdef ZTS
#define VIRTUAL_DIR