1 /* (c) 2007,2008 Andrei Nigmatulin */ 2 3 #ifndef FPM_ENV_H 4 #define FPM_ENV_H 1 5 6 #include "fpm_worker_pool.h" 7 8 #define SETPROCTITLE_PREFIX "php-fpm: " 9 10 int fpm_env_init_child(struct fpm_worker_pool_s *wp); 11 int fpm_env_init_main(void); 12 void fpm_env_setproctitle(char *title); 13 14 extern char **environ; 15 16 #ifndef HAVE_SETENV 17 int setenv(char *name, char *value, int overwrite); 18 #endif 19 20 #ifndef HAVE_CLEARENV 21 void clearenv(void); 22 #endif 23 24 #endif 25