30 lines
1.2 KiB
C
30 lines
1.2 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* 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
|