Lines Matching refs:sapi_header
113 SAPI_API void sapi_free_header(sapi_header_struct *sapi_header) in sapi_free_header() argument
115 efree(sapi_header->header); in sapi_free_header()
636 static void sapi_header_add_op(sapi_header_op_enum op, sapi_header_struct *sapi_header) in sapi_header_add_op() argument
639 (SAPI_HEADER_ADD & sapi_module.header_handler(sapi_header, op, &SG(sapi_headers)))) { in sapi_header_add_op()
641 char *colon_offset = strchr(sapi_header->header, ':'); in sapi_header_add_op()
647 … sapi_remove_header(&SG(sapi_headers).headers, sapi_header->header, strlen(sapi_header->header)); in sapi_header_add_op()
651 zend_llist_add_element(&SG(sapi_headers).headers, (void *) sapi_header); in sapi_header_add_op()
653 sapi_free_header(sapi_header); in sapi_header_add_op()
659 sapi_header_struct sapi_header; in sapi_header_op() local
699 sapi_module.header_handler(&sapi_header, op, &SG(sapi_headers)); in sapi_header_op()
725 sapi_header.header = header_line; in sapi_header_op()
726 sapi_header.header_len = header_line_len; in sapi_header_op()
727 sapi_module.header_handler(&sapi_header, op, &SG(sapi_headers)); in sapi_header_op()
751 sapi_header.header = header_line; in sapi_header_op()
752 sapi_header.header_len = header_line_len; in sapi_header_op()
795 sapi_header.header = newheader; in sapi_header_op()
796 sapi_header.header_len = (uint32_t)(newlen - 1); in sapi_header_op()
830 if (sapi_header.header==header_line) { in sapi_header_op()
838 sapi_header_add_op(op, &sapi_header); in sapi_header_op()