httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-apreq/Request Request.xs
Date Mon, 29 Jan 2001 18:16:49 GMT
dougm       01/01/29 10:16:48

  Modified:    .        Changes
               Request  Request.xs
  Log:
  $r->parms can be set to another Apache::Table instance
  
  Revision  Changes    Path
  1.30      +2 -0      httpd-apreq/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/httpd-apreq/Changes,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- Changes	2001/01/10 00:49:46	1.29
  +++ Changes	2001/01/29 18:16:38	1.30
  @@ -4,6 +4,8 @@
   
   =item 0.32 - ?
   
  +$r->parms can be set to another Apache::Table instance [dougm]
  +
   fix compile errors when PerlIO is used
   [dougm, Randy Kobes <randy@theoryx5.uwinnipeg.ca>]
   
  
  
  
  1.9       +9 -2      httpd-apreq/Request/Request.xs
  
  Index: Request.xs
  ===================================================================
  RCS file: /home/cvs/httpd-apreq/Request/Request.xs,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Request.xs	2001/01/10 00:49:46	1.8
  +++ Request.xs	2001/01/29 18:16:45	1.9
  @@ -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
  
  
  

Mime
View raw message