Lines Matching refs:sapi_header
115 SAPI_API void sapi_free_header(sapi_header_struct *sapi_header) in sapi_free_header() argument
117 efree(sapi_header->header); in sapi_free_header()
556 sapi_header_struct sapi_header; in sapi_header_op() local
597 sapi_module.header_handler(&sapi_header, op, &SG(sapi_headers) TSRMLS_CC); in sapi_header_op()
642 sapi_header.header = header_line; in sapi_header_op()
643 sapi_header.header_len = header_line_len; in sapi_header_op()
647 sapi_module.header_handler(&sapi_header, op, &SG(sapi_headers) TSRMLS_CC); in sapi_header_op()
649 sapi_remove_header(&SG(sapi_headers).headers, sapi_header.header, sapi_header.header_len); in sapi_header_op()
650 sapi_free_header(&sapi_header); in sapi_header_op()
693 sapi_header.header = newheader; in sapi_header_op()
694 sapi_header.header_len = newlen - 1; in sapi_header_op()
772 sapi_header.header = newheader; in sapi_header_op()
773 sapi_header.header_len = newlen; in sapi_header_op()
782 …sapi_header.header_len = spprintf(&sapi_header.header, 0, "WWW-Authenticate: Basic realm=\"%ld\"",… in sapi_header_op()
786 if (sapi_header.header==header_line) { in sapi_header_op()
795 retval = sapi_module.header_handler(&sapi_header, op, &SG(sapi_headers) TSRMLS_CC); in sapi_header_op()
802 colon_offset = strchr(sapi_header.header, ':'); in sapi_header_op()
807 … sapi_remove_header(&SG(sapi_headers).headers, sapi_header.header, strlen(sapi_header.header)); in sapi_header_op()
812 zend_llist_add_element(&SG(sapi_headers).headers, (void *) &sapi_header); in sapi_header_op()
814 sapi_free_header(&sapi_header); in sapi_header_op()