diff options
Diffstat (limited to 'sapi/fpm/fpm/fpm_env.h')
-rw-r--r-- | sapi/fpm/fpm/fpm_env.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sapi/fpm/fpm/fpm_env.h b/sapi/fpm/fpm/fpm_env.h new file mode 100644 index 0000000..bf47236 --- /dev/null +++ b/sapi/fpm/fpm/fpm_env.h @@ -0,0 +1,27 @@ + + /* $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" + +#define SETPROCTITLE_PREFIX "php-fpm: " + +int fpm_env_init_child(struct fpm_worker_pool_s *wp); +int fpm_env_init_main(); +void fpm_env_setproctitle(char *title); + +extern char **environ; + +#ifndef HAVE_SETENV +int setenv(char *name, char *value, int overwrite); +#endif + +#ifndef HAVE_CLEARENV +void clearenv(); +#endif + +#endif + |