Searched defs:server_context (Results 1 - 12 of 12) sorted by relevance

/PHP_5_5/main/
H A DSAPI.h119 void *server_context; member in struct:_sapi_globals_struct
228 void (*flush)(void *server_context);
236 void (*send_header)(sapi_header_struct *sapi_header, void *server_context TSRMLS_DC);
/PHP_5_5/sapi/apache/
H A Dmod_php5.c99 if (SG(server_context)) {
100 ret = rwrite(str, str_length, (request_rec *) SG(server_context));
111 static void sapi_apache_flush(void *server_context) argument
113 if (server_context) {
115 rflush((request_rec *) server_context);
117 bflush((request_rec *) server_context->connection->client);
128 request_rec *r = (request_rec *) SG(server_context);
160 return (char *) table_get(((request_rec *) SG(server_context))->subprocess_env, "HTTP_COOKIE");
169 request_rec *r = (request_rec *) SG(server_context);
223 request_rec *r = SG(server_context);
[all...]
/PHP_5_5/sapi/apache2filter/
H A Dsapi_apache2.c75 ctx = SG(server_context);
100 ctx = SG(server_context);
148 php_struct *ctx = SG(server_context);
160 php_struct *ctx = SG(server_context);
179 php_struct *ctx = SG(server_context);
204 php_struct *ctx = SG(server_context);
216 php_struct *ctx = SG(server_context);
227 php_struct *ctx = SG(server_context);
248 php_apache_sapi_flush(void *server_context) argument
257 ctx = server_context;
[all...]
/PHP_5_5/sapi/apache_hooks/
H A Dmod_php5.c244 if (SG(server_context)) {
245 ret = rwrite(str, str_length, (request_rec *) SG(server_context));
256 static void sapi_apache_flush(void *server_context) argument
258 if (server_context) {
260 rflush((request_rec *) server_context);
262 bflush((request_rec *) server_context->connection->client);
273 request_rec *r = (request_rec *) SG(server_context);
305 return (char *) table_get(((request_rec *) SG(server_context))->subprocess_env, "HTTP_COOKIE");
314 request_rec *r = (request_rec *) SG(server_context);
366 if(SG(server_context)
[all...]
/PHP_5_5/sapi/cgi/
H A Dcgi_main.c311 fcgi_request *request = (fcgi_request*) SG(server_context);
327 static void sapi_cgi_flush(void *server_context) argument
334 static void sapi_fcgi_flush(void *server_context) argument
336 fcgi_request *request = (fcgi_request*) server_context;
526 fcgi_request *request = (fcgi_request*) SG(server_context);
550 fcgi_request *request = (fcgi_request*) SG(server_context);
611 fcgi_request *request = (fcgi_request*) SG(server_context);
655 fcgi_request *request = (fcgi_request*) SG(server_context);
677 fcgi_request *request = (fcgi_request*) SG(server_context);
731 request = (fcgi_request*) SG(server_context);
[all...]
/PHP_5_5/sapi/cli/
H A Dphp_cli.c323 static void sapi_cli_flush(void *server_context) /* {{{ */ argument
410 static void sapi_cli_send_header(sapi_header_struct *sapi_header, void *server_context TSRMLS_DC) /* {{{ */
H A Dphp_cli_server.c493 client = SG(server_context);
615 php_cli_server_client *client = SG(server_context);
622 static void sapi_cli_server_flush(void *server_context) /* {{{ */ argument
624 php_cli_server_client *client = server_context;
649 php_cli_server_client *client = SG(server_context);
686 php_cli_server_client *client = SG(server_context);
696 php_cli_server_client *client = SG(server_context);
741 php_cli_server_client *client = SG(server_context);
2111 SG(server_context) = NULL;
2160 SG(server_context)
[all...]
/PHP_5_5/sapi/embed/
H A Dphp_embed.c82 static void php_embed_flush(void *server_context) argument
89 static void php_embed_send_header(sapi_header_struct *sapi_header, void *server_context TSRMLS_DC)
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_main.c278 fcgi_request *request = (fcgi_request*) SG(server_context);
318 static void sapi_cgibin_flush(void *server_context) argument
322 fcgi_request *request = (fcgi_request*) server_context;
504 fcgi_request *request = (fcgi_request*) SG(server_context);
538 fcgi_request *request = (fcgi_request*) SG(server_context);
555 fcgi_request *request = (fcgi_request*) SG(server_context);
599 request = (fcgi_request*) SG(server_context);
664 fcgi_request *request = (fcgi_request*) SG(server_context);
847 !fcgi_finish_request((fcgi_request*)SG(server_context), 0)) {
1510 fcgi_request *request = (fcgi_request*) SG(server_context);
[all...]
/PHP_5_5/sapi/milter/
H A Dphp_milter.c863 static void sapi_milter_flush(void *server_context) argument
/PHP_5_5/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;
496 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
521 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
571 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
593 nsapi_request_context *rc = (nsapi_request_context *)SG(server_context);
[all...]
/PHP_5_5/sapi/apache2handler/
H A Dsapi_apache2.c81 ctx = SG(server_context);
97 ctx = SG(server_context);
156 php_struct *ctx = SG(server_context);
187 php_struct *ctx = SG(server_context);
218 php_struct *ctx = SG(server_context);
243 php_struct *ctx = SG(server_context);
255 php_struct *ctx = SG(server_context);
270 php_struct *ctx = SG(server_context);
290 php_apache_sapi_flush(void *server_context) argument
296 ctx = server_context;
[all...]

Completed in 23 milliseconds