Lines Matching refs:hctx
74 handler_ctx *hctx = ck_calloc(1, sizeof(*hctx)); in handler_ctx_init() local
75 hctx->errh = errh; in handler_ctx_init()
76 hctx->timefmt = &p->timefmt; in handler_ctx_init()
77 hctx->stat_fn = &p->stat_fn; in handler_ctx_init()
78 hctx->ssi_vars = p->ssi_vars; in handler_ctx_init()
79 hctx->ssi_cgi_env = p->ssi_cgi_env; in handler_ctx_init()
80 memcpy(&hctx->conf, &p->conf, sizeof(plugin_config)); in handler_ctx_init()
81 return hctx; in handler_ctx_init()
84 static void handler_ctx_free(handler_ctx *hctx) { in handler_ctx_free() argument
85 chunkqueue_reset(&hctx->wq); in handler_ctx_free()
86 free(hctx); in handler_ctx_free()
1640 handler_ctx *hctx = r->plugin_ctx[p->id]; in SUBREQUEST_FUNC() local
1641 if (NULL == hctx) return HANDLER_GO_ON; in SUBREQUEST_FUNC()
1650 if (mod_ssi_handle_request(r, hctx)) { in SUBREQUEST_FUNC()
1661 handler_ctx *hctx = r->plugin_ctx[p->id]; in mod_ssi_handle_request_reset() local
1662 if (hctx) { in mod_ssi_handle_request_reset()
1663 handler_ctx_free(hctx); in mod_ssi_handle_request_reset()