httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garrett Rooney <roo...@electricjellyfish.net>
Subject Re: smtpd_request_rec questions
Date Mon, 15 Aug 2005 00:20:00 GMT
Rian Hunter wrote:

> Ah I didn't even realize the key allocation, I'll fix that. Thanks!
> 
> The reason I don't use an apr_array_t or similar is that I thought  that 
> the number of elements in that type has to be fixed and can't be  
> automatically extended and allocated on the fly, If I'm wrong I can  
> change these structures to use apr_array_t (or you can send in a  patch 
> if you like).

APR arrays are variable length, you use apr_array_push and apr_array_pop 
to add and remove entries.  I'll throw together the patch sometime today.

-garrett

Mime
View raw message