Lines Matching refs:rel_path

1050     webdav_xml_href(b, &r->physical.rel_path);  in webdav_xml_doc_multistatus_response()
2468 return webdav_prop_delete_uri(pconf, &dst->rel_path); in webdav_unlinkat()
2486 return webdav_prop_delete_uri(pconf, &dst->rel_path); in webdav_delete_file()
2513 webdav_xml_response_status(r, &dst->rel_path, 403); in webdav_delete_dir()
2520 const uint32_t dst_rel_path_used = dst->rel_path.used; in webdav_delete_dir()
2549 buffer_append_string_len(&dst->rel_path, de->d_name, len); in webdav_delete_dir()
2559 dst->rel_path.ptr[(dst->rel_path.used = dst_rel_path_used)-1]='\0'; in webdav_delete_dir()
2568 buffer_append_char(&dst->rel_path, '/'); in webdav_delete_dir()
2575 webdav_xml_response_status(r, &dst->rel_path, status); in webdav_delete_dir()
2581 dst->rel_path.ptr[(dst->rel_path.used = dst_rel_path_used)-1] = '\0'; in webdav_delete_dir()
2588 rmdir_status = webdav_prop_delete_uri(pconf, &dst->rel_path); in webdav_delete_dir()
2598 webdav_xml_response_status(r, &dst->rel_path, rmdir_status); in webdav_delete_dir()
2948 webdav_prop_move_uri(pconf, &src->rel_path, &dst->rel_path); in webdav_copymove_file()
2956 webdav_prop_copy_uri(pconf, &src->rel_path, &dst->rel_path); in webdav_copymove_file()
2963 webdav_prop_copy_uri(pconf, &src->rel_path, &dst->rel_path); in webdav_copymove_file()
2976 webdav_prop_copy_uri(pconf, &src->rel_path, &dst->rel_path); in webdav_copymove_file()
3014 force_assert(2 <= dst->rel_path.used); in webdav_mkdir()
3032 dst->rel_path.ptr[dst->rel_path.used-2] = '\0'; in webdav_mkdir()
3035 dst->rel_path.ptr[dst->rel_path.used-2] = '/'; in webdav_mkdir()
3106 webdav_xml_response_status(r, &src->rel_path, 412); in webdav_copymove_dir()
3119 webdav_prop_move_uri_col(pconf, &src->rel_path, &dst->rel_path); in webdav_copymove_dir()
3129 webdav_xml_response_status(r, &src->rel_path, 412); in webdav_copymove_dir()
3136 webdav_xml_response_status(r, &src->rel_path, 409); in webdav_copymove_dir()
3154 force_assert(2 <= dst->rel_path.used); in webdav_copymove_dir()
3158 dst->rel_path.ptr[dst->rel_path.used-2] = '\0'; in webdav_copymove_dir()
3161 dst->rel_path.ptr[dst->rel_path.used-2] = '/'; in webdav_copymove_dir()
3163 webdav_xml_response_status(r, &src->rel_path, status); in webdav_copymove_dir()
3168 webdav_prop_move_uri_col(pconf, &src->rel_path, in webdav_copymove_dir()
3169 &dst->rel_path); in webdav_copymove_dir()
3194 webdav_xml_response_status(r, &src->rel_path, status); in webdav_copymove_dir()
3199 webdav_prop_copy_uri(pconf, &src->rel_path, &dst->rel_path); in webdav_copymove_dir()
3206 const uint32_t src_rel_path_used = src->rel_path.used; in webdav_copymove_dir()
3208 const uint32_t dst_rel_path_used = dst->rel_path.used; in webdav_copymove_dir()
3219 webdav_xml_response_status(r, &src->rel_path, 403); in webdav_copymove_dir()
3250 buffer_append_string_len(&src->rel_path, de->d_name, len); in webdav_copymove_dir()
3251 buffer_append_string_len(&dst->rel_path, de->d_name, len); in webdav_copymove_dir()
3260 src->rel_path.ptr[(src->rel_path.used = src_rel_path_used)-1]='\0'; in webdav_copymove_dir()
3262 dst->rel_path.ptr[(dst->rel_path.used = dst_rel_path_used)-1]='\0'; in webdav_copymove_dir()
3272 buffer_append_char(&src->rel_path, '/'); in webdav_copymove_dir()
3273 buffer_append_char(&dst->rel_path, '/'); in webdav_copymove_dir()
3281 webdav_xml_response_status(r, &src->rel_path, status); in webdav_copymove_dir()
3296 src->rel_path.ptr[(src->rel_path.used = src_rel_path_used)-1] = '\0'; in webdav_copymove_dir()
3298 dst->rel_path.ptr[(dst->rel_path.used = dst_rel_path_used)-1] = '\0'; in webdav_copymove_dir()
3311 webdav_xml_response_status(r, &src->rel_path, status); in webdav_copymove_dir()
3598 : 0 == webdav_prop_select_prop(pb->pconf, &pb->dst->rel_path, in webdav_propfind_resource_props()
3622 webdav_prop_select_props(pb->pconf, &pb->dst->rel_path, pb->b_200); in webdav_propfind_resource_props()
3642 webdav_lock_activelocks(pb->pconf, &pb->dst->rel_path, in webdav_propfind_resource_props()
3671 webdav_prop_select_propnames(pb->pconf, &pb->dst->rel_path, pb->b_200); in webdav_propfind_resource_propnames()
3682 webdav_xml_href(b, &pb->dst->rel_path); in webdav_propfind_resource_403()
3724 webdav_xml_href(b, &pb->dst->rel_path); in webdav_propfind_resource()
3767 const uint32_t dst_rel_path_used = dst->rel_path.used; in webdav_propfind_dir()
3786 buffer_append_string_len(&dst->rel_path, de->d_name, len); in webdav_propfind_dir()
3790 dst->rel_path.ptr[(dst->rel_path.used = dst_rel_path_used)-1]='\0'; in webdav_propfind_dir()
3796 buffer_append_char(&dst->rel_path, '/'); in webdav_propfind_dir()
3805 dst->rel_path.ptr[(dst->rel_path.used = dst_rel_path_used)-1] = '\0'; in webdav_propfind_dir()
4142 if (cbdata.used && uri == &r->physical.rel_path) { in webdav_has_lock()
4243 buffer_append_char(&r->physical.rel_path, '/'); in mod_webdav_propfind()
4447 buffer_append_char(&r->physical.rel_path, '/'); in mod_webdav_delete()
4478 webdav_lock_delete_uri_col(pconf, &r->physical.rel_path); in mod_webdav_delete()
4493 webdav_lock_delete_uri(pconf, &r->physical.rel_path); in mod_webdav_delete()
5041 buffer * const dst_rel_path = &dst->rel_path; in mod_webdav_copymove_b()
5162 force_assert(0 != r->physical.rel_path.used); in mod_webdav_copymove_b()
5166 const char * const p1 = r->physical.rel_path.ptr; in mod_webdav_copymove_b()
5171 remain = r->physical.rel_path.used - 1 - i; in mod_webdav_copymove_b()
5176 if (0 == memcmp(r->physical.rel_path.ptr+i, /*(suffix match)*/ in mod_webdav_copymove_b()
5276 webdav_prop_copy_uri(pconf, &r->physical.rel_path, in mod_webdav_copymove_b()
5286 webdav_lock_delete_uri_col(pconf, &r->physical.rel_path); in mod_webdav_copymove_b()
5386 webdav_lock_delete_uri(pconf, &r->physical.rel_path); in mod_webdav_copymove_b()
5403 dst.rel_path = *dst_rel_path; in mod_webdav_copymove()
5406 *dst_rel_path = dst.rel_path; in mod_webdav_copymove()
5452 buffer_append_char(&r->physical.rel_path, '/'); in mod_webdav_proppatch()
5543 webdav_prop_update(pconf, &r->physical.rel_path, in mod_webdav_proppatch()
5550 webdav_prop_delete(pconf, &r->physical.rel_path, in mod_webdav_proppatch()
5662 { r->physical.rel_path.ptr, r->physical.rel_path.used, 0}, /*lockroot*/ in mod_webdav_lock()
5948 { r->physical.rel_path.ptr, r->physical.rel_path.used, 0}, /*lockroot*/ in mod_webdav_unlock()
6073 if (check_lock_src && !webdav_has_lock(r, &pconf, &r->physical.rel_path)) in PHYSICALPATH_FUNC()