apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Implementing apr_hash_do(vdo)
Date Fri, 11 Jul 2008 05:57:55 GMT

Unlike apr_table, apr_hash doesn't have iterator callback API.
IMO this would be very useful function for hash usages where
iterative operation on all table elements is required.
Right now this is done via hash_first, hash_next, hash_this operation,
and thats fine, but IMO apr_table_do like API would lower down
the number of user repetitive code needed to accomplish such
a common task.

Any objections for implementing something like that?


View raw message