httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joachim Zobel <jzo...@heute-morgen.de>
Subject Re: How to increase the size of the apache array manually?
Date Mon, 30 Oct 2006 19:27:25 GMT
Am Montag, den 30.10.2006, 18:42 +0530 schrieb Manish Chakravarty:
> Hi all,
> 
> I am developing a module on Apache 1.3. Can someone please tell me how
> to increase the size of an Apache array manually?
> 
> Do i manually increment the nelts field?

If this works as on 2 you simply have to call apr_array_push. It returns
a pointer to the arry memory that you can use to write the entry. The
array memory is allocated automatically as needed.

Sincerely,
Joachim



Mime
View raw message