CVS update: php31/ext/standard
| From: | zeev | Date: | Fri, 21 Aug 1998 13:48:41 +0000 |
| Subject: | CVS update: php31/ext/standard | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-411@lists.php.net to get a copy of this message | ||
Date: Friday August 21, 1998 @ 9:48
Author: zeev
Update of /repository/php31/ext/standard
In directory asf:/tmp/cvs-serv26336/ext/standard
Modified Files:
info.h
Log Message:
Add the ability to buffer output:
* Removed all puts and putc implementations. Only the PUTC and PUTS macros should be used - they go
through
writeclient.
* Add buffering support
Right now, buffered_output is always turned off, and the buffered content isn't yet sent at
all. The
framework is there though.
Index: php31/ext/standard/info.h
diff -c php31/ext/standard/info.h:2.0 php31/ext/standard/info.h:2.1
*** php31/ext/standard/info.h:2.0 Fri Jul 3 09:14:27 1998
--- php31/ext/standard/info.h Fri Aug 21 09:48:41 1998
***************
*** 27,33 ****
| Zeev Suraski <bourbon@netvision.net.il> |
+----------------------------------------------------------------------+
*/
! /* $Id: info.h,v 2.0 1998/07/03 13:14:27 rasmus Exp $ */
#ifndef _INFO_H
#define _INFO_H
--- 27,33 ----
| Zeev Suraski <bourbon@netvision.net.il> |
+----------------------------------------------------------------------+
*/
! /* $Id: info.h,v 2.1 1998/08/21 13:48:41 zeev Exp $ */
#ifndef _INFO_H
#define _INFO_H
***************
*** 38,52 ****
#define CONTENTS_COLOR "#DDDDDD"
#define HEADER_COLOR "#00DDDD"
! #define PHP3_CONF_STR(directive,value1,value2) \
! PUTS("<tr><td bgcolor=\"" ENTRY_NAME_COLOR "\">"); \
! PUTS(directive); \
PUTS("</td><td bgcolor=\"" CONTENTS_COLOR
"\"> "); \
! if (value1) PUTS(value1); \
! else PUTS("<i>none</i>"); \
! PUTS("</td><td bgcolor=\"" CONTENTS_COLOR
"\"> "); \
! if (value2) PUTS(value2); \
! else PUTS("<i>none</i>"); \
PUTS("</td></tr>\n");
#define PHP3_CONF_LONG(directive,value1,value2) \
--- 38,58 ----
#define CONTENTS_COLOR "#DDDDDD"
#define HEADER_COLOR "#00DDDD"
! #define PHP3_CONF_STR(directive,value1,value2) \
! PUTS("<tr><td bgcolor=\"" ENTRY_NAME_COLOR "\">"); \
! PUTS(directive); \
! PUTS("</td><td bgcolor=\"" CONTENTS_COLOR
"\"> "); \
! if (value1) { \
! PUTS(value1); \
! } else { \
! PUTS("<i>none</i>"); \
! } \
PUTS("</td><td bgcolor=\"" CONTENTS_COLOR
"\"> "); \
! if (value2) { \
! PUTS(value2); \
! } else { \
! PUTS("<i>none</i>"); \
! } \
PUTS("</td></tr>\n");
#define PHP3_CONF_LONG(directive,value1,value2) \
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net