apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyrum K. Wright" <hyrum_wri...@mail.utexas.edu>
Subject [PATCH] apr_hash_this_{key,klen,val}
Date Tue, 09 Mar 2010 16:19:55 GMT
In using the apr_hash datastructure in Subversion, we've found that we
often only want the key or value from a hash.  Furthermore, casting
the various return parameters has proven cumbersome.  To solve this
problem, we've introduced three helper functions to return the key,
key length, and value from a hash iterator.

We've found these functions quite useful, so I'm including a patch to
add them to APR proper.  The patch is against trunk, but if possible,
I'd like to see these APIs backported to 1.4.x and 1.5.x.

Thanks,
-Hyrum

Mime
View raw message