xref: /PHP-5.5/sapi/fpm/fpm/fpm_env.h (revision e3b4bf56)
1 
2 	/* $Id: fpm_env.h,v 1.9 2008/09/18 23:19:59 anight Exp $ */
3 	/* (c) 2007,2008 Andrei Nigmatulin */
4 
5 #ifndef FPM_ENV_H
6 #define FPM_ENV_H 1
7 
8 #include "fpm_worker_pool.h"
9 
10 #define SETPROCTITLE_PREFIX "php-fpm: "
11 
12 int fpm_env_init_child(struct fpm_worker_pool_s *wp);
13 int fpm_env_init_main();
14 void fpm_env_setproctitle(char *title);
15 
16 extern char **environ;
17 
18 #ifndef HAVE_SETENV
19 int setenv(char *name, char *value, int overwrite);
20 #endif
21 
22 #ifndef HAVE_CLEARENV
23 void clearenv();
24 #endif
25 
26 #endif
27 
28