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

Function dav_insert_liveprop

modules/dav/main/props.c:454–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454static dav_error * dav_insert_liveprop(dav_propdb *propdb,
455 const apr_xml_elem *elem,
456 dav_prop_insert what,
457 apr_text_header *phdr,
458 dav_prop_insert *inserted)
459{
460 dav_elem_private *priv = elem->priv;
461
462 *inserted = DAV_PROP_INSERT_NOTDEF;
463
464 if (priv->provider == NULL) {
465 /* this is a "core" property that we define */
466 return dav_insert_coreprop(propdb, priv->propid, elem->name,
467 what, phdr, inserted);
468 }
469
470 /* ask the provider (that defined this prop) to insert the prop */
471 *inserted = (*priv->provider->insert_prop)(propdb->resource, priv->propid,
472 what, phdr);
473
474 return NULL;
475}
476
477static void dav_output_prop_name(apr_pool_t *pool,
478 const dav_prop_name *name,

Callers 1

dav_get_propsFunction · 0.85

Calls 1

dav_insert_corepropFunction · 0.85

Tested by

no test coverage detected