mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-05-11 23:18:46 +02:00
「📝」 doc: Added doc in .h for parsing and tokenizer
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user