Searched defs:sapi_module (Results 1 - 22 of 22) sorted by relevance

/PHP_TRUNK/sapi/aolserver/
H A Daolserver.c62 sapi_module_struct *sapi_module; member in struct:__anon315
281 php_ns_startup(sapi_module_struct *sapi_module) argument
283 if (php_module_startup(sapi_module, &php_aolserver_module, 1) == FAILURE) {
581 ctx->sapi_module->shutdown(ctx->sapi_module);
603 sapi_module.startup(&aolserver_sapi_module);
610 ctx->sapi_module = &aolserver_sapi_module;
/PHP_TRUNK/sapi/continuity/
H A Dcapi.c352 static int php_capi_startup(sapi_module_struct *sapi_module);
389 static int php_capi_startup(sapi_module_struct *sapi_module) { argument
390 if(php_module_startup(sapi_module,&continuity_module_entry,1)==FAILURE) {
/PHP_TRUNK/sapi/embed/
H A Dphp_embed.c103 static int php_embed_startup(sapi_module_struct *sapi_module) argument
105 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c603 if (var && sapi_module.input_filter(filter_arg, var->val, &val, strlen(val), &new_val_len TSRMLS_CC)) {
637 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRMLS_CC)) {
644 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRMLS_CC)) {
847 static int php_cgi_startup(sapi_module_struct *sapi_module) argument
849 if (php_module_startup(sapi_module, &cgi_module_entry, 1) == FAILURE) {
1740 php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2014 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
1742 php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2014 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
/PHP_TRUNK/sapi/milter/
H A Dphp_milter.c887 static int php_milter_startup(sapi_module_struct *sapi_module) argument
889 if (php_module_startup(sapi_module, &php_milter_module, 1) == FAILURE) {
1037 sapi_module.startup(&milter_sapi_module);
1112 php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2014 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
/PHP_TRUNK/sapi/phttpd/
H A Dphttpd.c44 php_phttpd_startup(sapi_module_struct *sapi_module) argument
48 if (php_module_startup(sapi_module, NULL, 0)) {
/PHP_TRUNK/sapi/webjames/
H A Dwebjames.c269 static int php_webjames_startup(sapi_module_struct *sapi_module) argument
271 if(php_module_startup(sapi_module, &php_webjames_module, 1) == FAILURE) {
278 static sapi_module_struct sapi_module = { variable
319 sapi_startup(&sapi_module);
320 sapi_module.startup(&sapi_module);
328 sapi_module.shutdown(&sapi_module);
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.c273 if (sapi_module.input_filter(PARSE_SERVER, elts[i].key, &val, val_len, &new_val_len TSRMLS_CC)) {
290 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &((request_rec *) SG(server_context))->uri, strlen(((request_rec *) SG(server_context))->uri), &new_val_len TSRMLS_CC)) {
298 static int php_apache_startup(sapi_module_struct *sapi_module) argument
300 if (php_module_startup(sapi_module, &apache_module_entry, 1) == FAILURE) {
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php7.c421 static int php_apache_startup(sapi_module_struct *sapi_module) argument
423 if (php_module_startup(sapi_module, &apache_module_entry, 1) == FAILURE) {
/PHP_TRUNK/sapi/caudium/
H A Dcaudium.c523 static int php_caudium_startup(sapi_module_struct *sapi_module) argument
525 if (php_module_startup(sapi_module, &php_caudium_module, 1)==FAILURE) {
764 sapi_module.startup(&caudium_sapi_module);
780 sapi_module.shutdown(&caudium_sapi_module);
/PHP_TRUNK/sapi/isapi/
H A Dphp7isapi.c316 static int php_isapi_startup(sapi_module_struct *sapi_module) argument
318 if (php_module_startup(sapi_module, &php_isapi_module, 1)==FAILURE) {
949 isapi_sapi_module.startup(&sapi_module);
959 isapi_sapi_module.shutdown(&sapi_module);
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c793 static int php_nsapi_startup(sapi_module_struct *sapi_module) argument
795 if (php_module_startup(sapi_module, &nsapi_module_entry, 1)==FAILURE) {
/PHP_TRUNK/sapi/pi3web/
H A Dpi3web_sapi.c202 static int php_pi3web_startup(sapi_module_struct *sapi_module) argument
204 if (php_module_startup(sapi_module, &php_pi3web_module, 1)==FAILURE) {
/PHP_TRUNK/sapi/roxen/
H A Droxen.c473 static int php_roxen_startup(sapi_module_struct *sapi_module) argument
475 if(php_module_startup(sapi_module, &php_roxen_module, 1) == FAILURE) {
/PHP_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c239 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len TSRMLS_CC)) {
245 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len TSRMLS_CC)) {
321 static int php_apache2_startup(sapi_module_struct *sapi_module) argument
323 if (php_module_startup(sapi_module, &php_apache_module, 1)==FAILURE) {
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c279 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), (size_t *)&new_val_len TSRMLS_CC)) {
284 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), (size_t *)&new_val_len TSRMLS_CC)) {
345 static int php_apache2_startup(sapi_module_struct *sapi_module) argument
347 if (php_module_startup(sapi_module, &php_apache_module, 1)==FAILURE) {
/PHP_TRUNK/sapi/tux/
H A Dphp_tux.c252 static int php_tux_startup(sapi_module_struct *sapi_module) argument
254 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c91 static int php_lsapi_startup(sapi_module_struct *sapi_module) argument
93 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
96 argv0 = sapi_module->executable_location;
207 if (sapi_module.input_filter(filter_arg, (char *)pKey, &new_val, valLen, &new_val_len TSRMLS_CC)) {
795 php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2014 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
797 php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2014 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c632 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len TSRMLS_CC)) {
715 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRMLS_CC)) {
724 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRMLS_CC)) {
937 static int php_cgi_startup(sapi_module_struct *sapi_module) argument
939 if (php_module_startup(sapi_module, &cgi_module_entry, 1) == FAILURE) {
2236 php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2014 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
2238 php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2014 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c351 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len TSRMLS_CC)) {
354 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len TSRMLS_CC)) {
359 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &script_filename, len, &len TSRMLS_CC)) {
362 if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &script_filename, len, &len TSRMLS_CC)) {
367 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len TSRMLS_CC)) {
415 static int php_cli_startup(sapi_module_struct *sapi_module) /* {{{ */ argument
417 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
1197 sapi_module_struct *sapi_module = &cli_sapi_module; local
1292 sapi_module = &cli_server_sapi_module;
1301 sapi_module
[all...]
H A Dphp_cli_server.c534 static int sapi_cli_server_startup(sapi_module_struct *sapi_module) /* {{{ */ argument
536 if (php_module_startup(sapi_module, &cli_server_module_entry, 1) == FAILURE) {
639 if (sapi_module.input_filter(PARSE_SERVER, (char*)key, &new_val, strlen(val), &new_val_len TSRMLS_CC)) {
1223 if (sapi_module.log_message) {
1224 sapi_module.log_message(buf TSRMLS_CC);
2144 send_header_func = sapi_module.send_headers;
2148 sapi_module.send_headers = sapi_cli_server_discard_headers;
2150 sapi_module.send_headers = send_header_func;
2551 sapi_module.phpinfo_as_text = 0;
/PHP_TRUNK/main/
H A DSAPI.c78 SAPI_API sapi_module_struct sapi_module; variable
88 sapi_module = *sf;
225 if (!sapi_module.default_post_reader) {
228 sapi_module.sapi_error(E_WARNING, "Unsupported content type: '%s'", content_type);
242 if(sapi_module.default_post_reader) {
243 sapi_module.default_post_reader(TSRMLS_C);
251 if (!sapi_module.read_post) {
255 read_bytes = (int)sapi_module.read_post(buffer, buflen TSRMLS_CC);
280 if (sapi_module.read_post) {
426 SG(request_info).cookie_data = sapi_module
[all...]

Completed in 39 milliseconds