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

Function ap_varbuf_init

server/util.c:2959–2969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2957static char * const varbuf_empty = (char *)&nul;
2958
2959AP_DECLARE(void) ap_varbuf_init(apr_pool_t *p, struct ap_varbuf *vb,
2960 apr_size_t init_size)
2961{
2962 vb->buf = varbuf_empty;
2963 vb->avail = 0;
2964 vb->strlen = AP_VARBUF_UNKNOWN;
2965 vb->pool = p;
2966 vb->info = NULL;
2967
2968 ap_varbuf_grow(vb, init_size);
2969}
2970
2971AP_DECLARE(void) ap_varbuf_grow(struct ap_varbuf *vb, apr_size_t new_len)
2972{

Callers 9

groups_for_userFunction · 0.85
dump_contentFunction · 0.85
pstartElementFunction · 0.85
check_filter_initFunction · 0.85
do_pattmatchFunction · 0.85
lua_ivm_setFunction · 0.85
ap_build_cont_configFunction · 0.85
ap_build_configFunction · 0.85
ap_soak_end_containerFunction · 0.85

Calls 1

ap_varbuf_growFunction · 0.85

Tested by

no test coverage detected