MCPcopy Create free account
hub / github.com/apache/httpd / dav_dbm_fetch

Function dav_dbm_fetch

modules/dav/fs/dbm.c:217–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217dav_error * dav_dbm_fetch(dav_db *db, apr_datum_t key, apr_datum_t *pvalue)
218{
219 apr_status_t status;
220
221 if (!key.dptr) {
222 /* no key could be created (namespace not known) => no value */
223 memset(pvalue, 0, sizeof(*pvalue));
224 status = APR_SUCCESS;
225 } else {
226 status = apr_dbm_fetch(db->file, key, pvalue);
227 }
228
229 return dav_fs_dbm_error(db, NULL, status);
230}
231
232dav_error * dav_dbm_store(dav_db *db, apr_datum_t key, apr_datum_t value)
233{

Callers 4

dav_propdb_openFunction · 0.85
dav_propdb_output_valueFunction · 0.85
dav_propdb_get_rollbackFunction · 0.85
dav_fs_load_lock_recordFunction · 0.85

Calls 1

dav_fs_dbm_errorFunction · 0.85

Tested by

no test coverage detected