/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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"
static long dav_liveprop_count = 0;
{
dav_liveprop_count = 0;
return APR_SUCCESS;
}
{
long value;
if (dav_liveprop_uris == NULL) {
}
if (value != 0) {
/* already registered */
return;
}
/* start at 1, and count up */
(void *)++dav_liveprop_count);
}
{
}
{
return dav_liveprop_count;
}
{
const void *key;
void *val;
const char *s;
apr_text_append(p, phdr, s);
}
}
const dav_liveprop_group *group,
const dav_hooks_liveprop **hooks)
{
int ns;
/* first: locate the namespace in the namespace table */
break;
/* not our property (the namespace matched none of ours) */
return 0;
}
/* second: look for the property in the liveprop specs */
}
/* not our property (same namespace, but no matching prop name) */
return 0;
}
const dav_liveprop_group *group,
const dav_liveprop_spec **info)
{
/* map the provider-local NS into a global NS index */
}
}
/* assert: should not reach this point */
return 0;
}
const dav_liveprop_group *group)
{
/* register the namespace URIs */
}
}