summaryrefslogtreecommitdiff
path: root/sapi/fpm/fpm/fpm_env.h
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2010-04-12 11:22:24 +0000
committerAntony Dovgal <tony2001@php.net>2010-04-12 11:22:24 +0000
commit06b9943842eb954025ac83b542e97d6310aa524a (patch)
tree2464969d1bd60c0163494c7d8171e8d56021bb37 /sapi/fpm/fpm/fpm_env.h
parent4290928fb3aa79f0ca20df67153d9656e0e23a57 (diff)
downloadphp-git-06b9943842eb954025ac83b542e97d6310aa524a.tar.gz
add FPM sapi to trunk
Diffstat (limited to 'sapi/fpm/fpm/fpm_env.h')
-rw-r--r--sapi/fpm/fpm/fpm_env.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/sapi/fpm/fpm/fpm_env.h b/sapi/fpm/fpm/fpm_env.h
new file mode 100644
index 0000000000..0f79ed7869
--- /dev/null
+++ b/sapi/fpm/fpm/fpm_env.h
@@ -0,0 +1,24 @@
+
+ /* $Id: fpm_env.h,v 1.9 2008/09/18 23:19:59 anight Exp $ */
+ /* (c) 2007,2008 Andrei Nigmatulin */
+
+#ifndef FPM_ENV_H
+#define FPM_ENV_H 1
+
+#include "fpm_worker_pool.h"
+
+int fpm_env_init_child(struct fpm_worker_pool_s *wp);
+int fpm_env_init_main();
+
+extern char **environ;
+
+#ifndef HAVE_SETENV
+int setenv(char *name, char *value, int overwrite);
+#endif
+
+#ifndef HAVE_CLEARENV
+void clearenv();
+#endif
+
+#endif
+