Lines Matching refs:sapi_header
107 SAPI_API void sapi_free_header(sapi_header_struct *sapi_header) in sapi_free_header() argument
109 efree(sapi_header->header); in sapi_free_header()
640 static void sapi_header_add_op(sapi_header_op_enum op, sapi_header_struct *sapi_header) in sapi_header_add_op() argument
643 (SAPI_HEADER_ADD & sapi_module.header_handler(sapi_header, op, &SG(sapi_headers)))) { in sapi_header_add_op()
645 char *colon_offset = strchr(sapi_header->header, ':'); in sapi_header_add_op()
651 … sapi_remove_header(&SG(sapi_headers).headers, sapi_header->header, strlen(sapi_header->header)); in sapi_header_add_op()
655 zend_llist_add_element(&SG(sapi_headers).headers, (void *) sapi_header); in sapi_header_add_op()
657 sapi_free_header(sapi_header); in sapi_header_add_op()
663 sapi_header_struct sapi_header; in sapi_header_op() local
703 sapi_module.header_handler(&sapi_header, op, &SG(sapi_headers)); in sapi_header_op()
727 sapi_header.header = header_line; in sapi_header_op()
728 sapi_header.header_len = header_line_len; in sapi_header_op()
729 sapi_module.header_handler(&sapi_header, op, &SG(sapi_headers)); in sapi_header_op()
753 sapi_header.header = header_line; in sapi_header_op()
754 sapi_header.header_len = header_line_len; in sapi_header_op()
790 sapi_header.header = newheader; in sapi_header_op()
791 sapi_header.header_len = (uint32_t)(newlen - 1); in sapi_header_op()
825 if (sapi_header.header==header_line) { in sapi_header_op()
833 sapi_header_add_op(op, &sapi_header); in sapi_header_op()