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

Function pfs_load

modules/md/md_store_fs.c:482–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482static apr_status_t pfs_load(void *baton, apr_pool_t *p, apr_pool_t *ptemp, va_list ap)
483{
484 md_store_fs_t *s_fs = baton;
485 const char *fpath, *name, *aspect;
486 md_store_vtype_t vtype;
487 md_store_group_t group;
488 void **pvalue;
489 apr_status_t rv;
490
491 group = (md_store_group_t)va_arg(ap, int);
492 name = va_arg(ap, const char *);
493 aspect = va_arg(ap, const char *);
494 vtype = (md_store_vtype_t)va_arg(ap, int);
495 pvalue= va_arg(ap, void **);
496
497 if (MD_OK(fs_get_fname(&fpath, &s_fs->s, group, name, aspect, ptemp))) {
498 rv = fs_fload(pvalue, s_fs, fpath, group, vtype, p, ptemp);
499 }
500 return rv;
501}
502
503static apr_status_t dispatch(md_store_fs_t *s_fs, md_store_fs_ev_t ev, unsigned int group,
504 const char *fname, apr_filetype_e ftype, apr_pool_t *p)

Callers

nothing calls this directly

Calls 2

fs_get_fnameFunction · 0.85
fs_floadFunction · 0.85

Tested by

no test coverage detected