cvs: php4 /ext/standard user_filters.c

From: Date: Mon, 19 May 2003 18:40:11 +0000
Subject: cvs: php4 /ext/standard user_filters.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-21085@lists.php.net to get a copy of this message
pollita Mon May 19 14:40:11 2003 EDT Modified files: /php4/ext/standard user_filters.c Log: The bucket rewrite was done some time ago... Index: php4/ext/standard/user_filters.c diff -u php4/ext/standard/user_filters.c:1.15 php4/ext/standard/user_filters.c:1.16 --- php4/ext/standard/user_filters.c:1.15 Mon May 19 11:35:06 2003 +++ php4/ext/standard/user_filters.c Mon May 19 14:40:11 2003 @@ -18,28 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: user_filters.c,v 1.15 2003/05/19 15:35:06 derick Exp $ */ - -/* - * TODO: Rewrite for buckets. - * Concept: - * The user defined filter class should implement a method named - * "filter" with the following proto: - * long filter(object brigade_in, object brigade_out, long &consumed, long flags); - * - * brigade_in and brigade_out are overloaded objects that wrap around - * the php_stream_bucket_brigades passed to the underlying filter method. - * The brigades have methods for retrieving the head of the brigade as - * an overloaded bucket object, a method for appending a - * bucket object to the end of the brigade, and a method for creating a new - * bucket at the end of the brigade. - * - * The bucket object has methods to unlink it from it's containing brigade, - * split into two buckets, and retrieve the buffer from a bucket. - * - * This approach means that there doesn't need to be very much magic between - * userspace and the real C interface. - */ +/* $Id: user_filters.c,v 1.16 2003/05/19 18:40:11 pollita Exp $ */ #include "php.h" #include "php_globals.h"

« previous php.cvs (#21085) next »