MCPcopy Create free account
hub / github.com/apache/httpd / dav_buffer_place_mem

Function dav_buffer_place_mem

modules/dav/main/util.c:173–179  ·  view source on GitHub ↗

place some memory on the end of a buffer; do NOT adjust length */

Source from the content-addressed store, hash-verified

171
172/* place some memory on the end of a buffer; do NOT adjust length */
173DAV_DECLARE(void) dav_buffer_place_mem(apr_pool_t *p, dav_buffer *pbuf,
174 const void *mem, apr_size_t amt,
175 apr_size_t pad)
176{
177 dav_check_bufsize(p, pbuf, amt + pad);
178 memcpy(pbuf->buf + pbuf->cur_len, mem, amt);
179}
180
181/*
182** dav_lookup_uri()

Callers 1

dav_fs_walkerFunction · 0.85

Calls 1

dav_check_bufsizeFunction · 0.85

Tested by

no test coverage detected