summaryrefslogtreecommitdiffstats
path: root/src/p_lcom_next.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 15:52:47 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 15:52:47 +0200
commit5cb3373a2e5a5109a5d3b72ef45978b98f885706 (patch)
tree11a0a6f467da3ddf227d2eaf6824c4509242025e /src/p_lcom_next.h
parentok nice (diff)
parent$? fix (diff)
download42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.gz
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.bz2
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.xz
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.tar.zst
42-minishell-5cb3373a2e5a5109a5d3b72ef45978b98f885706.zip
Merge branch 'master' into fix-pwd
Diffstat (limited to '')
-rw-r--r--src/p_lcom_next.h (renamed from src/ft_p_lcom.h)16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/ft_p_lcom.h b/src/p_lcom_next.h
index 256fe75..2d0ae98 100644
--- a/src/ft_p_lcom.h
+++ b/src/p_lcom_next.h
@@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* ft_p_lcom.h :+: :+: :+: */
+/* p_lcom_next.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
@@ -10,17 +10,15 @@
/* */
/* ************************************************************************** */
-#ifndef FT_P_LCOM_H
-#define FT_P_LCOM_H
+#ifndef P_LCOM_NEXT_H
+#define P_LCOM_NEXT_H
#include <stdint.h>
-#include "ft_s_struct.h"
+#include "s_struct.h"
-int8_t ft_get_redir(const char word[],
- t_lcom **link);
-int8_t ft_p_lcom(const char line[],
- const uint64_t count,
- t_msh *msh);
+char **p_subst_vars(char *words[], t_msh *msh);
+char **p_subst_args(const char word[], int8_t redir);
+char **p_check_args_equals(char *words[], t_msh *msh);
#endif