Return-Path: Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 75406 invoked from network); 26 Jan 2001 18:55:24 -0000 Received: from adsl-216-103-208-11.dsl.snfc21.pacbell.net (HELO mako.covalent.net) (216.103.208.11) by h31.sny.collab.net with SMTP; 26 Jan 2001 18:55:24 -0000 Received: from localhost (dougm@localhost) by mako.covalent.net (8.11.0/8.11.0) with ESMTP id f0QItQF11086 for ; Fri, 26 Jan 2001 10:55:26 -0800 X-Authentication-Warning: mako.covalent.net: dougm owned process doing -bs Date: Fri, 26 Jan 2001 10:55:26 -0800 (PST) From: Doug MacEachern To: apreq-dev@httpd.apache.org Subject: [patch] $r->parms($parms) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N this allows $r->parms to be set from another Apache::Request object or from a table created by Apache::Table->new i'll commit later, unless anybody sees a problem.. Index: Request/Request.xs =================================================================== RCS file: /home/cvs/httpd-apreq/Request/Request.xs,v retrieving revision 1.8 diff -u -r1.8 Request.xs --- Request/Request.xs 2001/01/10 00:49:46 1.8 +++ Request/Request.xs 2001/01/26 18:51:50 @@ -162,11 +162,18 @@ Apache::Request req void -ApacheRequest_parms(req) +ApacheRequest_parms(req, parms=NULL) Apache::Request req + Apache::Table parms CODE: - ApacheRequest_parse(req); + if (parms) { + req->parms = parms->utable; + req->parsed = 1; + } + else { + ApacheRequest_parse(req); + } ST(0) = mod_perl_tie_table(req->parms); void