Searched refs:sapi_header (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/main/
H A DSAPI.h193 SAPI_API void sapi_free_header(sapi_header_struct *sapi_header);
238 int (*header_handler)(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi_headers_struct *sapi_headers);
240 void (*send_header)(sapi_header_struct *sapi_header, void *server_context);
H A DSAPI.c125 SAPI_API void sapi_free_header(sapi_header_struct *sapi_header) argument
127 efree(sapi_header->header);
647 static void sapi_header_add_op(sapi_header_op_enum op, sapi_header_struct *sapi_header) argument
650 (SAPI_HEADER_ADD & sapi_module.header_handler(sapi_header, op, &SG(sapi_headers)))) {
652 char *colon_offset = strchr(sapi_header->header, ':');
658 sapi_remove_header(&SG(sapi_headers).headers, sapi_header->header, (int)strlen(sapi_header->header));
662 zend_llist_add_element(&SG(sapi_headers).headers, (void *) sapi_header);
664 sapi_free_header(sapi_header);
670 sapi_header_struct sapi_header; local
[all...]
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c492 static int php_nsapi_remove_header(sapi_header_struct *sapi_header) argument
498 header_name = pool_strdup(rc->sn->pool, sapi_header->header);
517 static int sapi_nsapi_header_handler(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi_headers_struct *sapi_headers) argument
530 php_nsapi_remove_header(sapi_header);
536 header_name = pool_strdup(rc->sn->pool, sapi_header->header);
/PHP_TRUNK/ext/standard/
H A Dhead.c269 sapi_header_struct *sapi_header = (sapi_header_struct *)data; local
271 if (arg && sapi_header) {
272 add_next_index_string((zval *)arg, (char *)(sapi_header->header));
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c497 static void php_sapi_phpdbg_send_header(sapi_header_struct *sapi_header, void *server_context) /* {{{ */ argument
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c95 php_apache_sapi_header_handler(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi_headers_struct *sapi_headers) argument
104 apr_table_unset(ctx->r->headers_out, sapi_header->header);
113 val = strchr(sapi_header->header, ':');
126 if (!strcasecmp(sapi_header->header, "content-type")) {
131 } else if (!strcasecmp(sapi_header->header, "content-length")) {
142 apr_table_set(ctx->r->headers_out, sapi_header->header, val);
144 apr_table_add(ctx->r->headers_out, sapi_header->header, val);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c414 static void sapi_cli_send_header(sapi_header_struct *sapi_header, void *server_context) /* {{{ */ argument
/PHP_TRUNK/sapi/embed/
H A Dphp_embed.c93 static void php_embed_send_header(sapi_header_struct *sapi_header, void *server_context) argument

Completed in 15 milliseconds