/usr/src/packages/BUILD/apr-1.3.8/include/apr_hash.h

 int sum_values(apr_pool_t *p, apr_hash_t *ht)
 {
     apr_hash_index_t *hi;
     void *val;
     int sum = 0;
     for (hi = apr_hash_first(p, ht); hi; hi = apr_hash_next(hi)) {
         apr_hash_this(hi, NULL, NULL, &val);
         sum += *(int *)val;
     }
     return sum;
 }
 


Generated on Mon Apr 15 15:37:16 2013 for Apache Portable Runtime by  doxygen 1.4.6