Back to index

php5  5.3.10
fpm_env.h
Go to the documentation of this file.
00001 
00002        /* $Id: fpm_env.h,v 1.9 2008/09/18 23:19:59 anight Exp $ */
00003        /* (c) 2007,2008 Andrei Nigmatulin */
00004 
00005 #ifndef FPM_ENV_H
00006 #define FPM_ENV_H 1
00007 
00008 #include "fpm_worker_pool.h"
00009 
00010 #define SETPROCTITLE_PREFIX "php-fpm: "
00011 
00012 int fpm_env_init_child(struct fpm_worker_pool_s *wp);
00013 int fpm_env_init_main();
00014 void fpm_env_setproctitle(char *title);
00015 
00016 extern char **environ;
00017 
00018 #ifndef HAVE_SETENV
00019 int setenv(char *name, char *value, int overwrite);
00020 #endif
00021 
00022 #ifndef HAVE_CLEARENV
00023 void clearenv();
00024 #endif
00025 
00026 #endif
00027