Lines Matching refs:hash
74 svn_config_read_auth_data(apr_hash_t **hash,
83 *hash = NULL;
99 *hash = apr_hash_make(pool);
101 SVN_ERR_W(svn_hash_read2(*hash, stream, SVN_HASH_TERMINATOR, pool),
105 stored_realm = svn_hash_gets(*hash, SVN_CONFIG_REALMSTRING_KEY);
108 *hash = NULL; /* Hash collision, or somebody tampering with storage */
118 svn_config_write_auth_data(apr_hash_t *hash,
133 /* Add the realmstring to the hash, so programs (or users) can
135 ### What if realmstring key is already in the hash? */
136 svn_hash_sets(hash, SVN_CONFIG_REALMSTRING_KEY,
144 SVN_ERR_W(svn_hash_write2(hash, stream, SVN_HASH_TERMINATOR, pool),
145 apr_psprintf(pool, _("Error writing hash to '%s'"),
150 /* To be nice, remove the realmstring from the hash again, just in
151 case the caller wants their hash unchanged.
153 svn_hash_sets(hash, SVN_CONFIG_REALMSTRING_KEY, NULL);