Back to index

php5  5.3.10
fpm_php.h
Go to the documentation of this file.
00001 
00002        /* $Id: fpm_php.h,v 1.10.2.1 2008/11/15 00:57:24 anight Exp $ */
00003        /* (c) 2007,2008 Andrei Nigmatulin */
00004 
00005 #ifndef FPM_PHP_H
00006 #define FPM_PHP_H 1
00007 
00008 #include <TSRM.h>
00009 
00010 #include "php.h"
00011 #include "build-defs.h" /* for PHP_ defines */
00012 #include "fpm/fpm_conf.h"
00013 
00014 #define FPM_PHP_INI_TO_EXPAND \
00015        { \
00016               "error_log", \
00017               "extension_dir", \
00018               "mime_magic.magicfile", \
00019               "sendmail_path", \
00020               "session.cookie_path", \
00021               "session_pgsql.sem_file_name", \
00022               "soap.wsdl_cache_dir", \
00023               "uploadprogress.file.filename_template", \
00024               "xdebug.output_dir", \
00025               "xdebug.profiler_output_dir", \
00026               "xdebug.trace_output_dir", \
00027               "xmms.path", \
00028               "axis2.client_home", \
00029               "blenc.key_file", \
00030               "coin_acceptor.device", \
00031               NULL \
00032        }
00033 
00034 struct fpm_worker_pool_s;
00035 
00036 int fpm_php_init_child(struct fpm_worker_pool_s *wp);
00037 char *fpm_php_script_filename(TSRMLS_D);
00038 char *fpm_php_request_uri(TSRMLS_D);
00039 char *fpm_php_request_method(TSRMLS_D);
00040 char *fpm_php_query_string(TSRMLS_D);
00041 char *fpm_php_auth_user(TSRMLS_D);
00042 size_t fpm_php_content_length(TSRMLS_D);
00043 void fpm_php_soft_quit();
00044 int fpm_php_init_main();
00045 int fpm_php_apply_defines_ex(struct key_value_s *kv, int mode);
00046 int fpm_php_limit_extensions(char *path);
00047 
00048 #endif
00049