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

Function dav_get_liveprop_supported

modules/dav/main/props.c:929–951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

927}
928
929DAV_DECLARE(void) dav_get_liveprop_supported(dav_propdb *propdb,
930 const char *ns_uri,
931 const char *propname,
932 apr_text_header *body)
933{
934 int propid;
935 const dav_hooks_liveprop *hooks;
936
937 propid = dav_find_liveprop_provider(propdb, ns_uri, propname, &hooks);
938
939 if (propid != DAV_PROPID_CORE_UNKNOWN) {
940 if (hooks == NULL) {
941 /* this is a "core" property that we define */
942 dav_prop_insert unused_inserted;
943 dav_insert_coreprop(propdb, propid, propname,
944 DAV_PROP_INSERT_SUPPORTED, body, &unused_inserted);
945 }
946 else {
947 (*hooks->insert_prop)(propdb->resource, propid,
948 DAV_PROP_INSERT_SUPPORTED, body);
949 }
950 }
951}
952
953DAV_DECLARE(dav_liveprop_elem *) dav_get_liveprop_element(const dav_resource *resource)
954{

Callers 1

Calls 2

dav_insert_corepropFunction · 0.85

Tested by

no test coverage detected