Searched refs:server_context (Results 1 - 13 of 13) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_log.c236 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format));
H A Dfpm_main.c283 fcgi_request *request = (fcgi_request*) SG(server_context);
323 static void sapi_cgibin_flush(void *server_context) argument
327 fcgi_request *request = (fcgi_request*) server_context;
462 fcgi_request *request = (fcgi_request*) SG(server_context);
496 fcgi_request *request = (fcgi_request*) SG(server_context);
513 fcgi_request *request = (fcgi_request*) SG(server_context);
548 request = (fcgi_request*) SG(server_context);
609 fcgi_request *request = (fcgi_request*) SG(server_context);
795 !fcgi_finish_request((fcgi_request*)SG(server_context), 0)) {
1465 fcgi_request *request = (fcgi_request*) SG(server_context);
[all...]
/PHP_TRUNK/main/
H A DSAPI.h122 void *server_context; member in struct:_sapi_globals_struct
232 void (*flush)(void *server_context);
240 void (*send_header)(sapi_header_struct *sapi_header, void *server_context);
H A DSAPI.c424 if (SG(server_context)) {
470 if (SG(server_context)) {
508 } else if (SG(server_context)) {
556 SG(server_context) = NULL;
903 sapi_module.send_header(&http_status_line, SG(server_context));
905 zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_t) sapi_module.send_header, SG(server_context));
910 sapi_module.send_header(&default_header, SG(server_context));
913 sapi_module.send_header(NULL, SG(server_context));
994 sapi_module.flush(SG(server_context));
1071 if (sapi_module.get_request_time && SG(server_context)) {
[all...]
/PHP_TRUNK/sapi/apache2handler/
H A Dphp_functions.c61 php_struct *ctx = SG(server_context);
185 ctx = SG(server_context);
209 ctx = SG(server_context);
232 ctx = SG(server_context);
266 ctx = SG(server_context);
302 ctx = SG(server_context);
373 server_rec *serv = ((php_struct *) SG(server_context))->r->server;
441 const apr_array_header_t *arr = apr_table_elts(((php_struct *) SG(server_context))->r->subprocess_env);
459 php_info_print_table_row(2, "HTTP Request", ((php_struct *) SG(server_context))->r->the_request);
461 arr = apr_table_elts(((php_struct *) SG(server_context))
[all...]
H A Dsapi_apache2.c84 ctx = SG(server_context);
100 ctx = SG(server_context);
159 php_struct *ctx = SG(server_context);
190 php_struct *ctx = SG(server_context);
221 php_struct *ctx = SG(server_context);
251 php_struct *ctx = SG(server_context);
263 php_struct *ctx = SG(server_context);
278 php_struct *ctx = SG(server_context);
298 php_apache_sapi_flush(void *server_context) argument
303 ctx = server_context;
[all...]
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c337 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
406 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
430 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
456 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
470 static void sapi_nsapi_flush(void *server_context) argument
472 nsapi_request_context *rc = (nsapi_request_context *)server_context;
495 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
520 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
570 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
592 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
[all...]
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c158 static void sapi_lsapi_flush( void * server_context )
633 /* avoid server_context==NULL checks */
634 SG(server_context) = (void *) 1;
768 SG(server_context) = (void *) 1;
/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/cgi/
H A Dcgi_main.c317 fcgi_request *request = (fcgi_request*) SG(server_context);
334 static void sapi_cgi_flush(void *server_context) argument
341 static void sapi_fcgi_flush(void *server_context) argument
343 fcgi_request *request = (fcgi_request*) server_context;
495 fcgi_request *request = (fcgi_request*) SG(server_context);
525 fcgi_request *request = (fcgi_request*) SG(server_context);
586 fcgi_request *request = (fcgi_request*) SG(server_context);
624 fcgi_request *request = (fcgi_request*) SG(server_context);
646 fcgi_request *request = (fcgi_request*) SG(server_context);
700 request = (fcgi_request*) SG(server_context);
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c327 static void sapi_cli_flush(void *server_context) /* {{{ */ argument
414 static void sapi_cli_send_header(sapi_header_struct *sapi_header, void *server_context) /* {{{ */ argument
H A Dphp_cli_server.c376 client = SG(server_context);
493 php_cli_server_client *client = SG(server_context);
500 static void sapi_cli_server_flush(void *server_context) /* {{{ */ argument
502 php_cli_server_client *client = server_context;
526 php_cli_server_client *client = SG(server_context);
563 php_cli_server_client *client = SG(server_context);
573 php_cli_server_client *client = SG(server_context);
623 php_cli_server_client *client = SG(server_context);
2018 SG(server_context) = NULL;
2067 SG(server_context)
[all...]
/PHP_TRUNK/sapi/embed/
H A Dphp_embed.c86 static void php_embed_flush(void *server_context) argument
93 static void php_embed_send_header(sapi_header_struct *sapi_header, void *server_context) argument

Completed in 85 milliseconds