summaryrefslogtreecommitdiff
path: root/sapi/fpm/fpm/fpm_env.h
blob: bf472368da3574c5a8e6b037241f488833c854d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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