Lines Matching defs:parent
95 #define DAV_INHERIT_VALUE(parent, child, field) \
96 ((child)->field ? (child)->field : (parent)->field)
173 dav_dir_conf *parent = base;
180 newconf->provider_name = DAV_INHERIT_VALUE(parent, child, provider_name);
181 newconf->provider = DAV_INHERIT_VALUE(parent, child, provider);
182 if (parent->provider_name != NULL) {
189 parent->provider_name) != 0) {
192 "than its parent.");
196 newconf->locktimeout = DAV_INHERIT_VALUE(parent, child, locktimeout);
197 newconf->dir = DAV_INHERIT_VALUE(parent, child, dir);
198 newconf->allow_depthinfinity = DAV_INHERIT_VALUE(parent, child,
936 * check the resource *and* its parent. If the resource exists or is
1090 "the resource or its parent collection.",
1106 "parent resources.",
1246 /* if versioned resource, make sure parent is checked out */
1256 /* restore writability of parent back to what it was */
1274 "the parent collection.",
2541 * check the resource *and* its parent. If the resource exists or is
2552 /* if versioned resource, make sure parent is checked out */
2563 /* restore modifiability of parent back to what it was */
2576 "the parent collection.",
2590 "parent resources.",
2769 * We check the parent resource, too, if this is a MOVE. Moving the
2770 * resource effectively removes it from the parent collection, so we
2863 /* ### this is wrong! it blasts direct locks on parent resources */
2868 /* if this is a move, then the source parent collection will be modified */
2904 * make sure the parent collection is writable
2910 * if move, restore state of source parent
2928 * we may try to checkin the parent twice.
2983 "source parent collection.",
2992 "destination or its parent collection.",
3028 dav_resource *parent;
3060 /* Check if parent collection exists */
3061 if ((err = resource->hooks->get_parent_resource(resource, &parent)) != NULL) {
3065 if (parent && (!parent->exists || parent->collection != 1)) {
3068 "The parent resource of %s does not "
3100 * the parent collection (much like a PUT/MKCOL). For that case, we must
3101 * validate the parent resource's conditions.
3269 * the parent collection (much like a delete). For that case, we must
3270 * validate the parent resource's conditions.
3414 /* if in versioned collection, make sure parent is checked out */
3431 /* revert writability of parent directory */
3438 "the parent collection.",
3454 "parent resources.",
4595 /* restore parent collection states */
4616 "source parent collection.",