aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-07-15 18:33:37 +0200
committerCharles <sircharlesaze@gmail.com>2020-07-15 18:33:37 +0200
commitbcc627a31a6652550be179d1602aae9ccd8db596 (patch)
treefe574ea5f0c693e2898e1f517a3b98e0d730fe4c /include
parent9c9e5ac17efca1cc22fd8cf69fb75a1e4701efe7 (diff)
downloadminishell-bcc627a31a6652550be179d1602aae9ccd8db596.tar.gz
minishell-bcc627a31a6652550be179d1602aae9ccd8db596.tar.bz2
minishell-bcc627a31a6652550be179d1602aae9ccd8db596.zip
Added cmd local/exported environment variable (WIP, still a few edge cases)
Diffstat (limited to 'include')
-rw-r--r--include/eval.h3
-rw-r--r--include/minishell.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/eval.h b/include/eval.h
index 261e1a2..88142cd 100644
--- a/include/eval.h
+++ b/include/eval.h
@@ -6,7 +6,7 @@
/* By: charles <charles@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/01 17:05:30 by charles #+# #+# */
-/* Updated: 2020/07/14 09:35:17 by charles ### ########.fr */
+/* Updated: 2020/07/15 17:03:05 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -35,6 +35,7 @@ typedef struct
char *exec_path;
char **argv;
t_env env;
+ t_env env_local;
t_builtin_entry *builtin;
} t_fork_param_cmd;
diff --git a/include/minishell.h b/include/minishell.h
index de6e923..d2bc9e7 100644
--- a/include/minishell.h
+++ b/include/minishell.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/26 15:33:51 by cacharle #+# #+# */
-/* Updated: 2020/07/15 13:11:38 by charles ### ########.fr */
+/* Updated: 2020/07/15 17:00:03 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -151,5 +151,6 @@ int utils_directory_iter(
size_t utils_var_end(char *name);
bool utils_valid_identifier(char *name);
+bool utils_start_with_valid_identifier(char *name);
#endif