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

/PHP_5_3/main/
H A DSAPI.c71 SAPI_API sapi_module_struct sapi_module; variable
77 sapi_module = *sf;
172 if (!sapi_module.default_post_reader) {
175 sapi_module.sapi_error(E_WARNING, "Unsupported content type: '%s'", content_type);
189 if(sapi_module.default_post_reader) {
190 sapi_module.default_post_reader(TSRMLS_C);
208 read_bytes = sapi_module.read_post(SG(request_info).post_data+SG(read_post_bytes), SAPI_POST_BLOCK_SIZE TSRMLS_CC);
324 SG(request_info).cookie_data = sapi_module.read_cookies(TSRMLS_C);
325 if (sapi_module.activate) {
326 sapi_module
[all...]
/PHP_5_3/sapi/aolserver/
H A Daolserver.c62 sapi_module_struct *sapi_module; member in struct:__anon274
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_5_3/sapi/apache/
H A Dmod_php5.c273 if (sapi_module.input_filter(PARSE_SERVER, elts[i].key, &val, val_len, &new_val_len TSRMLS_CC)) {
293 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)) {
301 static int php_apache_startup(sapi_module_struct *sapi_module) argument
303 if (php_module_startup(sapi_module, &apache_module_entry, 1) == FAILURE) {
/PHP_5_3/sapi/apache2filter/
H A Dsapi_apache2.c236 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len TSRMLS_CC)) {
242 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len TSRMLS_CC)) {
320 static int php_apache2_startup(sapi_module_struct *sapi_module) argument
322 if (php_module_startup(sapi_module, &php_apache_module, 1)==FAILURE) {
/PHP_5_3/sapi/apache2handler/
H A Dsapi_apache2.c279 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len TSRMLS_CC)) {
284 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len TSRMLS_CC)) {
347 static int php_apache2_startup(sapi_module_struct *sapi_module) argument
349 if (php_module_startup(sapi_module, &php_apache_module, 1)==FAILURE) {
/PHP_5_3/sapi/apache_hooks/
H A Dmod_php5.c424 static int php_apache_startup(sapi_module_struct *sapi_module) argument
426 if (php_module_startup(sapi_module, &apache_module_entry, 1) == FAILURE) {
/PHP_5_3/sapi/caudium/
H A Dcaudium.c524 static int php_caudium_startup(sapi_module_struct *sapi_module) argument
526 if (php_module_startup(sapi_module, &php_caudium_module, 1)==FAILURE) {
765 sapi_module.startup(&caudium_sapi_module);
781 sapi_module.shutdown(&caudium_sapi_module);
/PHP_5_3/sapi/continuity/
H A Dcapi.c353 static int php_capi_startup(sapi_module_struct *sapi_module);
390 static int php_capi_startup(sapi_module_struct *sapi_module) { argument
391 if(php_module_startup(sapi_module,&continuity_module_entry,1)==FAILURE) {
/PHP_5_3/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_5_3/sapi/isapi/
H A Dphp5isapi.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_5_3/sapi/nsapi/
H A Dnsapi.c799 static int php_nsapi_startup(sapi_module_struct *sapi_module) argument
801 if (php_module_startup(sapi_module, &nsapi_module_entry, 1)==FAILURE) {
/PHP_5_3/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_5_3/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_5_3/sapi/roxen/
H A Droxen.c474 static int php_roxen_startup(sapi_module_struct *sapi_module) argument
476 if(php_module_startup(sapi_module, &php_roxen_module, 1) == FAILURE) {
/PHP_5_3/sapi/thttpd/
H A Dthttpd.c352 static int php_thttpd_startup(sapi_module_struct *sapi_module) argument
355 if (php_module_startup(sapi_module, &php_thttpd_module, 1) == FAILURE) {
357 if (php_module_startup(sapi_module) == FAILURE
/PHP_5_3/sapi/tux/
H A Dphp_tux.c256 static int php_tux_startup(sapi_module_struct *sapi_module) argument
258 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
/PHP_5_3/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_5_3/sapi/cgi/
H A Dcgi_main.c638 if (sapi_module.input_filter(filter_arg, var, val, strlen(*val), &new_val_len TSRMLS_CC)) {
675 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRMLS_CC)) {
682 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRMLS_CC)) {
887 static int php_cgi_startup(sapi_module_struct *sapi_module) argument
889 if (php_module_startup(sapi_module, &cgi_module_entry, 1) == FAILURE) {
1959 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());
1961 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_5_3/sapi/cli/
H A Dphp_cli.c332 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len TSRMLS_CC)) {
335 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len TSRMLS_CC)) {
340 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &script_filename, len, &len TSRMLS_CC)) {
343 if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &script_filename, len, &len TSRMLS_CC)) {
348 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len TSRMLS_CC)) {
396 static int php_cli_startup(sapi_module_struct *sapi_module) /* {{{ */ argument
398 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
830 PHP_VERSION, sapi_module.name, __DATE__, __TIME__,
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_main.c611 if (sapi_module.input_filter(filter_arg, var, val, strlen(*val), &new_val_len TSRMLS_CC)) {
648 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRMLS_CC)) {
655 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len TSRMLS_CC)) {
859 static int php_cgi_startup(sapi_module_struct *sapi_module) argument
861 if (php_module_startup(sapi_module, &cgi_module_entry, 1) == FAILURE) {
1724 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());
1726 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_5_3/sapi/litespeed/
H A Dlsapi_main.c92 static int php_lsapi_startup(sapi_module_struct *sapi_module) argument
94 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
97 argv0 = sapi_module->executable_location;
722 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());
724 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_5_3/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);
1114 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());

Completed in 79 milliseconds