Subversion
|
Functions | |
svn_error_t * | svn_hash_keys (apr_array_header_t **array, apr_hash_t *hash, apr_pool_t *pool) |
Return the keys to hash in *array. | |
svn_error_t * | svn_hash_from_cstring_keys (apr_hash_t **hash, const apr_array_header_t *keys, apr_pool_t *pool) |
Set *hash to a new hash whose keys come from the items in keys (an array of const char * items), and whose values are match their corresponding key. | |
svn_error_t * | svn_hash__clear (apr_hash_t *hash, apr_pool_t *pool) |
Clear any key/value pairs in the hash table. |
svn_error_t* svn_hash__clear | ( | apr_hash_t * | hash, |
apr_pool_t * | pool | ||
) |
Clear any key/value pairs in the hash table.
A wrapper for a apr_hash_clear(), which isn't available until APR 1.3.0.
svn_error_t* svn_hash_from_cstring_keys | ( | apr_hash_t ** | hash, |
const apr_array_header_t * | keys, | ||
apr_pool_t * | pool | ||
) |
Set *hash to a new hash whose keys come from the items in keys (an array of const char *
items), and whose values are match their corresponding key.
Use pool for all allocations (including *hash, its keys, and its values).
svn_error_t* svn_hash_keys | ( | apr_array_header_t ** | array, |
apr_hash_t * | hash, | ||
apr_pool_t * | pool | ||
) |
Return the keys to hash in *array.
The keys are assumed to be (const char *). The keys are in no particular order.
*array itself is allocated in pool; however, the keys are not copied from the hash.