Files
42_INT_07_minishell/headers/minishell_structs.h

33 lines
1.1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* minishell_structs.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/08 02:35:52 by lperrey #+# #+# */
/* Updated: 2021/10/19 21:58:02 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef MINISHELL_STRUCTS_H
# define MINISHELL_STRUCTS_H
typedef struct s_all
{
char **envp;
char *prompt_base;
char *prompt;
} t_all;
typedef struct s_cmd
{
char **argv;
pid_t pid;
void *builtin;
int fd_in;
int fd_out;
} t_cmd;
#endif