summaryrefslogtreecommitdiffstats
path: root/src/p_lcom_vars.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/p_lcom_vars.h')
-rw-r--r--src/p_lcom_vars.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/p_lcom_vars.h b/src/p_lcom_vars.h
new file mode 100644
index 0000000..d0732ef
--- /dev/null
+++ b/src/p_lcom_vars.h
@@ -0,0 +1,24 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* p_lcom_vars.h :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */
+/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */
+/* */
+/* ************************************************************************** */
+
+#ifndef P_LCOM_VARS_H
+#define P_LCOM_VARS_H
+
+#include <stdint.h>
+
+#include "s_struct.h"
+
+void p_add_to_env_fork(int64_t i, char *words[], t_msh *msh);
+char **p_subst_args(const char word[], int8_t redir);
+char **p_subst_home(char *word[], t_msh *msh);
+
+#endif