From 06217e697520e5c97393bc06b89fda073efa7ea6 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 1 Sep 2020 16:40:05 +0200 Subject: Update --- src/p_args.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/p_args.h (limited to 'src/p_args.h') diff --git a/src/p_args.h b/src/p_args.h new file mode 100644 index 0000000..162723d --- /dev/null +++ b/src/p_args.h @@ -0,0 +1,20 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* p_args.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_ARGS_H +#define P_ARGS_H + +#include + +char **p_split_args(const char word[], int8_t redir); + +#endif -- cgit v1.2.3 From 757801bea2d236148e061324716425fc0e6aa686 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 3 Sep 2020 19:09:05 +0200 Subject: In progress --- src/p_args.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/p_args.h') diff --git a/src/p_args.h b/src/p_args.h index 162723d..27f5729 100644 --- a/src/p_args.h +++ b/src/p_args.h @@ -15,6 +15,10 @@ #include -char **p_split_args(const char word[], int8_t redir); +uint16_t p_count_args(const char *head, + char *ptr, + uint16_t argc, + size_t start[]); +char **p_split_args(const char word[], int8_t redir); #endif -- cgit v1.2.3 From c75434256658e3009a5c61d02524cb49492bd120 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 5 Sep 2020 18:40:28 +0200 Subject: Clean af --- src/p_args.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/p_args.h') diff --git a/src/p_args.h b/src/p_args.h index 27f5729..899f7ea 100644 --- a/src/p_args.h +++ b/src/p_args.h @@ -15,10 +15,6 @@ #include -uint16_t p_count_args(const char *head, - char *ptr, - uint16_t argc, - size_t start[]); char **p_split_args(const char word[], int8_t redir); #endif -- cgit v1.2.3 From 4543c3ba3222d47780ad3e091cfe6f3098cc2bca Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 6 Sep 2020 21:56:20 +0200 Subject: Stacked --- src/p_args.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/p_args.h') diff --git a/src/p_args.h b/src/p_args.h index 899f7ea..fa61d92 100644 --- a/src/p_args.h +++ b/src/p_args.h @@ -15,6 +15,6 @@ #include -char **p_split_args(const char word[], int8_t redir); +char **p_split_args(char word[], int8_t redir); #endif -- cgit v1.2.3