summaryrefslogtreecommitdiffstats
path: root/src/ft_m_comm.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 18:55:07 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-27 18:55:07 +0200
commit487a66394061f2d14a2fa421302966b5442d643f (patch)
tree34237d4e9cb85f94bcefd46f399d2224dff3f6b3 /src/ft_m_comm.h
parentCorrect shell prompt (diff)
download42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.gz
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.bz2
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.xz
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.tar.zst
42-minishell-487a66394061f2d14a2fa421302966b5442d643f.zip
I couldn't see shit
Diffstat (limited to '')
-rw-r--r--src/p_lcom_next.h (renamed from src/ft_m_comm.h)14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/ft_m_comm.h b/src/p_lcom_next.h
index 5b22f3a..3113b6b 100644
--- a/src/ft_m_comm.h
+++ b/src/p_lcom_next.h
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* ft_m_comm.h :+: :+: :+: */
+/* p_lcom_next.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -10,14 +10,16 @@
/* */
/* ************************************************************************** */
-#ifndef FT_M_COMM_H
-#define FT_M_COMM_H
+#ifndef P_LCOM_NEXT_H
+#define P_LCOM_NEXT_H
#include <stdint.h>
-#include "ft_s_struct.h"
+#include "s_struct.h"
-uint8_t ft_m_comm(const char line[],
- t_msh *msh);
+char **subst_vars(char *words[],
+ t_msh *msh);
+char **subst_args(const char word[],
+ int8_t redir);
#endif