diff --git a/main.c b/main.c deleted file mode 100644 index fce8ab6..0000000 --- a/main.c +++ /dev/null @@ -1,19 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* main.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: apommier +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2022/03/06 13:27:11 by apommier #+# #+# */ -/* Updated: 2022/03/06 13:31:54 by apommier ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#include "minishell.h" - -int main(int ac, char **av, char **path) -{ - printf("---MINISHELL START---\n"); - return (0); -} \ No newline at end of file diff --git a/minishell.h b/minishell.h deleted file mode 100644 index 2fc3ae2..0000000 --- a/minishell.h +++ /dev/null @@ -1,43 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* minishell.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: apommier +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2022/03/06 12:49:28 by apommier #+# #+# */ -/* Updated: 2022/03/06 12:57:24 by apommier ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#ifndef MINISHELL_H -# define MINISHELL_H - -# include - -// Command Data Structure - -// Describes a simple command and arguments -typedef struct s_simple { - int nb_args; - char **args; - char *cmd; -} t_simple_cmd; - -// Describes a complete command with the multiple pipes if any -// and input/output redirection if any. -typedef struct s_command { - int nb_s_cmd; - struct s_simple **simple_cmds; - char *out_file; - char *input_file; - char *err_file; - int background; - struct s_command *current_cmd; - struct s_simple *current_s_cmd; -} t_cmd; - -//main.c -int main(int ac, char **av, char **path); - -#endif \ No newline at end of file