From d7e6e2bd8cb81d47c9e7300937cb08ec35b6c21b Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Mon, 28 May 2018 20:55:23 +0300 Subject: Configuration of environment variables for application processes. --- src/nxt_application.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/nxt_application.h') diff --git a/src/nxt_application.h b/src/nxt_application.h index 1f9a40e6..6ac7fbd3 100644 --- a/src/nxt_application.h +++ b/src/nxt_application.h @@ -9,6 +9,9 @@ #define _NXT_APPLICATION_H_INCLUDED_ +#include + + typedef enum { NXT_APP_PYTHON, NXT_APP_PHP, @@ -65,12 +68,13 @@ typedef struct { struct nxt_common_app_conf_s { - nxt_str_t name; - nxt_str_t type; - nxt_str_t user; - nxt_str_t group; + nxt_str_t name; + nxt_str_t type; + nxt_str_t user; + nxt_str_t group; - char *working_directory; + char *working_directory; + nxt_conf_value_t *environment; union { nxt_python_app_conf_t python; -- cgit