httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manish Chakravarty" <manishch...@gmail.com>
Subject How to increase the size of the apache array manually?
Date Mon, 30 Oct 2006 13:12:12 GMT
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?

According to the book "Writing perl modules with apache and C", array
modules are accessed as follows:

((char **)arr->elts[index] = "whatever"

Does this mean, that to append an element at the end of the array, we use:

arr->nelts++

((char **)arr->elts[index +1] = " some text';

Help will be great appreciated.


-- 
Warm Regards,
Manish Chakravarty
----
Consultant Software Developer
PH: +919886702500
http://manishchaks.net
---

Mime
View raw message