debut du parsing :(
This commit is contained in:
29
minishell.h
Normal file
29
minishell.h
Normal file
@ -0,0 +1,29 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* minishell.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tomoron <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/02/04 17:31:38 by tomoron #+# #+# */
|
||||
/* Updated: 2024/02/06 22:09:30 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef MINISHELL_H
|
||||
# define MINISHELL_H
|
||||
# include <readline/readline.h>
|
||||
# include <readline/history.h>
|
||||
# include <stdio.h>//debug
|
||||
# include "libft/libft.h"
|
||||
|
||||
|
||||
typedef struct s_cmd
|
||||
{
|
||||
char *token;
|
||||
struct s_cmd *next;
|
||||
} t_cmd;
|
||||
|
||||
t_cmd *ft_cmd_add_back(t_cmd *res, char *token);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user