/* Licensed to the Apache Software Foundation (ASF) under one or more *contributorlicenseagreements.SeetheNOTICEfiledistributedwith *thisworkforadditionalinformationregardingcopyrightownership. *TheASFlicensesthisfiletoYouundertheApacheLicense,Version2.0 *(the"License");youmaynotusethisfileexceptincompliancewith *theLicense.YoumayobtainacopyoftheLicenseat * *http://www.apache.org/licenses/LICENSE-2.0 * *Unlessrequiredbyapplicablelaworagreedtoinwriting,software *distributedundertheLicenseisdistributedonan"ASIS"BASIS, *WITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied. *SeetheLicenseforthespecificlanguagegoverningpermissionsand *limitationsundertheLicense.
*/
#include"apr_pools.h" #include"apr_hash.h" #include"apr_errno.h" #include"apr_strings.h" #include"util_xml.h"/* for apr_text_header */ #include"mod_dav.h"
/* first: locate the namespace in the namespace table */ for (ns = 0; uris[ns] != NULL; ++ns) if (strcmp(ns_uri, uris[ns]) == 0) break; if (uris[ns] == NULL) { /* not our property (the namespace matched none of ours) */ return0;
}
/* second: look for the property in the liveprop specs */ for (scan = group->specs; scan->name != NULL; ++scan) if (ns == scan->ns && strcmp(name, scan->name) == 0) {
*hooks = group->hooks; return scan->propid;
}
/* not our property (same namespace, but no matching prop name) */ return0;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.