| 452 | } |
| 453 | |
| 454 | static 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 | |
| 477 | static void dav_output_prop_name(apr_pool_t *pool, |
| 478 | const dav_prop_name *name, |
no test coverage detected