Ejemplo n.º 1
0
DAV_DECLARE_NONSTD(int) dav_core_find_liveprop(
    const dav_resource *resource,
    const char *ns_uri, const char *name,
    const dav_hooks_liveprop **hooks)
{
    return dav_do_find_liveprop(ns_uri, name, &dav_core_liveprop_group, hooks);
}
Ejemplo n.º 2
0
/* Find love prop and return its propid */
static int dav_repos_find_liveprop(const dav_resource * resource,
                                   const char *ns_uri, const char *name,
                                   const dav_hooks_liveprop ** hooks)
{
    TRACE();

    return dav_do_find_liveprop(ns_uri, name, &dav_repos_liveprop_group, hooks);
}
Ejemplo n.º 3
0
int
dav_rawx_find_liveprop(const dav_resource *resource, const char *ns_uri, const char *name, const dav_hooks_liveprop **hooks)
{
	/* don't try to find any liveprops if this isn't "our" resource */
	if (resource->hooks != &dav_hooks_repository_rawx)
		return 0;
	return dav_do_find_liveprop(ns_uri, name, &dav_rawx_liveprop_group, hooks);
}