48 lines
1.1 KiB
C
48 lines
1.1 KiB
C
/* (c) 2007,2008 Andrei Nigmatulin */
|
|
|
|
#ifndef FPM_PHP_H
|
|
#define FPM_PHP_H 1
|
|
|
|
#include <TSRM.h>
|
|
|
|
#include "php.h"
|
|
#include "build-defs.h" /* for PHP_ defines */
|
|
#include "fpm/fpm_conf.h"
|
|
|
|
#define FPM_PHP_INI_TO_EXPAND \
|
|
{ \
|
|
"error_log", \
|
|
"extension_dir", \
|
|
"mime_magic.magicfile", \
|
|
"sendmail_path", \
|
|
"session.cookie_path", \
|
|
"session_pgsql.sem_file_name", \
|
|
"soap.wsdl_cache_dir", \
|
|
"uploadprogress.file.filename_template", \
|
|
"xdebug.output_dir", \
|
|
"xdebug.profiler_output_dir", \
|
|
"xdebug.trace_output_dir", \
|
|
"xmms.path", \
|
|
"axis2.client_home", \
|
|
"blenc.key_file", \
|
|
"coin_acceptor.device", \
|
|
NULL \
|
|
}
|
|
|
|
struct fpm_worker_pool_s;
|
|
|
|
int fpm_php_init_child(struct fpm_worker_pool_s *wp);
|
|
char *fpm_php_script_filename(void);
|
|
char *fpm_php_request_uri(void);
|
|
char *fpm_php_request_method(void);
|
|
char *fpm_php_query_string(void);
|
|
char *fpm_php_auth_user(void);
|
|
size_t fpm_php_content_length(void);
|
|
void fpm_php_soft_quit(void);
|
|
int fpm_php_init_main(void);
|
|
int fpm_php_apply_defines_ex(struct key_value_s *kv, int mode);
|
|
int fpm_php_limit_extensions(char *path);
|
|
char* fpm_php_get_string_from_table(zend_string *table, char *key);
|
|
|
|
#endif
|