📝」 doc: Added doc in .h for parsing and tokenizer

This commit is contained in:
2024-05-19 14:21:03 +02:00
parent 10915c369c
commit c4c8ca8bf1
3 changed files with 120 additions and 3 deletions

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/25 12:20:26 by adjoly #+# #+# */
/* Updated: 2024/05/18 20:50:05 by adjoly ### ########.fr */
/* Updated: 2024/05/19 13:45:01 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -14,8 +14,7 @@
# define PARSING_H
# include "libft.h"
# define HEREDOC_FD -2
# include "tokenizer.h"
typedef struct s_cmd
{
@ -25,7 +24,18 @@ typedef struct s_cmd
int outfile;
} t_cmd;
/**
* @brief Take the argv of a command a split the argv and the command it self
*
* @param The full argv of the command
*
* @return (t_cmd *) cmd and argv splited into a struct
*/
t_cmd *split_cmd(char *cmd_av);
/*
* @deprecated
*/
t_list *split_pipe(char *readline);
#endif