Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 74973 invoked from network); 9 Jan 2005 14:17:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Jan 2005 14:17:34 -0000 Received: (qmail 87687 invoked by uid 500); 9 Jan 2005 14:17:34 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 87577 invoked by uid 500); 9 Jan 2005 14:17:33 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 87561 invoked by uid 99); 9 Jan 2005 14:17:33 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of gcaa-apreq-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from main.gmane.org (HELO main.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 09 Jan 2005 06:17:30 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Cndsk-0003St-00 for ; Sun, 09 Jan 2005 15:17:26 +0100 Received: from adsl-3-10-33.mia.bellsouth.net ([65.3.10.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Jan 2005 15:17:26 +0100 Received: from joe+gmane by adsl-3-10-33.mia.bellsouth.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Jan 2005 15:17:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: apreq-dev@httpd.apache.org To: apreq-dev@httpd.apache.org From: Joe Schaefer Subject: Re: [PATCH] first snapshot of my "let's kill void*env" patch Date: Sun, 09 Jan 2005 09:17:21 -0500 Lines: 28 Message-ID: <873bxa7klq.fsf@gemini.sunstarsys.com> References: <20050107094434.GA28129@roonstrasse.net> <874qhta7dr.fsf@gemini.sunstarsys.com> <20050108205516.GA12181@roonstrasse.net> <87llb37f4j.fsf@gemini.sunstarsys.com> <878y736w6c.fsf@gemini.sunstarsys.com> <20050109101429.GA14059@roonstrasse.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-3-10-33.mia.bellsouth.net Mail-Copies-To: never User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:9Pj51nyKdnDJP9a2rvo5D//yuy8= Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Max Kellermann writes: > On 2005/01/09 05:52, Joe Schaefer wrote: >> The only obvious boo-boo I see in the patch (still haven't tested it >> yet) is that httpd.h appears in src/apreq_apache2.h. The src/ dir >> must remain apr-only, but I think that file could go in env/. > > You were going around including httpd.h until now by casting > request_rec* to void* ... Yes, but we are also going around casting apr_pool_t* to void* when running withing a CGI environment. Whatever we put in src/ cannot depend on httpd's API at all. > I wasn't sure where to put that new include file. It belongs to > mod_apreq.c; programs which don't use mod_apreq.c will not include > apreq_apache2.h. That can work. I do like the concept, so I encourage you to keep working on it. Once you get this detail sorted out and have all the t/ tests and env/t tests passing, post it again and we'll kick it around some more. But we do want to lock down the API real soon and start prepping for a stable release, so don't make us wait too long ;-). -- Joe Schaefer