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

/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);
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.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_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c75 ctx = SG(server_context);
99 ctx = SG(server_context);
146 php_struct *ctx = SG(server_context);
157 php_struct *ctx = SG(server_context);
182 php_struct *ctx = SG(server_context);
207 php_struct *ctx = SG(server_context);
219 php_struct *ctx = SG(server_context);
230 php_struct *ctx = SG(server_context);
251 php_apache_sapi_flush(void *server_context) argument
259 ctx = server_context;
[all...]
/PHP_TRUNK/sapi/apache2handler/
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);
246 php_struct *ctx = SG(server_context);
258 php_struct *ctx = SG(server_context);
273 php_struct *ctx = SG(server_context);
293 php_apache_sapi_flush(void *server_context) argument
298 ctx = server_context;
[all...]
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php7.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_TRUNK/sapi/cgi/
H A Dcgi_main.c316 fcgi_request *request = (fcgi_request*) SG(server_context);
333 static void sapi_cgi_flush(void *server_context) argument
340 static void sapi_fcgi_flush(void *server_context) argument
342 fcgi_request *request = (fcgi_request*) server_context;
544 fcgi_request *request = (fcgi_request*) SG(server_context);
574 fcgi_request *request = (fcgi_request*) SG(server_context);
635 fcgi_request *request = (fcgi_request*) SG(server_context);
673 fcgi_request *request = (fcgi_request*) SG(server_context);
695 fcgi_request *request = (fcgi_request*) SG(server_context);
749 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.c426 client = SG(server_context);
546 php_cli_server_client *client = SG(server_context);
553 static void sapi_cli_server_flush(void *server_context) /* {{{ */ argument
555 php_cli_server_client *client = server_context;
579 php_cli_server_client *client = SG(server_context);
616 php_cli_server_client *client = SG(server_context);
626 php_cli_server_client *client = SG(server_context);
671 php_cli_server_client *client = SG(server_context);
2066 SG(server_context) = NULL;
2115 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
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c281 fcgi_request *request = (fcgi_request*) SG(server_context);
321 static void sapi_cgibin_flush(void *server_context) argument
325 fcgi_request *request = (fcgi_request*) server_context;
510 fcgi_request *request = (fcgi_request*) SG(server_context);
544 fcgi_request *request = (fcgi_request*) SG(server_context);
561 fcgi_request *request = (fcgi_request*) SG(server_context);
596 request = (fcgi_request*) SG(server_context);
657 fcgi_request *request = (fcgi_request*) SG(server_context);
839 !fcgi_finish_request((fcgi_request*)SG(server_context), 0)) {
1520 fcgi_request *request = (fcgi_request*) SG(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/phpdbg/
H A Dphpdbg.c493 static void php_sapi_phpdbg_send_header(sapi_header_struct *sapi_header, void *server_context) /* {{{ */ argument
/PHP_TRUNK/sapi/webjames/
H A Dwebjames.c64 static void sapi_webjames_send_header(sapi_header_struct *sapi_header, void *server_context) argument
318 SG(server_context) = (void *) 1;

Completed in 24 milliseconds