/httpd/modules/dav/main/ |
H A D | util_lock.c | 44 dav_buffer *pbuf) 72 if (pbuf == NULL) 73 pbuf = &work_buf; 76 pbuf->cur_len = 0; 79 dav_check_bufsize(p, pbuf, count * 300); 87 dav_buffer_append(p, pbuf, 95 dav_buffer_append(p, pbuf, "<D:activelock>" DEBUG_CR "<D:locktype>"); 98 dav_buffer_append(p, pbuf, "<D:write/>"); 104 dav_buffer_append(p, pbuf, "</D:locktype>" DEBUG_CR "<D:lockscope>"); 107 dav_buffer_append(p, pbuf, "< 42 dav_lock_get_activelock(request_rec *r, dav_lock *lock, dav_buffer *pbuf) argument [all...] |
H A D | util.c | 104 DAV_DECLARE(void) dav_check_bufsize(apr_pool_t * p, dav_buffer *pbuf, argument 108 if (pbuf->cur_len + extra_needed > pbuf->alloc_len) { 111 pbuf->alloc_len += extra_needed + DAV_BUFFER_PAD; 112 newbuf = apr_palloc(p, pbuf->alloc_len); 113 memcpy(newbuf, pbuf->buf, pbuf->cur_len); 114 pbuf->buf = newbuf; 118 DAV_DECLARE(void) dav_set_bufsize(apr_pool_t * p, dav_buffer *pbuf, argument 127 if (size + DAV_BUFFER_PAD > pbuf 140 dav_buffer_init(apr_pool_t *p, dav_buffer *pbuf, const char *str) argument 148 dav_buffer_append(apr_pool_t *p, dav_buffer *pbuf, const char *str) argument 159 dav_buffer_place(apr_pool_t *p, dav_buffer *pbuf, const char *str) argument 169 dav_buffer_place_mem(apr_pool_t *p, dav_buffer *pbuf, const void *mem, apr_size_t amt, apr_size_t pad) argument 838 dav_validate_resource_state(apr_pool_t *p, const dav_resource *resource, dav_lockdb *lockdb, const dav_if_header *if_header, int flags, dav_buffer *pbuf, request_rec *r) argument [all...] |
H A D | mod_dav.h | 432 DAV_DECLARE(void) dav_set_bufsize(apr_pool_t *p, dav_buffer *pbuf, 436 DAV_DECLARE(void) dav_buffer_init(apr_pool_t *p, dav_buffer *pbuf, 440 DAV_DECLARE(void) dav_check_bufsize(apr_pool_t *p, dav_buffer *pbuf, 444 DAV_DECLARE(void) dav_buffer_append(apr_pool_t *p, dav_buffer *pbuf, 448 DAV_DECLARE(void) dav_buffer_place(apr_pool_t *p, dav_buffer *pbuf, 452 DAV_DECLARE(void) dav_buffer_place_mem(apr_pool_t *p, dav_buffer *pbuf, 1258 dav_buffer *pbuf);
|
/httpd/modules/dav/fs/ |
H A D | lock.c | 94 dav_buffer *pbuf); 746 dav_buffer *pbuf) 754 dav_buffer_init(p, pbuf, dirpath); 756 if (pbuf->buf[pbuf->cur_len - 1] == '/') 757 pbuf->buf[--pbuf->cur_len] = '\0'; 759 dav_buffer_place(p, pbuf, "/" DAV_FS_STATE_DIR "/" DAV_FS_LOCK_NULL_FILE); 762 pbuf->cur_len = 0; 764 if (apr_file_open(&file, pbuf 745 dav_fs_load_locknull_list(apr_pool_t *p, const char *dirpath, dav_buffer *pbuf) argument 809 dav_fs_save_locknull_list(apr_pool_t *p, const char *dirpath, dav_buffer *pbuf) argument 863 dav_fs_remove_locknull_member(apr_pool_t *p, const char *filename, dav_buffer *pbuf) argument 910 dav_fs_get_locknull_members( const dav_resource *resource, dav_buffer *pbuf) argument [all...] |
H A D | repos.h | 50 dav_buffer *pbuf);
|
H A D | repos.c | 333 dav_buffer *pbuf) 341 if (pbuf == NULL) 342 pbuf = &work_buf; 361 dav_set_bufsize(p, pbuf, DAV_FS_COPY_BLOCKSIZE); 383 status = apr_file_read(inf, pbuf->buf, &len); 410 status = apr_file_write_full(outf, pbuf->buf, len, NULL); 479 dav_buffer *pbuf) 536 return dav_fs_copymove_file(is_move, p, src, dst, NULL, NULL, pbuf); 547 return dav_fs_copymove_file(is_move, p, src, dst, NULL, NULL, pbuf); 556 dav_buffer *pbuf) 326 dav_fs_copymove_file( int is_move, apr_pool_t * p, const char *src, const char *dst, const apr_finfo_t *src_finfo, const apr_finfo_t *dst_finfo, dav_buffer *pbuf) argument 474 dav_fs_copymove_state( int is_move, apr_pool_t * p, const char *src_dir, const char *src_file, const char *dst_dir, const char *dst_file, dav_buffer *pbuf) argument 553 dav_fs_copymoveset(int is_move, apr_pool_t *p, const dav_resource *src, const dav_resource *dst, dav_buffer *pbuf) argument [all...] |