From 4dd10e6f4de22446ea84d7b194d2a18cb6e43c6c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 8 Sep 2020 18:50:11 +0200 Subject: Names --- src/p_lblock_next.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/p_lblock_next.h (limited to 'src/p_lblock_next.h') diff --git a/src/p_lblock_next.h b/src/p_lblock_next.h new file mode 100644 index 0000000..8fbbb99 --- /dev/null +++ b/src/p_lblock_next.h @@ -0,0 +1,25 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* p_line_next.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef P_LCOM_NEXT_H +#define P_LCOM_NEXT_H + +#include + +#include "s_struct.h" + +char *p_subst_vars(char word[], t_msh *msh); +char **p_subst_args(const char word[], int8_t redir); +char **p_subst_home(char *word[], t_msh *msh); +char **p_check_args_equals(char *words[], t_msh *msh); + +#endif -- cgit v1.2.3 From d742075e1af0c063ef9677f157263c0d45253f73 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 8 Sep 2020 19:32:40 +0200 Subject: Rework in progress --- src/p_lblock_next.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/p_lblock_next.h') diff --git a/src/p_lblock_next.h b/src/p_lblock_next.h index 8fbbb99..5fa9f45 100644 --- a/src/p_lblock_next.h +++ b/src/p_lblock_next.h @@ -1,7 +1,7 @@ /* ************************************************************************** */ /* */ /* ::: :::::::: */ -/* p_line_next.h :+: :+: :+: */ +/* p_lblock_next.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rbousset +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ -- cgit v1.2.3 From be1403ef70e51442df459b1ef89f547cbc9af4ca Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 11 Sep 2020 19:32:47 +0200 Subject: This shit is killing me --- src/p_lblock_next.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/p_lblock_next.h') diff --git a/src/p_lblock_next.h b/src/p_lblock_next.h index 5fa9f45..916055e 100644 --- a/src/p_lblock_next.h +++ b/src/p_lblock_next.h @@ -17,9 +17,10 @@ #include "s_struct.h" -char *p_subst_vars(char word[], t_msh *msh); +void p_subst_vars(char word[], t_msh *msh); +void p_subst_alias(char word[], t_msh *msh); char **p_subst_args(const char word[], int8_t redir); char **p_subst_home(char *word[], t_msh *msh); -char **p_check_args_equals(char *words[], t_msh *msh); +void p_check_args_equals(char word[], t_msh *msh); #endif -- cgit v1.2.3 From 2a5b43429d411bf5b2a71e32b6a8e11a896786b6 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 11 Sep 2020 19:55:23 +0200 Subject: qwe --- src/p_lblock_next.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/p_lblock_next.h') diff --git a/src/p_lblock_next.h b/src/p_lblock_next.h index 916055e..030be27 100644 --- a/src/p_lblock_next.h +++ b/src/p_lblock_next.h @@ -21,6 +21,6 @@ void p_subst_vars(char word[], t_msh *msh); void p_subst_alias(char word[], t_msh *msh); char **p_subst_args(const char word[], int8_t redir); char **p_subst_home(char *word[], t_msh *msh); -void p_check_args_equals(char word[], t_msh *msh); +char **p_check_args_equals(char *words[], t_msh *msh); #endif -- cgit v1.2.3 From 949f93b57b6411b07eb12110e0db37cdf393db0c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 12 Sep 2020 16:33:02 +0200 Subject: Fuck --- src/p_lblock_next.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/p_lblock_next.h') diff --git a/src/p_lblock_next.h b/src/p_lblock_next.h index 030be27..4ffdfcf 100644 --- a/src/p_lblock_next.h +++ b/src/p_lblock_next.h @@ -13,12 +13,13 @@ #ifndef P_LCOM_NEXT_H #define P_LCOM_NEXT_H +#include #include #include "s_struct.h" void p_subst_vars(char word[], t_msh *msh); -void p_subst_alias(char word[], t_msh *msh); +size_t p_subst_alias(char word[], t_bool reset, t_msh *msh); char **p_subst_args(const char word[], int8_t redir); char **p_subst_home(char *word[], t_msh *msh); char **p_check_args_equals(char *words[], t_msh *msh); -- cgit v1.2.3