Subversion
Functions
Specialized getter APIs for hashes
Hash table serialization support

Functions

const char * svn_hash__get_cstring (apr_hash_t *hash, const char *key, const char *default_value)
 Find the value of a key in hash, return the value.
svn_boolean_t svn_hash__get_bool (apr_hash_t *hash, const char *key, svn_boolean_t default_value)
 Like svn_hash_get_cstring(), but for boolean values.

Function Documentation

svn_boolean_t svn_hash__get_bool ( apr_hash_t *  hash,
const char *  key,
svn_boolean_t  default_value 
)

Like svn_hash_get_cstring(), but for boolean values.

Parses the value as a boolean value. The recognized representations are 'TRUE'/'FALSE', 'yes'/'no', 'on'/'off', '1'/'0'; case does not matter.

Since:
New in 1.7.
const char* svn_hash__get_cstring ( apr_hash_t *  hash,
const char *  key,
const char *  default_value 
)

Find the value of a key in hash, return the value.

If hash is NULL or if the key cannot be found, the default_value will be returned.

Since:
New in 1.7.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines