mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-03-15 03:16:51 +01:00
「✨」 feat(headers): organized header files
This commit is contained in:
23
include/execution.h
Normal file
23
include/execution.h
Normal file
@ -0,0 +1,23 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* execution.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/29 13:20:22 by mmoussou #+# #+# */
|
||||
/* Updated: 2024/04/29 13:21:31 by mmoussou ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef EXECUTION_H
|
||||
# define EXECUTION_H
|
||||
|
||||
typedef struct s_env
|
||||
{
|
||||
char *name;
|
||||
char *content;
|
||||
struct s_env *next;
|
||||
} t_env;
|
||||
|
||||
#endif
|
@ -6,7 +6,7 @@
|
||||
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/26 09:38:51 by mmoussou #+# #+# */
|
||||
/* Updated: 2024/04/29 13:02:46 by mmoussou ### ########.fr */
|
||||
/* Updated: 2024/04/29 13:21:45 by mmoussou ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -14,21 +14,13 @@
|
||||
# define MINISHELL_H
|
||||
|
||||
# include "parsing.h"
|
||||
# include "execution.h"
|
||||
|
||||
# include <readline/readline.h>
|
||||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
# include "libft.h"
|
||||
|
||||
typedef struct s_env
|
||||
{
|
||||
char *name;
|
||||
char *content;
|
||||
struct s_env *next;
|
||||
} t_env;
|
||||
|
||||
//
|
||||
|
||||
char set_env(char **env, const char *name, char *content);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user