33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* pipex.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/01/11 15:33:34 by erey-bet #+# #+# */
|
|
/* Updated: 2023/01/12 17:34:59 by erey-bet ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef PIPEX_H
|
|
# define PIPEX_H
|
|
|
|
# include "libft/libft.h"
|
|
# include "get_next_line/get_next_line.h"
|
|
# include <fcntl.h>
|
|
# include <unistd.h>
|
|
|
|
typedef struct s_data
|
|
{
|
|
char *cmd1;
|
|
char *flg1;
|
|
char *cmd2;
|
|
char *flg2;
|
|
char *fl1;
|
|
char *fl2;
|
|
char *ct_fl1;
|
|
} t_data;
|
|
|
|
#endif
|