Home
last modified time | relevance | path

Searched refs:sapi_header (Results 1 – 18 of 18) sorted by relevance

/PHP-5.3/main/
H A DSAPI.c117 efree(sapi_header->header); in sapi_free_header()
556 sapi_header_struct sapi_header; in sapi_header_op() local
642 sapi_header.header = header_line; 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()
772 sapi_header.header = newheader; in sapi_header_op()
773 sapi_header.header_len = newlen; in sapi_header_op()
782sapi_header.header_len = spprintf(&sapi_header.header, 0, "WWW-Authenticate: Basic realm=\"%ld\"",… in sapi_header_op()
807 … sapi_remove_header(&SG(sapi_headers).headers, sapi_header.header, strlen(sapi_header.header)); in sapi_header_op()
[all …]
H A DSAPI.h186 SAPI_API void sapi_free_header(sapi_header_struct *sapi_header);
231 …int (*header_handler)(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi_headers_struct…
233 void (*send_header)(sapi_header_struct *sapi_header, void *server_context TSRMLS_DC);
/PHP-5.3/sapi/pi3web/
H A Dpi3web_sapi.c139 static int sapi_pi3web_header_handler(sapi_header_struct *sapi_header, sapi_headers_struct *sapi_he… in sapi_pi3web_header_handler() argument
145 static void accumulate_header_length(sapi_header_struct *sapi_header, uint *total_length TSRMLS_DC) in accumulate_header_length() argument
147 *total_length += sapi_header->header_len+2; in accumulate_header_length()
151 static void concat_header(sapi_header_struct *sapi_header, char **combined_headers_ptr TSRMLS_DC) in concat_header() argument
153 memcpy(*combined_headers_ptr, sapi_header->header, sapi_header->header_len); in concat_header()
154 *combined_headers_ptr += sapi_header->header_len; in concat_header()
/PHP-5.3/sapi/phttpd/
H A Dphttpd.c70 php_phttpd_sapi_header_handler(sapi_header_struct *sapi_header, sapi_headers_struct *sapi_headers T… in php_phttpd_sapi_header_handler() argument
78 header_name = sapi_header->header; in php_phttpd_sapi_header_handler()
92 sapi_free_header(sapi_header); in php_phttpd_sapi_header_handler()
/PHP-5.3/sapi/webjames/
H A Dwebjames.c64 static void sapi_webjames_send_header(sapi_header_struct *sapi_header, void *server_context TSRMLS_… in sapi_webjames_send_header() argument
67 char *header = sapi_header->header; in sapi_webjames_send_header()
68 int len = sapi_header->header_len; in sapi_webjames_send_header()
70 while (sapi_header && len > 0) { in sapi_webjames_send_header()
/PHP-5.3/ext/standard/
H A Dhead.c261 sapi_header_struct *sapi_header = (sapi_header_struct *)data; in php_head_apply_header_list_to_hash() local
263 if (arg && sapi_header) { in php_head_apply_header_list_to_hash()
264 add_next_index_string((zval *)arg, (char *)(sapi_header->header), 1); in php_head_apply_header_list_to_hash()
/PHP-5.3/sapi/apache2filter/
H A Dsapi_apache2.c94 php_apache_sapi_header_handler(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi_header… in php_apache_sapi_header_handler() argument
105 apr_table_unset(ctx->r->headers_out, sapi_header->header); in php_apache_sapi_header_handler()
114 val = strchr(sapi_header->header, ':'); in php_apache_sapi_header_handler()
117 sapi_free_header(sapi_header); in php_apache_sapi_header_handler()
128 if (!strcasecmp(sapi_header->header, "content-type")) in php_apache_sapi_header_handler()
130 else if (!strcasecmp(sapi_header->header, "content-length")) in php_apache_sapi_header_handler()
133 apr_table_set(ctx->r->headers_out, sapi_header->header, val); in php_apache_sapi_header_handler()
135 apr_table_add(ctx->r->headers_out, sapi_header->header, val); in php_apache_sapi_header_handler()
/PHP-5.3/sapi/apache2handler/
H A Dsapi_apache2.c92 php_apache_sapi_header_handler(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi_header… in php_apache_sapi_header_handler() argument
101 apr_table_unset(ctx->r->headers_out, sapi_header->header); in php_apache_sapi_header_handler()
110 val = strchr(sapi_header->header, ':'); in php_apache_sapi_header_handler()
123 if (!strcasecmp(sapi_header->header, "content-type")) { in php_apache_sapi_header_handler()
128 } else if (!strcasecmp(sapi_header->header, "content-length")) { in php_apache_sapi_header_handler()
139 apr_table_set(ctx->r->headers_out, sapi_header->header, val); in php_apache_sapi_header_handler()
141 apr_table_add(ctx->r->headers_out, sapi_header->header, val); in php_apache_sapi_header_handler()
/PHP-5.3/sapi/isapi/
H A Dphp5isapi.c218 static int sapi_isapi_header_handler(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi_… in sapi_isapi_header_handler() argument
225 static void accumulate_header_length(sapi_header_struct *sapi_header, uint *total_length TSRMLS_DC) in accumulate_header_length() argument
227 *total_length += sapi_header->header_len+2; in accumulate_header_length()
231 static void concat_header(sapi_header_struct *sapi_header, char **combined_headers_ptr TSRMLS_DC) in concat_header() argument
233 memcpy(*combined_headers_ptr, sapi_header->header, sapi_header->header_len); in concat_header()
234 *combined_headers_ptr += sapi_header->header_len; in concat_header()
/PHP-5.3/sapi/continuity/
H A Dcapi.c146 static int sapi_capi_header_handler(sapi_header_struct * sapi_header, sapi_headers_struct * sapi_he… in sapi_capi_header_handler() argument
153 header_name = sapi_header->header; in sapi_capi_header_handler()
167 efree(sapi_header->header); in sapi_capi_header_handler()
/PHP-5.3/sapi/aolserver/
H A Daolserver.c114 php_ns_sapi_header_handler(sapi_header_struct *sapi_header, sapi_headers_struct *sapi_headers TSRML… in php_ns_sapi_header_handler() argument
119 header_name = sapi_header->header; in php_ns_sapi_header_handler()
137 sapi_free_header(sapi_header); in php_ns_sapi_header_handler()
/PHP-5.3/sapi/nsapi/
H A Dnsapi.c495 static int php_nsapi_remove_header(sapi_header_struct *sapi_header TSRMLS_DC) in php_nsapi_remove_header()
501 header_name = pool_strdup(rc->sn->pool, sapi_header->header); in php_nsapi_remove_header()
520 static int sapi_nsapi_header_handler(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi_… in sapi_nsapi_header_handler() argument
533 php_nsapi_remove_header(sapi_header TSRMLS_CC); in sapi_nsapi_header_handler()
539 header_name = pool_strdup(rc->sn->pool, sapi_header->header); in sapi_nsapi_header_handler()
/PHP-5.3/sapi/embed/
H A Dphp_embed.c89 static void php_embed_send_header(sapi_header_struct *sapi_header, void *server_context TSRMLS_DC) in php_embed_send_header() argument
/PHP-5.3/sapi/roxen/
H A Droxen.c326 php_roxen_sapi_header_handler(sapi_header_struct *sapi_header, in php_roxen_sapi_header_handler() argument
330 header_name = sapi_header->header; in php_roxen_sapi_header_handler()
339 sapi_free_header(sapi_header); in php_roxen_sapi_header_handler()
/PHP-5.3/sapi/apache/
H A Dmod_php5.c38 static int sapi_apache_header_handler(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi…
166 static int sapi_apache_header_handler(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi… in sapi_apache_header_handler() argument
180 table_unset(r->headers_out, sapi_header->header); in sapi_apache_header_handler()
185 header_name = sapi_header->header; in sapi_apache_header_handler()
/PHP-5.3/sapi/caudium/
H A Dcaudium.c337 php_caudium_sapi_header_handler(sapi_header_struct *sapi_header, in php_caudium_sapi_header_handler() argument
341 header_name = sapi_header->header; in php_caudium_sapi_header_handler()
350 sapi_free_header(sapi_header); in php_caudium_sapi_header_handler()
/PHP-5.3/sapi/apache_hooks/
H A Dmod_php5.c37 static int sapi_apache_header_handler(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi…
311 static int sapi_apache_header_handler(sapi_header_struct *sapi_header, sapi_header_op_enum op, sapi… in sapi_apache_header_handler() argument
325 table_unset(r->headers_out, sapi_header->header); in sapi_apache_header_handler()
330 header_name = sapi_header->header; in sapi_apache_header_handler()
/PHP-5.3/sapi/cli/
H A Dphp_cli.c391 static void sapi_cli_send_header(sapi_header_struct *sapi_header, void *server_context TSRMLS_DC) /… in sapi_cli_send_header() argument

Completed in 64 milliseconds